Skip to content

Instantly share code, notes, and snippets.

@chrisgeo
Created December 22, 2010 15:03
Show Gist options
  • Save chrisgeo/751622 to your computer and use it in GitHub Desktop.
Save chrisgeo/751622 to your computer and use it in GitHub Desktop.
comboloader yuiconfg
YUI_config = {
combine: true,
base: '/yui/',
root: 'yui/',
loadOptional: false,
comboBase: '/combo?',
//filter: 'debug',
groups: {
gallery: {
combine: true,
base: '/gallery/',
root: 'gallery/',
comboBase: '/combo?',
update: function(tag){
},
patterns: {
'gallery-': {},
'gallerycss-': { type: 'css' }
}
},
monkeybase: {
//combine: true,
base: '/base/',
root: 'base/',
patterns: {
'monkeybase-': {},
'monkeybasecss-': { type: 'css' }
}
},
monkeylibs: {
//combine: true,
base: '/lib/',
root: 'lib/',
patterns: {
'monkeylib-': {},
'monkeylibcss-': { type: 'css' }
}
},
monkeybilling: {
//combine: true,
base: '/billing/',
root: 'billing/',
patterns: {
'monkeybilling-': {},
'monkeybillingcss-': { type: 'css' }
},
//overriding modules until build system is in
//and we can have raw, debug, and min versions.
modules: {
'monkey-dialog': {
path: 'modal-min.js',
requires:['gallery-overlay-extras','overlay','widget-anim','node','gallery-event-nav-keys','dd']
},
'monkey-tooltip': {
path: 'tooltips-min.js',
requires: ['widget','selector-css3','widget-anim','node']
}
}
},
monkeywidgets: {
//combine: true,
base: '/widgets/',
root: 'widgets/',
patterns: {
'monkeywidgets-': {},
'monkeywidgetscss-': { type: 'css' }
},
//overriding modules until build system is in
//and we can have raw, debug, and min versions.
modules: {
'monkeywidgetcss-modal': {
path: 'modal-min.js',
type: 'css'
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment