osmoscope / osmoscope-ui

An OpenStreetMap Quality Assurance Tool - User Interface
https://osmoscope.openstreetmap.de/
GNU General Public License v3.0
32 stars 8 forks source link

Javascript cleanup #5

Open joto opened 6 years ago

joto commented 6 years ago

The Javascript code is a bit of a mess. I am not a big Javascript expert, but I am sure some code could be cleaned up and made more modular.

Here are some more specific bits to work on:

The goal here is to get clean, simple and fast JS code. It is definitely not a goal to use some complex JS framework, especially when this means that the application would need to be "built" before it can be used. On the whole the application is simple enough that something like this isn't needed.

joto commented 6 years ago

I have removed jQuery completely using native JS code. The ajax JSON request now use the D3 library.