Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Some code has been repeated many times.
Remove the duplication of code.
One way of doing this is to convert the code to a function and call it from the correct places.
e.g. a lot of code from webapp/indexfunctions.js is repeated in webapp/only_scifunc_code.js.