We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 global variable MODE is used in the code before it is declared. When this package is passed through js-uglify it breaks as these lines:
if (frame.multiline_frame || frame.mode === MODE.ForInitializer || frame.mode === MODE.Conditional) { return; }
are not parsed to use the uglified constants MODE_ForInitializer and Mode_Conditional.
Moving the declaration of mode before its use fixes this problem.
The text was updated successfully, but these errors were encountered:
@djehring Can you submit a PR?
Sorry, something went wrong.
Move MODE use to after definition
71d52d5
Fixes beautifier#1604
No branches or pull requests
The global variable MODE is used in the code before it is declared. When this package is passed through js-uglify it breaks as these lines:
if (frame.multiline_frame ||
frame.mode === MODE.ForInitializer ||
frame.mode === MODE.Conditional) {
return;
}
are not parsed to use the uglified constants MODE_ForInitializer and Mode_Conditional.
Moving the declaration of mode before its use fixes this problem.
The text was updated successfully, but these errors were encountered: