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

Underscore cannot parse ":" in JSON data #26

Open
keikreutler opened this issue Jun 1, 2016 · 2 comments
Open

Underscore cannot parse ":" in JSON data #26

keikreutler opened this issue Jun 1, 2016 · 2 comments

Comments

@keikreutler
Copy link

Unexpected token error when the underscore/ backbone template error tries to parse 'properties.addr:city.'

@species
Copy link

species commented Jun 1, 2016

For properties with ":" in the key, use the following syntax: properties["addr:city"].

If this is an error in underscore-js, it should be reported here in the projects issue tracker.

@keikreutler
Copy link
Author

Within the underscore template, difficulty displaying the non-english description of an initiative in a popup - using the properties["descripton:XX"] key wherein XX is a two letter code for the language.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants