Re:The Future of JQuery UI and JQuery Mobile
by collinmanderson on Thursday December 21, 2017 @05:16PM
(#15983357)
It's a very recent addition. IE11 doesn't have it for sure.
Re:The Future of JQuery UI and JQuery Mobile
by no_gravity on Thursday December 21, 2017 @05:18PM
(#15983367)
Not in Edge though.
Re:The Future of JQuery UI and JQuery Mobile
by hawkice on Thursday December 21, 2017 @05:24PM
(#15983409)
The page I linked has a compatibility chart that says Edge 16 has it (no idea if that's a planned release, haven't ever used Edge).
Re:The Future of JQuery UI and JQuery Mobile
by darepublic on Thursday December 21, 2017 @06:18PM
(#15983819)
You can use Array.prototype.forEach.call(nodelist, fn), or Arrays.from(nodelist).forEach
Re:The Future of JQuery UI and JQuery Mobile
by panzi on Thursday December 21, 2017 @11:24PM
(#15985267)
I don't use Windows so I can't test it, but would this work as a polyfill?
NodeList.prototype.forEach = Array.prototype.forEach;
In Chrome this even returns true: NodeList.prototype.forEach === Array.prototype.forEach
https://developer.mozilla.org/en-US/docs/Web/API/NodeList/fo...