Comments (9)
I tried with building the polyfill with webpack 2, as per advice at webpack/webpack#4743
The issue is fixed and no longer required with Webpack 2.
I would like to create a PR to https://github.com/Financial-Times/polyfill-service for updating the polyfill. Do you plan to upgrade to webpack 2 or continue with the temporary fix? Should I wait or go ahead and create the PR?
from yaku.
I think this may be a bug of webpack, not Yaku?
from yaku.
@ysmood I believe it is actually a bug with UC Browser, as all other browsers are working correctly.
I have opened an issue with webpack webpack/webpack#4743
Since Yaku is bundled as the default polyfill in polyfill.io, the service is currently broken for UC Browser users. According to StatsCounter, UC Browser has a global browser market share of 8.75%. According to some reports, in India it is as high as 50%. 28% of our traffic is from UC Browser.
Until it is fixed in webpack, can you please add a work around? (global||{}).Promise
would look ugly, but would greatly increase the browser compability of the polyfill.
from yaku.
(global||{}).Promise
added, and new version was published, good luck.
from yaku.
Thank you. It is now working on UC Browser.
from yaku.
Thanks for your feedback.
from yaku.
@ysmood Do you have plans to update to WebPack 2? If not, shall I create the PR for https://github.com/Financial-Times/polyfill-service?
from yaku.
Updated and new version published.
If you have any problem, please let me know.
from yaku.
The updated plugin is working correctly on UC Browser. Thank you.
from yaku.
Related Issues (20)
- Only the core works well with old browsers HOT 1
- Something strange (Slow resolve on pageload) HOT 23
- Yaku doesn't work if div with id="process" exists HOT 2
- Can't register global unhandled rejection HOT 1
- incorrect behavior with unhandledrejection events HOT 8
- Yaku.all is overridden by yaku/utils/all on yaku.brower.full.min.js version HOT 3
- difference between return Promise.reject(x) and throw x HOT 7
- Finally swallows rejections HOT 4
- Bind to Angular 1.x digest? HOT 6
- Bad references in package.json HOT 1
- 0.18.3 is broken if window.Promise is set to Yaku HOT 3
- Implement Promise.try() ? HOT 1
- Incorrect promise when calling `resolve` twice HOT 1
- global.Promise should be non-enumerable and should have correct name property HOT 5
- "hash" util/helper request HOT 3
- Mock Mode HOT 7
- Support for Promise.allSetteled HOT 2
- Bug: Stealing a resolver and using it to trigger reentrancy HOT 3
- Promise.all and Promise.allSettled doesn't work if the promise array has been created in a different frame. HOT 2
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 yaku.