Is there a tool to remove unused methods in javascript? -


I have a collection of javascript files from 3rd party, and I get all the unused methods to get the size at a more reasonable level Please.

Is there an address for a device that does this for JavaScript? Give a list of at least unused / used methods, so can I manually trim? It will be in addition to some running YUI Javascript compressor tool ...

Otherwise I think that to help me do this, write a Pearl script.

Not because you can do "usage" methods in this way in a very dynamic way.

  obj [prompt ("give a method name")] ();  

Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -