Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google CDN for JS - where are the direct paths?

http://code.google.com/apis/libraries/devguide.html

I don't want to use Google's API key to load the various JS libraries using Google's loader (as the key seems to be tied to a certain domain and I'm trying to write 1 code to work on multiple domains).

In Google's introduction, it says:

Your application can use our very flexible loader google.load() or direct, path-based access to the scripts.

Where are these "direct, path-based access to the scripts?"

Also, I think I also remember there being a link to get the latest version of a script without having to specify the version number.

like image 990
StackOverflowNewbie Avatar asked Dec 21 '25 06:12

StackOverflowNewbie


1 Answers

You can find them on http://code.google.com/apis/libraries/devguide.html. Generally it isn't a good idea to link against latest unless you want to have weird random failures in your application when the version changes and an API you were using changes.

like image 53
stimms Avatar answered Dec 23 '25 18:12

stimms