Giter VIP home page Giter VIP logo

Comments (5)

sparty02 avatar sparty02 commented on May 18, 2024

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.

jamiebuilds avatar jamiebuilds commented on May 18, 2024

jQuery needs to be downgraded as well.

from website.

sparty02 avatar sparty02 commented on May 18, 2024

@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.

jamiebuilds avatar jamiebuilds commented on May 18, 2024

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.

sebmck avatar sebmck commented on May 18, 2024

IE8 sucks eggs.

from website.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.