Refactoring a large js codebase

I have a legacy code base. There are 5 js files and each js file has 10k loc. And there are no testcases .

Since I'm not a Js expert, I don't know where to start with refactoring the code base. The code base is also tightly integrated with the DOM api calls.

Any ideas would be appreciated

+3
javascript jquery


source to share


No one has answered this question yet

Check out similar questions:

376
Using Rails 3.1, where do you put your javascript code "javascript"?
237
JavaScript / jQuery to upload file via POST with JSON data
232
How to save HTML5 canvas as image on server?
224
How to implement DOM data binding in JavaScript
176
The best way to get child nodes
2
Refactoring a huge form with the Javascript Framework
0
Path refactoring in JS cannot find module
0
Refactoring tips: highly repetitive code
0
AJAX call refactoring does not work if refactoring
-1
javascript call in vb code load function



All Articles
Loading...
X
Show
Funny
Dev
Pics