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

Bug 1238595 syntaxerror in compressed jquery ui #3150

Conversation

peterbe
Copy link
Contributor

@peterbe peterbe commented Jan 11, 2016

@adngdb So yuglify has a bug that can't handle certain jquery files. And sadly yuglify uses the old UglifyJS and not UglifyJS2. Switched fixed the problem.

What yuglify was was a wrapper over cssmin and (the old) uglifyjs. So instead of keeping it, I decided it's better we just use explicitly cssmin and (the new) uglifyjs.

Yeah, it's confusing. Compare: uglify-js and uglify.

Also, this was confusing

@@ -260,7 +260,7 @@
'source_filenames': (
'crashstats/js/socorro/exploitability.js',
),
'output_filename': 'js/.min.js',
'output_filename': 'js/exploitability.min.js',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hah, good catch!

@adngdb
Copy link
Contributor

adngdb commented Jan 12, 2016

I'm confused, I've been unable to reproduce the problem we saw on stage locally. But this works, and given the link you gave, I believe it will fix the issue. So, let's go with it!

adngdb added a commit that referenced this pull request Jan 12, 2016
…ressed-jquery-ui

Bug 1238595 syntaxerror in compressed jquery ui
@adngdb adngdb merged commit 37aef6b into mozilla-services:master Jan 12, 2016
@peterbe peterbe deleted the bug-1238595-syntaxerror-in-compressed-jquery-ui branch January 12, 2016 13:43
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