Description
Any reason for DOM.get not being like
get: function (arg) {
if (isUndef(arg))
if (arguments.length > 1) {
var e = [];
for (var i = 0; i < arguments.length; i++) { e.push(get(arguments[i])); }
return e;
} else if (typeof arg === 'string') { return document.getElementById(arg); } else { return arg; }
instead of
get: function (arg) {
if (isUndef(arg)) { return null; }
if (arguments.length > 1) {
var e = [];
for (var i = 0; i < arguments.length; i++)
return e;
} else if (typeof arg === 'string')
else
{ return arg; }?