IppSec / ippsec.github.io

Creative Commons Zero v1.0 Universal
140 stars 29 forks source link

Remove jquery #15

Closed frnkst closed 4 years ago

frnkst commented 4 years ago

Hi

I took a shot at issue #11, because I wanted to see if it can be done easily. It turned out that it's not too big of a deal. Would you be interested in getting this merged at all? If so, I could clean the code up a bit and make it ready. A big part of the diff is due to formatting. I use prettier. If you prefer I can keep the previous formatting, just let me know...

Also I used fetch for the network request. Depending on what browser versions you want to support I could adjust this. Although I saw that some ES6 features like arrow-functions are used, so I assumed you target modern browsers.

Best regards, Frank

IppSec commented 4 years ago

Thank you. Looks great, I'll do some more testing on browsers later. I'll let you know if anything breaks, but for now it is merged!