Skip to content

Remove jQuery from website

Anurag Thakur requested to merge AnuthaDev/freetype-web:j-no-query into master

The freetype website includes a very old and vulnerable version of jQuery for functionality that can be easily implemented in vanilla JS.

jQuery is also a major source of delay in the website.

This MR rewrites freetype2.js to not require jQuery and removes the jQuery files.

The memory require by the javascript VM has been reduced by about 800KB to ~1.4MB

The render blocking time required to download jQuery has been eliminated

Edited by Anurag Thakur

Merge request reports

Loading