drewnoakes / fix-decoder

Unravels FIX messages into human readable tables
https://drewnoakes.com/fix-decoder/
80 stars 34 forks source link

Add jquery as a local dependency #14

Closed ghost closed 7 years ago

ghost commented 7 years ago

Hi,

When accessing the fix decoder on a local file system, the page is unable to load jquery as //ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js redirects to file://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js. To resolve this, two solutions can be used:

As there were already other dependencies inside the scripts/lib folder, this merge request implements the second solution, and add both uncompressed and minimized jquery library as for other libs.

I think having this commit merged into the main repository could be useful for people who do not want to host the fix decoder to use it.

Please let me know if you need any modification to be done.

Best regards, LRGN

drewnoakes commented 7 years ago

Thanks. Ideally no libs would be in the project, and they'd be sourced via NPM. Nowadays it's less necessary to use jQuery and lodash. I wonder how hard it'd be to remove them altogether.