Bootylicious::Plugin::AjaxLibLoader - load popular AJAX JavaScript libraries.
Bootylicious::Plugin::AjaxLibLoader - this plugin provides your Bootylicious application with stable, reliable, high speed, globally available access to all of the most popular, open source JavaScript libraries (by using content distribution network Google AJAX Libraries API)
version 0.05
Register AjaxLibLoader plugin in a configuration file (bootylicious.conf), add line like this:
#load JQuery version 1.3.2 for all Bootylicious blog pages "plugins" : [ "ajax_lib_loader" , {"jquery" : "on", "jquery_version" : "1.3.2"} ] #OR load JQuery version 1.3.2 for all pages and JQuery UI only for article pages: "plugins" : [ "ajax_lib_loader" , {"jquery" : "on", "jquery_version" : "1.3.2", jquery_path=all, "jqueryui" : "on", "jqueryui_path" : "articles" }]
* Dojo * Ext Core * jQuery * jQuery UI * MooTools * Prototype * script.aculo.us * SWFObject * Yahoo! User Interface Library (YUI)
Dojo
Attributes:
dojo (default false) dojo_version (default 1.3.2) dojo_path (default all)
Config line example:
"plugins" : [ "ajax_lib_loader" , {"dojo" : "on", "dojo_version" : "1.3.2", "dojo_path" : "all"} ]
Ext Core
ext_core (default false) ext_core_version (default 3.0.0) ext_core_path (default all)
"plugins" : [ "ajax_lib_loader" , {"ext_core" : "on", "ext_core_version" : "3.0.0", "ext_core_path" : "all"} ]
jQuery
jquery (default false) jquery_version (default 1.3.2) jquery_path (default all)
"plugins" : [ "ajax_lib_loader" , {"jquery" : "on", "jquery_version" : "1.3.2", "jquery_path" : "all"} ]
jQuery UI
jqueryui (default false) jqueryui_version (default 1.7.2) jqueryui_path (default all)
"plugins" : [ "ajax_lib_loader" , {"jqueryui" : "on", "jqueryui_version" : "1.7.2", "jqueryui_path" : "all"} ]
MooTools
mootools (default false) mootools_version (default 1.2.3) mootools_path (default all)
"plugins" : [ "ajax_lib_loader" , {"mootools" : "on", "mootools_version" : "1.2.3", "mootools_path" : "all"} ]
Prototype
prototype (default false) prototype_version (default 1.6.1.0) prototype_path (default all)
"plugins" : [ "ajax_lib_loader" , {"prototype" : "on", "prototype_version" : "1.6.1.0", "prototype_path" : "all"} ]
script.aculo.us
scriptaculous (default false) scriptaculous_version (default 1.8.2) scriptaculous_path (default all)
"plugins" : [ "ajax_lib_loader" , {"scriptaculous" : "on", "scriptaculous_version" : "1.8.2", "scriptaculous_path" : "all"} ]
SWFObject
swfobject (default false) swfobject_version (default 2.2) swfobject_path (default all)
"plugins" : [ "ajax_lib_loader" , {"swfobject" : "on", "swfobject_version" : "2.2", "swfobject_path" : "all"} ]
Yahoo! User Interface Library (YUI)
yui (default false) yui_version (default 2.7.0) yui_path (default all)
"plugins" : [ "ajax_lib_loader" , {"yui" : "on", "yui_version" : "2.7.0", "yui_path" : "all"} ]
register
This method will be called by Mojolicious::Plugins at startup time, your plugin should use this to hook into the application.
Konstantin Kapitanov, <perlovik at gmail.com>
<perlovik at gmail.com>
http://code.google.com/apis/ajaxlibs/ - Google AJAX Libraries API
http://getbootylicious.org, Bootylicious, Mojo, Mojolicious, Mojolicious::Lite
Copyright 2009 Konstantin Kapitanov, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Bootylicious::Plugin::AjaxLibLoader, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bootylicious::Plugin::AjaxLibLoader
CPAN shell
perl -MCPAN -e shell install Bootylicious::Plugin::AjaxLibLoader
For more information on module installation, please visit the detailed CPAN module installation guide.