Skip to content

fix possible ie8 trailing comma problem #333

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

Merged
merged 1 commit into from
Mar 18, 2015
Merged

fix possible ie8 trailing comma problem #333

merged 1 commit into from
Mar 18, 2015

Conversation

lobziik
Copy link
Contributor

@lobziik lobziik commented Mar 18, 2015

I faced with exception on 678 string of raven.js with IE versions less than 8 and below. Google Closure Compiler thrown errors too...

This fixes the issue. All tests passed, full build successful too.

Thanks.

@mattrobenolt
Copy link
Contributor

Ah, damn. Any idea why the linter didn't pick that up in the first place?

mattrobenolt added a commit that referenced this pull request Mar 18, 2015
fix possible ie8 trailing comma problem
@mattrobenolt mattrobenolt merged commit 4e32c45 into getsentry:master Mar 18, 2015
mattrobenolt added a commit that referenced this pull request Mar 18, 2015
@mattrobenolt
Copy link
Contributor

Ok, apparently jshint does not check for that by default. :/ http://jslinterrors.com/extra-comma Added.

@mattrobenolt
Copy link
Contributor

Also, just verified, and this would have only affected the unminified builds. Uglify does the right thing and fixed the trailing comma when minifying for the raven.min.js build.

Going to push a version bump for this regardless, thanks. 🍰 ✨

matghaleb pushed a commit to matghaleb/raven-js that referenced this pull request Sep 9, 2015
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