Comments (11)
It doesn’t because then it would have to be a polyfill for the Fetch API, and it doesn’t quite follow it to the letter (mainly the object that is passed to the promise is different). Also, I’m not sure if the Fetch API is quite ready yet, at least with an XHR object there is a way to abort the request, which is still not possible with the Fetch API.
As a little historical background, $.fetch()
evolved from the XHR helper I’ve been using for years. It just so happened that it was very similar to the Fetch API, but it was never intended as a polyfill for it. In any case, when the Fetch API is ready $.fetch()
will likely become deprecated and then removed, unless it still offers some kind of syntactical convenience over it. But I won’t keep it around as a mere wrapper of the native API (or a polyfill), as that would be against the spirit of Bliss (which promotes polyfills over wrappers if the native API has decent usability).
from bliss.
That said, there’s no browser support table, because browser support depends a lot on choice of polyfills, if any. If all needed functionality is polyfilled, it should definitely work in at least IE9. If it doesn’t, I’d consider it a bug.
from bliss.
This sounds like a won't fix. Any objections.
from bliss.
Not exactly a wontfix. I wouldn't be opposed at all to an interactive browser support table, where one would check polyfills and it would update automatically! :D
But I’m not going to do it, as it's not a priority. If anyone thinks it's cool though, I will merge it and style it (i.e. whoever does it shouldn't worry about styling) :)
from bliss.
Any takers? I'll leave it open for awhile to see if we get any bites, and if not, will close it out.
from bliss.
So if I understood it correctly everything from IE9 is / should be supported?
from bliss.
With polyfills, yes.
from bliss.
Probably too much work to maintain something like this, but since Bliss promotes polyfills over wrappers, it could be super helpful if a browser support table was included next to each method in the docs, and a polyfill for supporting said method was suggested.
from bliss.
I'm not hearing a consensus on what people would like. I'm going to close this ticket out, but if anyone has a PR in the future addressing this problem, we'll be more than happy to take a look at it.
from bliss.
from bliss.
@kurtextrem - You're more than welcome to, feel free to make a PR.
from bliss.
Related Issues (20)
- Handling upload events in $.fetch() via options HOT 3
- Revise default content-type in $.fetch() HOT 3
- Fetch: Support object literal serialization (as JSON) HOT 9
- NPM package missing minified versions HOT 3
- Files for CDN hosting (cdnjs) HOT 6
- Comment: moving to 'modern' libraries and using the same '_' name HOT 2
- Displaying the implementation in the doc is broken for anything using overload HOT 1
- Non-shy bliss fails in electron
- Memory leak bug in unbind method HOT 1
- Npm package doesn't work, bad code HOT 7
- Rewrite to ESM HOT 1
- TypeError: Cannot read property 'handleEvent' of null HOT 3
- TypeError: evt.target.closest is not a function HOT 1
- Error when a class defined via $.Class() extends an ES6 class HOT 2
- Suggested API for Bliss 2.0 - attributes and class
- Suggested API for Bliss Shy 2.0 - $._ and $$._ HOT 1
- Event Hijack is against "Heavenly JavaScript!" - Bliss Full vs Bliss Shy HOT 1
- [Docs] Table of contents not showing HOT 2
- dataset handling HOT 1
- v2 non-esm version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bliss.