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

camelCase params for view #37

Open
azriel46d opened this issue Jan 20, 2015 · 1 comment
Open

camelCase params for view #37

azriel46d opened this issue Jan 20, 2015 · 1 comment

Comments

@azriel46d
Copy link

not sure if its a handlebars issue but each time I pass camel case params say firstName=firstName in a view , if i use getTemplateData this parameters are reduced automatically to lowercase? Any ideas?

@lo1tuma
Copy link
Member

lo1tuma commented Jan 20, 2015

http://stackoverflow.com/a/9073991

All attributes on HTML elements in HTML documents get ASCII-lowercased automatically, so the restriction on ASCII uppercase letters doesn't affect such documents

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

No branches or pull requests

2 participants