index.js
function getElements(node, attr) {
  return Array.prototype.slice.call(node.querySelectorAll("[" + attr + "]"));
}
function getElements(node, attr) {
  return Array.prototype.slice.call(node.querySelectorAll("[" + attr + "]"));
}
function getElements ( node , attr ) { return Array . prototype . slice . call ( node . querySelectorAll ( "[" + attr + "]" ) ) ; }
getElements
Return an array of elements, or an empty array;
@param  {Element} node - an element to scope the query to
@param  {String} attr
@return {Array}
getElements Return an array of elements or an empty array ;