Skip to content

Instantly share code, notes, and snippets.

@levancho
Created April 17, 2010 17:32
Show Gist options
  • Save levancho/369701 to your computer and use it in GitHub Desktop.
Save levancho/369701 to your computer and use it in GitHub Desktop.
YUI({
.....
modules: {
myPlainModule: {
fullpath: 'http://myPlainModule.js'
},
singleModule: {
fullpath: 'http://singleModule.js',
requires: ['myPlainModule']
},
groupOfModulesWithAdd: {
fullpath: 'http://groupOfModulesWithAdd.js'
}
}
}).use('singleModule','groupOfModulesWithAdd', function(Y) {
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment