Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2991893
D25704.1740198708.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
592 B
Referenced Files
None
Subscribers
None
D25704.1740198708.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 22, 04:31 (1 d, 18 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1174559
Default Alt Text
D25704.1740198708.diff (592 B)
Attached To
Mode
D25704: Remove janky array copying workaround for IE8
Attached
Detach File
Event Timeline
Log In to Comment