4623 shaares
397 liens privés
397 liens privés
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. joie!