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

allow identifiers to contain "-" #94

Merged
merged 1 commit into from
Aug 3, 2016

Conversation

bookshelfdave
Copy link
Contributor

Hello -
we've found that template expressions that include the - character fail to compile. See the included test which fails without this patch.

The Handlebars grammar specifies identifiers quite differently: https://github.com/wycats/handlebars.js/blob/master/src/handlebars.l#L18-L27
but doesn't exclude -.

Cheers -
Dave

@bookshelfdave
Copy link
Contributor Author

related: 4392580

@sunng87
Copy link
Owner

sunng87 commented Aug 3, 2016

Thank you, @metadave

@sunng87 sunng87 merged commit f1d4eb1 into sunng87:master Aug 3, 2016
@sunng87
Copy link
Owner

sunng87 commented Aug 3, 2016

I'll make a release for this so it won't block your development.

@bookshelfdave
Copy link
Contributor Author

thanks so much @sunng87!!

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