是否有可能提取jQuery的子集? [英] Is it possible to extract a subset of jQuery?
本文介绍了是否有可能提取jQuery的子集?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用的网站在下拉菜单中仅使用少量的jQuery(我正在使用
A website I'm using on only uses a very small amount of jQuery, in the drop-down menu (I'm using the JSDDM drop-down menu). Is it possible to either manually or automatically make a cut-down version of jQuery which only contains the needed code?
推荐答案
我认为编辑代码不是一个好主意.请使用缩小的软件包.
I don't think it's a good idea to edit the code. Use the minified package instead.
这篇关于是否有可能提取jQuery的子集?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文