Skip to content

Instantly share code, notes, and snippets.

@lsmith
Created October 13, 2011 22:10
Show Gist options
  • Select an option

  • Save lsmith/1285692 to your computer and use it in GitHub Desktop.

Select an option

Save lsmith/1285692 to your computer and use it in GitHub Desktop.
YUI({
modules: {
somemodule: {
fullpath: '/path/to/somemodule.js',
requires: ['somemodule-css']
},
somemodule-css: {
type: 'css',
fullpath: '/path/to/somemodule.css'
}
}
}).use('somemodule', function (Y) { ... });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment