-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port Yaku to core-js #170
Port Yaku to core-js #170
Conversation
Thanks for the PR, but I'm already not sure about adding dependencies to Without any tests I see some problems:
I know about it, it's a part of my not public What do you think about replacing |
55a417a
to
15bd031
Compare
Fixed
Fixed
Added
No dependency now. I will merge the yaku.js to es6.promise.js later. Any other problems? |
Something like that makes sense. I will explore it when I will have spare time. |
No harry, please take your time. I will add more test cases, like these: https://github.com/ysmood/yaku/blob/master/test/basic.js https://github.com/ysmood/yaku/blob/master/test/basic.js |
36f5a6d
to
ce3cb3c
Compare
Closed because of inactivity. |
Continue after the #115. Sorry for so long. This time everything goes well. Only one file changed (92162b4), all the tests should pass.
When I debug the project, most of the unit test time is taken by the promise, it's unbearable for new contributors. Pulling the core code of promise out of the project will make the project more maintainable.
You don't have to run the
promises-aplus-tests
any more. Because as a separate project, yaku has already maintained thepromises-aplus-tests
on itself. So that you can focus on other parts of the project. Besides, I tested core-js against the promises-es6-tests, it didn't pass all the tests. Yaku did pass them all.With Yaku, the performance will be better, the error handling will be less painful (such as long stack trace support), the gzipped size of the core.min.js won't change (27KB).
Here's the comparison: