-
-
Notifications
You must be signed in to change notification settings - Fork 90
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 set-prototype-of to ext #107
base: ext
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@davidwallacejackson Great thanks for giving that a spin!
Please see my comments. In addition to them:
- Files as
.DS_Store
should not be committed in - We need tests, and I know this part can be challenging, as different test suite is used in
ext
. Old tests which can be found in _es5-ext/test and then need to be moved totest
and refactored to new test runner (you can take inspiration from other reactors)
@@ -0,0 +1,43 @@ | |||
// Workaround for http://code.google.com/p/v8/issues/detail?id=2804 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To maintain changes history, ideally, if this is moved module from _es5-ext/object/create.js
@@ -0,0 +1,7 @@ | |||
"use strict"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should not be introduced (we should rely on type/object/is
@@ -0,0 +1,10 @@ | |||
"use strict"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those modules should be moved from _es5-ext/object/set-prototype-of
@@ -0,0 +1,8 @@ | |||
"use strict"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should not be introduced (we should rely on type/value/ensure
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Additionally ideally if each main module is proposed as different PR.
So in context of this PR let's focus just on object/set-prototype-of
and in next PR let's address object/create
Giving this a shot! It looks like the implementations in the
test
directory are generated/compiled, and I haven't figured out how to build them yet -- let me know and I'd be happy to do it!