Modularize 介绍
This small plugin( 673 bytes! ) enables you to have modular methods on
jQuery.
It allows the developer to apply the module pattern, to the functions of
jQuery.fn.
They can be used as namespace/module for more functions.
This helps keeping the rule of only claiming one name from the jQuery
namespace.
It enables you to do something like:
$(...).foo().bar( ... ).addClass('magic');
Visit the plugin’s
homepage, in order
to learn more about it.