-
-
Save arapehl/1114622 to your computer and use it in GitHub Desktop.
Using YUI group configs to combo handle custom modules
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({ | |
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