Skip to content

validate bindings#494

Merged
Rich-Harris merged 2 commits intomasterfrom
validate-bindings
Apr 19, 2017
Merged

validate bindings#494
Rich-Harris merged 2 commits intomasterfrom
validate-bindings

Conversation

@Rich-Harris
Copy link
Copy Markdown
Member

This started out as a PR for #406, but I figured we ought to do some validation on bindings before adding any more of them.

Comment thread src/validate/html/index.js Outdated
if ( items.length === 1 ) return items[0];
return `${items.slice( 0, -1 ).join( ', ' )} ${conjunction} ${items[ items.length - 1 ]}`;
}
const meta = {
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.

const meta = new Map( ... ); :)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

fixed 👍

@Rich-Harris Rich-Harris merged commit 771dacc into master Apr 19, 2017
@Rich-Harris Rich-Harris deleted the validate-bindings branch April 19, 2017 01:20
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