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

The minified version declares undesired global variables #40

Closed
fred-wang opened this issue Oct 4, 2014 · 0 comments
Closed

The minified version declares undesired global variables #40

fred-wang opened this issue Oct 4, 2014 · 0 comments

Comments

@fred-wang
Copy link
Owner

After application of Google Closure Compiler, new variables h, n, p and u are defined in TeXZilla-min.js. The content of the file should be wrapped in a function() to prevent these variables from being global.
Also, the "use strict" mode should only apply to that function scope to avoid concatenation problem.

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

1 participant