Search code examples
jqueryjquery-uigoogle-cdn

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.


Solution

  • 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.