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

validate bindings #494

Merged
merged 2 commits into from
Apr 19, 2017
Merged

validate bindings #494

merged 2 commits into from
Apr 19, 2017

Conversation

Rich-Harris
Copy link
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.

if ( items.length === 1 ) return items[0];
return `${items.slice( 0, -1 ).join( ', ' )} ${conjunction} ${items[ items.length - 1 ]}`;
}
const meta = {
Copy link
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
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