Closed fr3fou closed 5 years ago
hiya!
I noticed that in some places of the code, such as
https://github.com/briano1905/typings/blob/ccadb7420d8ed1ac07ff5c41ba547d2b648d3a9b/main.js#L254-L266
you use an XMLHttpRequest, whereas in other places, such as
XMLHttpRequest
https://github.com/briano1905/typings/blob/ccadb7420d8ed1ac07ff5c41ba547d2b648d3a9b/main.js#L268-L282
you use fetch. Any reason why? If you'd like I could quickly fix it up and make them both use fetch :>
fetch
There are absolutely no reason for that. I'm just being inconsistent for no reason. And you can change it to fetch if you'd like
Fixed in #24
hiya!
I noticed that in some places of the code, such as
https://github.com/briano1905/typings/blob/ccadb7420d8ed1ac07ff5c41ba547d2b648d3a9b/main.js#L254-L266
you use an
XMLHttpRequest
, whereas in other places, such ashttps://github.com/briano1905/typings/blob/ccadb7420d8ed1ac07ff5c41ba547d2b648d3a9b/main.js#L268-L282
you use
fetch
. Any reason why? If you'd like I could quickly fix it up and make them both usefetch
:>