Skip to content

Port set-prototype-of to ext#107

Open
davidwallacejackson wants to merge 1 commit into
medikoo:extfrom
davidwallacejackson:ext
Open

Port set-prototype-of to ext#107
davidwallacejackson wants to merge 1 commit into
medikoo:extfrom
davidwallacejackson:ext

Conversation

@davidwallacejackson

Copy link
Copy Markdown

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!

@medikoo medikoo left a comment

Copy link
Copy Markdown
Owner

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)

Comment thread object/create.js
@@ -0,0 +1,43 @@
// Workaround for http://code.google.com/p/v8/issues/detail?id=2804

Copy link
Copy Markdown
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

Comment thread object/is-object.js
@@ -0,0 +1,7 @@
"use strict";

Copy link
Copy Markdown
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
Copy Markdown
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

Comment thread object/valid-value.js
@@ -0,0 +1,8 @@
"use strict";

Copy link
Copy Markdown
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)

@medikoo medikoo left a comment

Copy link
Copy Markdown
Owner

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