tags:

views:

759

answers:

3

I have around 100 .js files in my application. I need to find the unused functions from these files.

Which editor or tool can help me?

+1  A: 

Give a look to JSLint.

CMS
A: 

You can do this using Jsure, a Javascript lint implementation. You'll be looking for the -unused-funs flag

cpharmston
JSure is not for windows...and i am using windows...
A: 

I dont' this there is a way to do it completely. Check this question : http://stackoverflow.com/questions/1167663/is-there-a-tool-to-remove-unused-methods-in-javascript

Shoban