Skip to content

Instantly share code, notes, and snippets.

@tivac
Created November 17, 2011 23:24
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tivac/1374920 to your computer and use it in GitHub Desktop.
Save tivac/1374920 to your computer and use it in GitHub Desktop.
Loader params
comboSep
&
base
http://yui.yahooapis.com/[YUI VERSION]/build/
comboBase
http://yui.yahooapis.com/combo?
root
[YUI VERSION]/build/
path
module-name/module-name-min.js (normal)
module-name/module-name.js (raw)
module-name/module-name-debug.js (debug)
or module's path property
if combine : true then
comboBase +
root +
path +
comboSep
Example:
http://yui.yahooapis.com/combo? +
[YUI VERSION]/build/ +
module-name/module-name-min.js +
&
if combine : false then
base + path
Example:
http://yui.yahooapis.com/[YUI VERSION]/build/ +
module-name/module-name-min.js
if module has fullpath then
fullpath
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment