Reserved Keyword breaks minifying by YUICompressor #437
Labels
feature
This would be nice to have.
PRIORITY: low
TARGETS: core
Utility functions, lifecycle, core library stuff.
We are using popper.js within the CMS System AEM. Because of several technical restrictions, we are forced to use YUIcompressor for asset minification in the backend.
YUIcompressor seems to be more strict about reserved keywords and fails to compress javascript code containing reserved keywords as function / property names.
Popper.js and popper-utils.js seem to contain such function names both in that function:
Would it be possible to replace them by this code:
This passes the YUIcompressor.
Steps to reproduce the problem
What is the expected behavior?
Minification by the YUIcompressor works without errors
What went wrong?
Javascript code contains functions named after reserved keywords.
The text was updated successfully, but these errors were encountered: