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

Use string literals for JSON object keys #1

Merged
merged 1 commit into from
Oct 2, 2014
Merged

Use string literals for JSON object keys #1

merged 1 commit into from
Oct 2, 2014

Conversation

fjmilens3
Copy link
Contributor

The source map seems to be ignored in Chrome (and other browsers)
unless the object keys are string literals. Making this change locally
resolved that particular issue.

The source map seems to be ignored in Chrome (and other browsers)
unless the object keys are string literals. Making this change locally
resolved that particular issue.
damonsmith added a commit that referenced this pull request Oct 2, 2014
Use string literals for JSON object keys
@damonsmith damonsmith merged commit 8a9efa0 into damonsmith:master Oct 2, 2014
@damonsmith
Copy link
Owner

Amazing! Thank you so much, I'm so used to using unquoted keys in JS I forgot that the JSON spec mandates that they must be quoted. I'll have a go of it now on a test project where I can tell if the line numbers are right. Also I'll move your code out at some stage and build it as a provided maven dependency with fat jar config.

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