-
-
Notifications
You must be signed in to change notification settings - Fork 893
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[IE8] Array.prototype.slice.call(NodeList) fails #408
Comments
I believe this is caused by #99. |
On MSDN they fix this by testing
and then use a hand written slice instead of native call. I don't think it's the |
any update on this? |
No update just yet; I'd like to fix it but haven't had the time to do so. A PR to fix this would be quite welcome. |
TBH, I just went maintenance mode today and went through all issues I've opened/left behind: this was one of them. I believe the PR would be something like: try {
array_slice.call(document.documentElement.childNodes);
} catch(o_O) {
array_slice = function () {
for (var r = [], i = this.length; i--; r[i] = this[i]);
return r.slice.apply(r, arguments);
};
} 'cause I couldn't care less about IE8 performance ... but I also have no time for an official PR and tests here, sorry about that |
no interest in this |
I still have interest in it. |
OK, I am not going to do anything about it, hence I'd like to remove this ticket from my list of Github issues |
do you mind opening another issue so this disappears from my list of issues? thanks |
Literally what the subject says:
This code fails in IE8.
The debugger points at these lines:
es5-shim/es5-shim.js
Lines 271 to 276 in 922bfc2
live test page that fails in IE8:
http://webreflection.github.io/document-register-element/test/examples/ie8.html
The text was updated successfully, but these errors were encountered: