Rewrite Goals
Opened this issue · 1 comments
paltman commented
I want to rewrite this library with the following goals in mind:
- drop requirement on using jQuery (I think all the DOM manipulation can be handled with a little discipline referencing this guide
- drop
$.ajax
wrapper aroundXMLHttpRequest
for nativefetch
API which is supported everywhere except IE 11 and Opera mini - drop polyfills (don't think they are needed at all right now)
- switch to Jasmine and Karma for testing
- rewrite in a way that is more testable. the current method of everything in nested anonymous functions makes things near impossible.
paltman commented
Some sources show a fairly high level of IE 11 usage. So we might need a polyfill of some sort for fetch.