3 ms·
The point is to take APIs that don't and wrap them with said classes, not to provide an alternative.
by izym 10y ago
The point is to take APIs that don't and wrap them with said classes, not to provide an alternative.
- pythonistah 10y agoWhat percentage of browsers in use implement Proxy and Promise classes? 40 percent?
- JonathonW 10y agoPer Can I Use [1], promises are in 74% of browsers (only current major browser not supporting them is IE11) and proxies are in 57% of browsers. Promise is pretty easily polyfilled for older browsers; proxies are more problematic and I don't know whether or not any of the existing proxy polyfills will work with Allora. [1] http://caniuse.com/ http://caniuse.com/
- pythonistah 10y agoThe data behind their world wide browser stats is questionable. - their combined IE and Edge market share totals to only 8%. On https://www.netmarketshare.com https://www.netmarketshare.com combined IE market share is 31% and Edge is 5%.
- nilliams 10y agoWhat about IE8-10? I agree with pythonistah, that can-i-use data doesn't really map to real-world usage.
- pythonistah 10y agoPerhaps they only collect data from browsers hitting their web site?
- gianlucaguarini 10y agoyou got it, there are many libraries on npm doing the same but none was build with less than 50 lines of code