lib/utils/elements.spec-helper.js
function createElement(nodeName) {
  var elem = document.createElement(nodeName);
  elem.className = [].join.call(arguments, ' ');
  return elem;
}
function createElement(nodeName) {
  var elem = document.createElement(nodeName);
  elem.className = [].join.call(arguments, ' ');
  return elem;
}
function createElement ( nodeName ) { var elem = document . createElement ( nodeName ) ; elem . className = [ ] . join . call ( arguments , ' ' ) ; return elem ; }
Creates element with given nodeName and className.
Creates element with given nodeName and className .