I have a javascript file that is about 5000 lines long and may grow bigger in the future.
I have been going through it by myself to try to figure out how to break it up and make it more modular / object oriented.
however, I would really appreciate a tool of some kind that can help me find problems more quickly.
I have heard of google closure and I downloaded it. However, when I feed my large javascript file into the compiler I get a lot of stuff changed and returned to me.
I don't want to make SO much change that I can't understand the code. How do I approach this problem? Should I only feed into the compiler small portions at a time ?