Skip to content
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

Drop support for IE 6-8 according to the death of jQuery Compat 3.0 #10

6 tasks done
flowersinthesand opened this issue Mar 7, 2016 · 2 comments
6 tasks done


Copy link

flowersinthesand commented Mar 7, 2016

Cettia JavaScript Client's browser support policy has been the same with the one of jQuery 1.x, and the one of jQuery Compat 3.0 was supposed to replace the one of jQuery 1.x. However, as jQuery team announces the death of jQuery Compat, now the browser support of jQuery 3.0 should be used so we don't need to support IE 6-8. (FYI, I thought it's a waste of time to try to support browsers where jQuery doesn't work)

The following fallback can be dropped:

  • util.createXMLHttpRequest for XMLHttpRequest
  • util.parseJSON and util.stringifyJSON for JSON
  • createHttpLongpollJsonpTransport for script.onreadystatechange
  • head for document.head
  • util.isArray for Array.isArray
  • Specific fallbacks for IE 6

Unfortunately, IE 9's XMLHttpRequest is not capable of cross origin operation so there will be no changes in transport factory.

@flowersinthesand flowersinthesand added this to the 1.0.0-Beta1 milestone Mar 7, 2016
flowersinthesand added a commit that referenced this issue Mar 12, 2016
Copy link
Member Author

flowersinthesand commented Mar 12, 2016

FYI, a64edb9 reduced the size of cettia.js a lot.


Original Size: 11.03KB gzipped (41.82KB uncompressed)
Compiled Size: 5.18KB gzipped (14.27KB uncompressed)


Original Size: 9.81KB gzipped (37.53KB uncompressed)
Compiled Size: 4.43KB gzipped (12.31KB uncompressed)

Copy link
Member Author

flowersinthesand commented Mar 13, 2016

Now ECMAScript 5 can be used safely.

@flowersinthesand flowersinthesand self-assigned this Feb 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

1 participant