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

Functionname "catch" fails YUICompressor #19

Closed
ivome opened this issue Apr 3, 2015 · 2 comments
Closed

Functionname "catch" fails YUICompressor #19

ivome opened this issue Apr 3, 2015 · 2 comments

Comments

@ivome
Copy link
Contributor

ivome commented Apr 3, 2015

The YUiCompressor does not like the catch function name and fails compressing the file and interprets it as a reserved keyword. Ideally that should be fixed in yuicompressor itself, but it does not seem to be trivial there, the issue is open for quite a while now.
So easy fix would be to just call the function like that: ['catch']()

@KyleAMathews
Copy link
Owner

I merged your commit :)

#20

@KyleAMathews
Copy link
Owner

Released 2.0.1

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