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

Closure compiler errors and warnings #11

Closed
GoogleCodeExporter opened this issue Dec 22, 2015 · 1 comment
Closed

Closure compiler errors and warnings #11

GoogleCodeExporter opened this issue Dec 22, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Replace YUI Compressor with Google Closure compiler
2. See build fail

The following cause errors and/or warnings:

in CBC.js:
while (c.pop() != 0x80) ;

The compiler wants {} instead of ;

in AES.js (twice):
mode = options && options.mode || C.mode.OFB;

The variable mode is not declared.  Prepending "var " to the lines solves this.

Original issue reported on code.google.com by pzbo...@gmail.com on 5 Mar 2011 at 1:07

@GoogleCodeExporter
Copy link
Author

Fixed in revisions 298 and 299. Will be included in a v2.0.1 release.

Original comment by Jeff.Mott.OR on 7 Mar 2011 at 3:40

  • Changed state: Fixed

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

1 participant