衡量jQuery插件的要求 [英] Measure jQuery plugin requirements

查看:59
本文介绍了衡量jQuery插件的要求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个jQuery插件,但我不知道哪个版本的jQuery对于我的插件来说是最小的。

I'm developing a jQuery plugin but I don't know which version of jQuery is minimal for my plugin to run.

有没有办法测量我的jQuery插件的要求是什么?

Is there any way to measure the requirements of my jQuery plugin ?

推荐答案

一些想法:

我没有使用过这个,但快速搜索出现了 $ versions ,声称这很容易针对多个版本的jQuery测试你的插件的方法。

I haven't used this but a quick search turned up $versions which claims to be an easy way of testing your plugin against multiple versions of jQuery.

如果你有一个需要检查测试/演示的页面,你总是可以把代码放在 jsFiddle 并运行框架中的jQuery版本列表&扩展程序菜单。

If you have a page with the tests/demos you need to check, you could always put that code in jsFiddle and run down the list of versions of jQuery in the Frameworks & Extensions menu.

这篇关于衡量jQuery插件的要求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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