-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Remove IE8 plugin #992
Remove IE8 plugin #992
Conversation
I've just spent more than 3 hours, trying to get Prism to work in IE8 with the ie8 plugin. I had some minor success, but I had to make substantial changes to Then an unfixable issue cropped up. IE8 removes newline characters with |
I'd just like to say that there is a difference between deleting the IE8 plugin (that has never worked and was not officially public) and triggering errors in IE8. I think @LeaVerou was in favor of not triggering errors in IE8, even if Prism would not work. But maybe she changed her mind? I personally do agree we should drop support for IE8 entirely and stop caring about triggering errors on this browser, though. |
Well I tested it, and we are triggering lots of errors in IE8 right now. We would have to make substantial changes to if (document.documentMode < 9)
return null; |
I may have overstated my case in the previous post. These things cause errors in You cannot slice DOM elements. We would have to use a bit more code to get the current script: [].slice.call(document.getElementsByTagName("script")).pop();
Object.defineProperty(obj, '__id', { value: ++uniqueId }); But there are numerous other things wrong with the plugins. The |
You're right. And we already removed some of the IE8 checks in the past... |
Prism was released in 2012, when IE8 mattered more. In 2016, to hell with IE8. Also, indeed the plugin never worked. It was an abandoned WIP which I gave up on when I discovered the same newline issue. Feel free to remove it, as it's kind of misleading. |
Merged! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank You!
Remove IE8 plugin and drop IE8 support