javascript - Preserve function name uglify mangle -


this question has answer here:

we're linking javascript , as3. work as3 needs know function names of javascript methods.

we're using uglify optimize our javascript code. don't want these specific functions mangled. other functions can mangled fine. possible accomplish this?

use parameter: --reserved-names “myfunction”

possible duplicate:prevent uglifyjs renaming functions


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -