Comments (14)
Thanks, I'll implement it ASAP.
from yaku.
ES6 is locked, so it should be a part of ES7 or somehow. I'm sorry that I'm a little outdated.
So I don't know, where to implement it, as an extension or inside the core. I need more information.
I did some research on the internet, nothing seems helpful. I even can't figure out it's ES7 or ES-Next.
from yaku.
It's not in ES2016/ES7, only two Math methods were added to ES2016/ES7. It will hopefully enter Stage 3 at some point this year.
Criteria to move to Stage 3:
- Complete spec text
- Designated reviewers have signed off on the current spec text
- The ECMAScript editor has signed off on the current spec text
It is up to you where to implement it. I imagine people would be confused if they had to install Yaku and a Yaku plugin to get ES-Promises working.
from yaku.
Uh, it should be inside the core.
from yaku.
@ysmood Do you need some help with this feature at all?
from yaku.
Yes, I need some help. The performance is my main concern.
from yaku.
The two extra closure makes me headache. I may merge the finally branch if I have time to add more test cases.
from yaku.
@JakeChampion I published the version v0.17.0 with the newly added finally
support. Hope its not too late.
from yaku.
Thanks!
from yaku.
Looks to fail some tests in these browsers:
• ie/11
• ie/10
• ie/9
• ie/8
• android/4.4
from yaku.
May I see the error information?
from yaku.
Rerunning the test suite now as I had some configuration errors which reported lots of false positives. Apologies if it turns out everything is working.
from yaku.
Tests pass on all except IE8 which seems to hang
from yaku.
I will double check it later.
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
- Does not work on UC Browser HOT 9
- 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.