GithubHelp home page GithubHelp logo

Comments (7)

jbt avatar jbt commented on June 18, 2024

Good idea. I have to admit, I genuinely have no idea what the browser support is like, other than that it works pretty well in the latest chrome/firefox/safari/IE. I'll need to do some more testing to see what would break in older versions. Off the top of my head I think anything with decent ES5 support should work fine. How far back in IE versions are you interested in?

from mdedit.

Henni avatar Henni commented on June 18, 2024

The project I'm using mdEdit in currently still supports IE8. (https://github.com/owncloud/notes)
But I would say dropping support for IE8 or even IE9 is fine.
BTW IE8 doesn't support ES5.

EDIT: i asked because of #15 where classList would be useful, but isn't supported by IE9 (http://caniuse.com/#feat=classlist)

from mdedit.

jbt avatar jbt commented on June 18, 2024

I've been looking through and (without actually testing in IE8) these are some of the things I can see that would currently break in older browsers:

  • addEventListener (easy to add attachEvent)
  • Array.map / forEach (easy polyfill)
  • Function.bind (easy polyfill)
  • clipboardData (for paste event. I'm sure this can be worked around)

I don't think there's any reason why not to support IE8 in terms of functionality. The only thing that could potentially hold it back would be performance, and the only way to know that is to try it out.

from mdedit.

Henni avatar Henni commented on June 18, 2024

Another reason to not support IE8 is code complexity. Maintaining and contributing to the project might get more complicated and some contributors might even be scared off b all the polyfills.
IE8 support is dropped by Microsoft in January 2016

from mdedit.

jbt avatar jbt commented on June 18, 2024

Yeah on reflection I'm thinking it wouldn't be a good idea to put a load of polyfills in there. Prism uses Array.map internally anyway. Realistically I think this is looking like "any browsers with decent ES5 support". So that'd be IE9+ and all the most recent of the other browsers. I'll stick something in the README.

from mdedit.

jbt avatar jbt commented on June 18, 2024

Right, sorry it took so long (been super-busy with other stuff for last couple of weeks), but there we go, now should support IE9+ perfectly fine, and added note to that effect into readme.

from mdedit.

Henni avatar Henni commented on June 18, 2024

Awesome!

from mdedit.

Related Issues (19)

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.