你能创建一个自定义的jQuery库构建吗?
我们有一个小的javascript项目将使用一些jQuery选择器,但我们绝不需要完整的jQuery包(即效果)。有没有办法获得jQuery库的自定义构建?
We have a small javascript project that will be using a handful of jQuery selectors, but we don't by any means need the full jQuery package (i.e. effects). Is there any way to get a custom build of the jQuery library?
在这个答案可用之前有人问过这个问题 - 但是我觉得问题仍然存在。
This question was asked before this answer was available - but I feel the question is still relevant.
http://net.tutsplus.com/tutorials/javascript-ajax/how-to-build-your-own-custom-jquery/
http://projects.jga。 me / jquery-builder /
希望其他人认为这些链接和我一样有用。
Hope others find these links as helpful as I have.
更新
根据您想要的最小化程度,您可以创建自己的库,我之前将其用作开始概念:
http://code.tutsplus.com/tutorials/build-your-first- Java类cript-library - net-26796
此处提供的源代码: https://github.com/andrew8088/dome