Created
August 21, 2011 15:02
-
-
Save laurendavissmith/1160713 to your computer and use it in GitHub Desktop.
YUI Groups
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
YUI({ | |
base : '[...]/yui/demos/loader-config-groups/library/', | |
combine : true, | |
comboBase : '[...]/combo/?b=yui/demos/loader-config-groups&f=', | |
root : 'library/', | |
filter : { | |
'searchExp': '(^(?:[^&]+&[^&]+)|[^&]+)&', | |
'replaceStr': '$1,' | |
}, | |
groups : { | |
utilities : { | |
root : 'utilities/', | |
combine : true, | |
comboBase : '[...]/combo/?b=yui/demos/loader-config-groups&f=', | |
modules : { | |
'gallery-yquery' : { | |
path : 'gallery-yquery.js', | |
requires : ['get','event'] | |
} | |
} | |
}, | |
animation : { | |
root : 'animation/', | |
combine : true, | |
comboBase : '[...]/combo/?b=yui/demos/loader-config-groups&f=', | |
modules : { | |
'gallery-effects' : { | |
path : 'gallery-effects.js', | |
requires : ['node','async-queue','anim'] | |
}, | |
'gallery-yuisand' : { | |
path : 'gallery-yuisand.js', | |
require : ['anim'] | |
} | |
} | |
}, | |
markup : { | |
root : 'markup/', | |
combine : true, | |
comboBase : '[...]/combo/?b=yui/demos/loader-config-groups&f=', | |
modules : { | |
'gallery-markout' : { | |
path : 'gallery-markout.js', | |
requires : ['dom-style','selector','node-base'] | |
} | |
} | |
}, | |
} | |
}).use( function(Y) { | |
Y.use( 'gallery-yquery' ); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment