javascript - how to minfy/obfuscate global function names?
问题 I have some code that has the following format: function myfunc1 () { ... jquery.bind('click', myfunc2) ... } function myfunc2 () { ... } ... Yes, the functions are global, but it's ok since I'm writing within a google chrome extension content script, so it's sandboxed. Now, I'm trying to minify and obfuscate the code. I've tried YUI Compressor and the Google Closure compiler. The problem is, I can't figure out how to minify/obfuscate the global function names. With YUI it doesn't minify the