Skip to content

Instantly share code, notes, and snippets.

@chrisgeo
Created November 11, 2010 20:31
Show Gist options
  • Save chrisgeo/673130 to your computer and use it in GitHub Desktop.
Save chrisgeo/673130 to your computer and use it in GitHub Desktop.
//set global YUI conf here because we are now hosting the files.
YUI_config = {
combine: false,
base: "/js/yui/",
loadOptional: false,
//filter: 'debug',
groups: {
gallery: {
base: '/js/gallery/',
combine: false,
root: 'gallery/',
comboBase: '/js/gallery/',
update: function(tag){
var root = '/js/gallery/';
groups.gallery.base = root;
groups.gallery.root = root;
},
patterns: {
'gallery-': { },
'gallerycss-': { type: 'css' }
}
},
monkeylibs: {
combine: false,
base: '/js/libs/',
root: 'libs/',
patterns: {
'monkeybase-': {},
'monkeybasecss-': {}
}
},
monkeybilling: {
combine: false,
base: '/js/billing/',
root: 'billing/',
/*patterns: {
'monkeybilling-': {},
'monkeybillingcss-': {}
},*/
modules: {
'monkeybilling-vat-validator': {
path: 'vat-validator-min.js',
requires: ['base']
}
}
},
monkeywidgets: {
combine: false,
base: '/js/widgets/',
root: 'widgets/',
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']
}
}
}
},
modules: {
monkeymodalcss: {
fullpath: '/css/widgets/modal-min.css',
type: 'css'
}
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment