你能创建一个自定义的jQuery库构建吗? [英] Can you create a custom jQuery library build?

查看:120
本文介绍了你能创建一个自定义的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

这篇关于你能创建一个自定义的jQuery库构建吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆