如何确定 jQuery Tools 缩小文件中包含哪些内容?
我继承了一个项目,其中包含 jQuery 工具 的缩小版本。 jQuery 工具站点允许您下载具有各种用户选择的脚本选项的自定义版本。
如何确定缩小版本中包含哪些选项,以便在下载更新时可以获得相同的选项?
我查看了该文件,标题中没有描述其中包含内容的信息。在不知道原始构建组件的情况下如何进行升级?
I've inherited a project that includes a minified version of jQuery Tools. The jQuery Tools site allows you to download a customized build with various user-selected script options.
How can I determine which options were included with the minified version so I can get the same options when I download the update?
I've looked at the file and there is no information in the header describing what's included. How is it ever possible to upgrade without knowing the original build components?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我对 Tools 不太熟悉,但我只是想在包含 Tools 的页面的地址栏中运行它(在 Chrome 中测试):
这将列出 $.tools 对象中的所有方法(加上“版本”),但我不知道这是否真的是所含部件的完整列表。
如果这没有正确列出它们,您唯一的选择可能就是反复试验。
I'm not too familiar with Tools, but I just thought of running this in the address bar of the page containing Tools (tested in Chrome):
This will list all the methods in the $.tools object (plus 'version'), but I don't know if this is really a complete list of included parts or not.
If this doesn't list them properly, your only option is likely trial and error.
我认为这就是您所寻找的
如果您使用 Firebug 或类似的 JavaScript 调试器,您可以通过从控制台运行以下命令轻松测试包含哪些工具及其版本:
console.dir($.tools);
从
http://flowplayer.org/tools/documentation/basics.html#include
I think this is what you looking for
If you are using Firebug or similar JavaScript debugger you can easily test which tools are included and what are their versions by running the following command from the console:
console.dir($.tools);
from
http://flowplayer.org/tools/documentation/basics.html#include