Created
August 21, 2013 18:33
-
-
Save estk/6298222 to your computer and use it in GitHub Desktop.
Don't mangle "$super".
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -527,7 +527,7 @@ _.extend(Bundle.prototype, { | |
var combinedCode = codeParts.join('\n;\n'); | |
var finalCode = uglify.minify( | |
- combinedCode, {fromString: true, compress: {drop_debugger: false}}).code; | |
+ combinedCode, {fromString: true, compress: {drop_debugger: false}, mangle: {except: ["$super"]}}).code; | |
addFile('js', finalCode); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment