Skip to content
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

Open
wants to merge 1 commit into
base: ext
Choose a base branch
from

Conversation

davidwallacejackson
Copy link

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!

Copy link
Owner

@medikoo medikoo left a 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 to test 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
Copy link
Owner

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";
Copy link
Owner

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";
Copy link
Owner

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";
Copy link
Owner

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)

Copy link
Owner

@medikoo medikoo left a 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants