-
Notifications
You must be signed in to change notification settings - Fork 0
Google Load
Google AJAX Libraries library is a one line code for loading CDN hosted, compressed javascript libraries such as jquery and mootools! This means saved bandwidth for you and the possibility of a cached file on a visitor's browser.
[size=3]Usage[/size] Load the library as normal:
$this->load->library('google_load');
[size=3]Loading[/size] To load one library:
$this->google_load->load("jquery")
To load multiple libraries:
$this->google_load->load("jquery,jqueryui,mootools,scriptaculous,yui")
Google load also has a development environment where you can make the output code easier to read and a benchmark function. You can also turn compression of the libraries off.
List of libraries: jquery jqueryui prototype scriptaculous mootools dojo swfobject yui ext-core chrome-frame webfont
Google load makes loading javascript libraries super easy and in one line!
If you have any questions just ask! There is more documentation in on the files.
Download Carabiner in the Ignited Code thread or from the Wiki:File:Google_load_1.0.zip