Page MenuHomePhorge

D25704.1739715353.diff
No OneTemporary

D25704.1739715353.diff

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);
};

File Metadata

Mime Type
text/plain
Expires
Sun, Feb 16, 14:15 (1 w, 3 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1174559
Default Alt Text
D25704.1739715353.diff (592 B)

Event Timeline