diff --git a/webroot/rsrc/externals/javelin/core/util.js b/webroot/rsrc/externals/javelin/core/util.js --- a/webroot/rsrc/externals/javelin/core/util.js +++ b/webroot/rsrc/externals/javelin/core/util.js @@ -45,13 +45,7 @@ * @return Array Actual array. */ JX.$A = function(object) { - // IE8 throws "JScript object expected" when trying to call - // Array.prototype.slice on a NodeList, so just copy items one by one here. - var r = []; - for (var ii = 0; ii < object.length; ii++) { - r.push(object[ii]); - } - return r; + return Array.prototype.slice.call(object); };