Skip to content

Instantly share code, notes, and snippets.

@arapehl
Forked from rgrove/gist:1114618
Created July 29, 2011 20:10
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arapehl/1114622 to your computer and use it in GitHub Desktop.
Save arapehl/1114622 to your computer and use it in GitHub Desktop.
Using YUI group configs to combo handle custom modules
YUI({
groups: {
'my-group': {
comboBase: 'http://example.com/combo?',
combine : true,
root : 'build/',
modules: {
/* custom module definitions */
}
}
}
}).use('node', 'my-module', function (Y) {
/* loads YUI modules from yui.yahooapis.com, and your modules from
example.com/combo */
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment