开发者

How to determine what is included with jQuery Tools minified file?

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 开发者_如何学JAVAoriginal build components?


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):

javascript:alert(JSON.stringify(Object.keys(jQuery.tools)));

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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜