Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove duplication of javascript code #178

Open
sunilshetye opened this Issue Feb 19, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@sunilshetye
Copy link
Collaborator

sunilshetye commented Feb 19, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.