Skip to content

Instantly share code, notes, and snippets.

@laurendavissmith
Created August 21, 2011 15:04
Show Gist options
  • Save laurendavissmith/1160714 to your computer and use it in GitHub Desktop.
Save laurendavissmith/1160714 to your computer and use it in GitHub Desktop.
YUI Groups Partial
YUI({
base : '[...]/yui/demos/loader-config-groups/library/',
combine : true,
comboBase : '[...]/combo/?b=yui/demos/loader-config-groups&f=',
root : 'library/',
groups : {
gallery : {
base : '[...]/yui/demos/loader-config-groups/gallery/',
root : 'gallery/',
combine : true,
comboBase : '[...]/combo/?b=yui/demos/loader-config-groups&f=',
patterns: {
'gallery-' : {
configFn : function( me ) {
me.path = me.name + '.js'
}
}
}
}
}
}).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