Comments (5)
Items to address
- JS
- Consider lodash and/or ES5 shims
- Downgrade jQuery (to pre 1.9 or 1.9+ w/ jQuery-migrate)
- CSS
- Bootstrap recomends Respond.js for IE8 (media query polyfill)
- SVG
- This might be a little trickier (the 6to5 logo is in SVG)
- @font-face
from website.
jQuery needs to be downgraded as well.
from website.
@thejameskyle The caveats docs currently say the following, which makes me wonder how much effort we should put into IE8 support. I get the impression from the wording that the expectation is more or less to polyfill up to ES5 and watch out for un-workaroundable (prolly not a word) cases like Object.defineProperty. Thoughts?
ES5
Since 6to5 assumes that your code will be ran in an ES5 environment it uses ES5
functions. So if you're using an environment that has limited or no support for
ES5 such as lower versions of IE then using the
es5-shim along with the
6to5 polyfill will add support for these methods.
Internet Explorer
Classes (10 and below)
If you're inheriting from a class then static properties are inherited from it
via proto,
this is widely supported but you may run into problems with much older browsers.
NOTE: __proto__
is not supported on IE <= 10 so static properties
will not be inherited. See the
protoToAssign for a possible work around.
Getters/setters (8 and below)
In IE8 Object.defineProperty
can only be used on DOM objects. This is
unfortunate as it's required to set getters and setters. Due to this if
you plan on supporting IE8 or below then the usage of getters and setters
isn't recommended.
Reference: MDN.
from website.
There isn't a whole lot to do in order to add IE8 support, it's also the one place online that is guaranteed to have up to date version of 6to5 to use the REPL with for testing. I think it's worth doing.
from website.
IE8 sucks eggs.
from website.
Related Issues (20)
- Consider replacing the word „blacklisting” HOT 3
- Dead anchor link at https://babeljs.io/docs/en/options#ineffective-browserslist-queries HOT 2
- Wrong file mention HOT 1
- Unable to use decorators in repl HOT 2
- "Built-ins" throws on REPL HOT 5
- [Bug]: Documentation for Rails is for Rails 6, but Rails is on Rails 7 HOT 7
- doc index page, jsx example has syntax error HOT 2
- https://babeljs.io/versions is out of date HOT 1
- The repl ("Try it out") feature on the website could really use a reset button HOT 1
- Configure redirects from `/en/` to `/` HOT 2
- Broken links HOT 7
- Website HOT 1
- [Bug]: Need to improve documentation for babel-plugin-proposal-decorators HOT 2
- How to get in touch regarding a security concern HOT 3
- REPL confusingly lists deprecated stage-x presets, stage-2 selected by default HOT 3
- REPL: cannot specify rhino as a target HOT 1
- JSX DEV transform is undocumented HOT 2
- [Bug]: "Get browser-compatible JavaScript out" Scrollbar Not working HOT 4
- The section in the docs on Polyfills is unclear HOT 1
- The content of the plugin development document should be merged into the current repository HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from website.