Skip to content

Add "unused" parameter to all setters#615

Closed
squarooticus wants to merge 1 commit intojsdom:masterfrom
squarooticus:master
Closed

Add "unused" parameter to all setters#615
squarooticus wants to merge 1 commit intojsdom:masterfrom
squarooticus:master

Conversation

@squarooticus
Copy link
Copy Markdown
Contributor

  • ECMAScript ExpectedArgumentCount for a setter is always 1

Change motivated by failure of JS parser used by browserify:
Error: Parsing file /home/krose/.nave/installed/0.10.5/lib/node_modules/jsdom/lib/jsdom/level2/html.js: Line 503: Unexpected token )

I've since decided that browserify is hopeless, but it can't hurt to be standards-compliant as much as possible.

    * ECMAScript ExpectedArgumentCount for a setter is always 1
@domenic
Copy link
Copy Markdown
Member

domenic commented May 1, 2013

Thanks man, merged as b0f6c73.

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