Skip to content

Implement “internally create a new object implementing the interface”#239

Merged
domenic merged 1 commit into
jsdom:masterfrom
ExE-Boss:feat/internally-create-new-object
Mar 20, 2021
Merged

Implement “internally create a new object implementing the interface”#239
domenic merged 1 commit into
jsdom:masterfrom
ExE-Boss:feat/internally-create-new-object

Conversation

@ExE-Boss

Copy link
Copy Markdown
Contributor

Extracted from #213 because of #213 (comment):

The generated snapshots here seem overcomplicated, and it's not clear why you're modifying existing functionality (like new()).

Blocks:

@domenic domenic left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good after rebase

Comment thread lib/constructs/interface.js
@ExE-Boss
ExE-Boss force-pushed the feat/internally-create-new-object branch from eb897a2 to 970cf26 Compare March 20, 2021 21:50

@domenic domenic left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sad about the extra size for such an edge-case feature, but it seems unavoidable, and I appreciate the work you did to make it shorter by using different steps than the spec (with equivalent logic).

@domenic
domenic merged commit 3c318aa into jsdom:master Mar 20, 2021
@ExE-Boss
ExE-Boss deleted the feat/internally-create-new-object branch March 20, 2021 22:24
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