0

We're linking together Javascript and AS3. For this to work AS3 needs to know the function names of the Javascript methods.

We're using Uglify to optimize our Javascript code. Now I don't want these specific functions to be mangled. All other functions can be mangled just fine. Is it possible to accomplish this?

Maarten Bicknese
  • 1,498
  • 1
  • 14
  • 27

1 Answers1

0

Use this parameter: --reserved-names “myFunction”

Possible duplicate:Prevent uglifyjs from renaming certain functions

Community
  • 1
  • 1
SharpEdge
  • 1,782
  • 1
  • 10
  • 20