PROJET AUTOBLOG


Shaarli - Les discussions de Shaarli

Archivé

Site original : Shaarli - Les discussions de Shaarli du 23/07/2013

⇐ retour index

Demo: Bootstrap without jQuery

mercredi 21 août 2013 à 14:25
jeekajoo, le 21/08/2013 à 14:25
Bootstrap, as of version 2, requires jQuery for some components such as dropdowns, alerts and the little "hamburger" icon that triggers a collapsible menu. While jQuery is an excellent cross-browser framework, it can be overkill if it's only used for displaying and hiding things. Of course, if a project already uses jQuery then there's no problem, but if not here's a script to replace jQuery and some of the Bootstrap plugin scripts. Using this should reduce download size and speed up loading time for your users.
code : https://github.com/tagawa/bootstrap-without-jquery

J'ai allégé mon site (fralef.me) de 119.3K en supprimant jquery (1.7.2) et en mettant ce fork de bootstrap.min.js.
(Permalink)