We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
好多插件是依赖jquery的特定版本的,用的jQuery全局对象,而项目有时候用的是jquery的其他版本,例如:项目默认用的jquery1.7.2,而插件用的jquery1.2.6 假如用1.7.2就不正常怎么处理呢?
The text was updated successfully, but these errors were encountered:
这个属于jquery插件的兼容问题……
Sorry, something went wrong.
是的,现在已经通过seajs包装解决了! define(function(require,exports,module){ //使用插件指定版本 var jQuery=require("jquery1.2.6"); //插件代码 一般用的 jQuery module.exports=jQuery; });
No branches or pull requests
好多插件是依赖jquery的特定版本的,用的jQuery全局对象,而项目有时候用的是jquery的其他版本,例如:项目默认用的jquery1.7.2,而插件用的jquery1.2.6 假如用1.7.2就不正常怎么处理呢?
The text was updated successfully, but these errors were encountered: