Skip to content

Instantly share code, notes, and snippets.

@dcunited08
Created November 9, 2009 16:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dcunited08/230057 to your computer and use it in GitHub Desktop.
Save dcunited08/230057 to your computer and use it in GitHub Desktop.
var yui2Base = 'http://yui.yahooapis.com/2.8.0r4/';
YUIConfig = {
insertBefore: 'styleoverrides',
loadOptional: true,
combine: true,
modules: {
'yui2-animation': {
'type': 'js',
fullpath : yui2Base + 'build/animation/animation-min.js',
'requires': ['yui2-dom', 'yui2-event']
},
'yui2-autocomplete': {
'type': 'js',
fullpath : yui2Base + 'build/autocomplete/autocomplete-min.js',
'requires': ['yui2-dom', 'yui2-event', 'yui2-datasource', 'yui2-autocompletecss'],
'optional': ['yui2-connection', 'yui2-animation']
//'skinnable': true
},
'yui2-autocompletecss' : {
fullpath : yui2Base + "build/autocomplete/assets/skins/sam/autocomplete.css",
type : 'css'
},
'yui2-base': {
'type': 'css',
fullpath : yui2Base + 'build/base/base-min.css',
'after': ['yui2-reset', 'yui2-fonts', 'yui2-grids']
},
'yui2-button': {
'type': 'js',
fullpath : yui2Base + 'build/button/button-min.js',
'requires': ['yui2-element', 'yui2-buttoncss'],
'optional': ['yui2-menu']
//'skinnable': true
},
'yui2-buttoncss' : {
fullpath : yui2Base + "build/button/assets/skins/sam/button.css",
type : 'css'
},
'yui2-calendar': {
'type': 'js',
fullpath : yui2Base + 'build/calendar/calendar-min.js',
'requires': ['yui2-event', 'yui2-dom', 'yui2-calendarcss'],
supersedes: ['yui2-datemeth']
//'skinnable': true
},
'yui2-calendarcss' : {
fullpath : yui2Base + "build/calendar/assets/skins/sam/calendar.css",
type : 'css'
},
'yui2-carousel': {
'type': 'js',
fullpath : yui2Base + 'build/carousel/carousel-min.js',
'requires': ['yui2-element', 'yui2-carouselcss'],
'optional': ['yui2-animation']
//'skinnable': true
},
'yui2-carouselcss' : {
fullpath : yui2Base + "build/carousel/assets/skins/sam/carousel.css",
type : 'css'
},
'yui2-charts': {
'type': 'js',
fullpath : yui2Base + 'build/charts/charts-min.js',
'requires': ['yui2-element', 'yui2-json', 'yui2-datasource', 'yui2-swf']
},
'yui2-colorpicker': {
'type': 'js',
fullpath : yui2Base + 'build/colorpicker/colorpicker-min.js',
'requires': ['yui2-slider', 'yui2-element', 'yui2-colorpickercss'],
'optional': ['yui2-animation']
//'skinnable': true
},
'yui2-colorpickercss' : {
fullpath : yui2Base + "build/colorpicker/assets/skins/sam/colorpicker.css",
type : 'css'
},
'yui2-connection': {
'type': 'js',
fullpath : yui2Base + 'build/connection/connection-min.js',
'requires': ['yui2-event'],
'supersedes': ['yui2-connectioncore']
},
'yui2-connectioncore': {
'type': 'js',
fullpath : yui2Base + 'build/connection/connection_core-min.js',
'requires': ['yui2-event']
//'pkg': 'yui2-connection'
},
'yui2-container': {
'type': 'js',
fullpath : yui2Base + 'build/container/container-min.js',
'requires': ['yui2-dom', 'yui2-event'],
// button is also optional, but this creates a circular
// dependency when loadOptional is specified. button
// optionally includes menu, menu requires container.
'optional': ['yui2-dragdrop', 'yui2-animation', 'yui2-connection', 'yui2-containercss'],
'supersedes': ['yui2-containercore']
//'skinnable': true
},
'yui2-containercss' : {
fullpath : yui2Base + "build/container/assets/skins/sam/container.css",
type : 'css'
},
'yui2-containercore': {
'type': 'js',
fullpath : yui2Base + 'build/container/container_core-min.js',
'requires': ['yui2-dom', 'yui2-event']
//'pkg': 'yui2-container'
},
'yui2-cookie': {
'type': 'js',
fullpath : yui2Base + 'build/cookie/cookie-min.js',
'requires': ['yui2-yahoo']
},
'yui2-datasource': {
'type': 'js',
fullpath : yui2Base + 'build/datasource/datasource-min.js',
'requires': ['yui2-event'],
'optional': ['yui2-connection']
},
'yui2-datatable': {
'type': 'js',
fullpath : yui2Base + 'build/datatable/datatable-min.js',
'requires': ['yui2-element', 'yui2-datasource', 'yui2-datatablecss'],
'optional': ['yui2-calendar', 'yui2-dragdrop', 'yui2-paginator']
//'skinnable': true
},
'yui2-datatablecss' : {
fullpath : yui2Base + "build/datatable/assets/skins/sam/datatable.css",
type : 'css'
},
'yui2-datemath': {
'type': 'js',
fullpath : yui2Base + 'build/datemath/datemath-min.js',
'requires': ['yui2-yahoo']
},
'yui2-dom': {
'type': 'js',
fullpath : yui2Base + 'build/dom/dom-min.js',
'requires': ['yui2-yahoo']
},
'yui2-dragdrop': {
'type': 'js',
fullpath : yui2Base + 'build/dragdrop/dragdrop-min.js',
'requires': ['yui2-dom', 'yui2-event']
},
'yui2-editor': {
'type': 'js',
fullpath : yui2Base + 'build/editor/editor-min.js',
'requires': ['yui2-menu', 'yui2-element', 'yui2-button', 'yui2-editorcss'],
'optional': ['yui2-animation', 'yui2-dragdrop'],
'supersedes': ['yui2-simpleeditor']
//'skinnable': true
},
'yui2-editorcss' : {
fullpath : yui2Base + "build/editor/assets/skins/sam/editor.css",
type : 'css'
},
'yui2-element': {
'type': 'js',
fullpath : yui2Base + 'build/element/element-min.js',
'requires': ['yui2-dom', 'yui2-event'],
'optional': ['yui2-event-mouseenter', 'yui2-event-delegate']
},
'yui2-element-delegate': {
'type': 'js',
fullpath : yui2Base + 'build/element-delegate/element-delegate-min.js',
'requires': ['yui2-element']
},
'yui2-event': {
'type': 'js',
fullpath : yui2Base + 'build/event/event-min.js',
'requires': ['yui2-yahoo']
},
'yui2-event-simulate': {
'type': 'js',
fullpath : yui2Base + 'build/event-simulate/event-simulate-min.js',
'requires': ['yui2-event']
},
'yui2-event-delegate': {
'type': 'js',
fullpath : yui2Base + 'build/event-delegate/event-delegate-min.js',
'requires': ['yui2-event'],
'optional': ['yui2-selector']
},
'yui2-event-mouseenter': {
'type': 'js',
fullpath : yui2Base + 'build/event-mouseenter/event-mouseenter-min.js',
'requires': ['yui2-dom', 'yui2-event']
},
'yui2-fonts': {
'type': 'css',
fullpath : yui2Base + 'build/fonts/fonts-min.css'
},
'yui2-get': {
'type': 'js',
fullpath : yui2Base + 'build/get/get-min.js',
'requires': ['yui2-yahoo']
},
'yui2-grids': {
'type': 'css',
fullpath : yui2Base + 'build/grids/grids-min.css',
'requires': ['yui2-fonts'],
'optional': ['yui2-reset']
},
'yui2-history': {
'type': 'js',
fullpath : yui2Base + 'build/history/history-min.js',
'requires': ['yui2-event']
},
'yui2-imagecropper': {
'type': 'js',
fullpath : yui2Base + 'build/imagecropper/imagecropper-min.js',
'requires': ['yui2-dragdrop', 'yui2-element', 'yui2-resize', 'yui2-imagecroppercss']
//'skinnable': true
},
'yui2-imagecroppercss' : {
fullpath : yui2Base + "build/imagecropper/assets/skins/sam/imagecropper.css",
type : 'css'
},
'yui2-imageloader': {
'type': 'js',
fullpath : yui2Base + 'build/imageloader/imageloader-min.js',
'requires': ['yui2-event', 'yui2-dom']
},
'yui2-json': {
'type': 'js',
fullpath : yui2Base + 'build/json/json-min.js',
'requires': ['yui2-yahoo']
},
'yui2-layout': {
'type': 'js',
fullpath : yui2Base + 'build/layout/layout-min.js',
'requires': ['yui2-element'],
'optional': ['yui2-animation', 'yui2-dragdrop', 'yui2-resize', 'yui2-selector', 'yui2-samcss']
//'skinnable': true
},
'yui2-logger': {
'type': 'js',
fullpath : yui2Base + 'build/logger/logger-min.js',
'requires': ['yui2-event', 'yui2-dom', 'yui2-samcss'],
'optional': ['yui2-dragdrop']
//'skinnable': true
},
'yui2-menu': {
'type': 'js',
fullpath : yui2Base + 'build/menu/menu-min.js',
'requires': ['yui2-containercore', 'yui2-samcss']
//'skinnable': true
},
'yui2-paginator': {
'type': 'js',
fullpath : yui2Base + 'build/paginator/paginator-min.js',
'requires': ['yui2-element', 'yui2-samcss']
//'skinnable': true
},
'yui2-profiler': {
'type': 'js',
fullpath : yui2Base + 'build/profiler/profiler-min.js',
'requires': ['yui2-yahoo']
},
'yui2-profilerviewer': {
'type': 'js',
fullpath : yui2Base + 'build/profilerviewer/profilerviewer-min.js',
'requires': ['yui2-profiler', 'yui2-yuiloader', 'yui2-element', 'yui2-samcss']
//'skinnable': true
},
'yui2-progressbar': {
'type': 'js',
fullpath : yui2Base + 'build/progressbar/progressbar-min.js',
'requires': ['yui2-element', 'yui2-samcss'],
'optional': ['yui2-animation']
//'skinnable': true
},
'yui2-reset': {
'type': 'css',
fullpath : yui2Base + 'build/reset/reset-min.css'
},
'yui2-reset-fonts-grids': {
'type': 'css',
fullpath : yui2Base + 'build/reset-fonts-grids/reset-fonts-grids.css',
'supersedes': ['yui2-reset', 'yui2-fonts', 'yui2-grids', 'yui2-reset-fonts'],
'rollup': 4
},
'yui2-reset-fonts': {
'type': 'css',
fullpath : yui2Base + 'build/reset-fonts/reset-fonts.css',
'supersedes': ['yui2-reset', 'yui2-fonts'],
'rollup': 2
},
'yui2-resize': {
'type': 'js',
fullpath : yui2Base + 'build/resize/resize-min.js',
'requires': ['yui2-dragdrop', 'yui2-element', 'yui2-samcss'],
'optional': ['yui2-animation']
//'skinnable': true
},
'yui2-selector': {
'type': 'js',
fullpath : yui2Base + 'build/selector/selector-min.js',
'requires': ['yui2-yahoo', 'yui2-dom']
},
'yui2-simpleeditor': {
'type': 'js',
fullpath : yui2Base + 'build/editor/simpleeditor-min.js',
'requires': ['yui2-element', 'yui2-samcss'],
'optional': ['yui2-containercore', 'yui2-menu', 'yui2-button', 'yui2-animation', 'yui2-dragdrop', 'yui2-editorcss']
//'skinnable': true,
//'pkg': 'yui2-editor'
},
'yui2-samcss' : {
fullpath : yui2Base + "build/assets/skins/sam/skin.css",
type : 'css'
},
'yui2-slider': {
'type': 'js',
fullpath : yui2Base + 'build/slider/slider-min.js',
'requires': ['yui2-dragdrop', 'yui2-samcss'],
'optional': ['yui2-animation']
//'skinnable': true
},
'yui2-storage': {
'type': 'js',
fullpath : yui2Base + 'build/storage/storage-min.js',
'requires': ['yui2-yahoo', 'yui2-event', 'yui2-cookie'],
'optional': ['yui2-swfstore']
},
'yui2-stylesheet': {
'type': 'js',
fullpath : yui2Base + 'build/stylesheet/stylesheet-min.js',
'requires': ['yui2-yahoo']
},
'yui2-swf': {
'type': 'js',
fullpath : yui2Base + 'build/swf/swf-min.js',
'requires': ['yui2-element'],
'supersedes': ['yui2-swfdetect']
},
'yui2-swfdetect': {
'type': 'js',
fullpath : yui2Base + 'build/swfdetect/swfdetect-min.js',
'requires': ['yui2-yahoo']
},
'yui2-swfstore': {
'type': 'js',
fullpath : yui2Base + 'build/swfstore/swfstore-min.js',
'requires': ['yui2-element', 'yui2-cookie', 'yui2-swf']
},
'yui2-tabview': {
'type': 'js',
fullpath : yui2Base + 'build/tabview/tabview-min.js',
'requires': ['yui2-element', 'yui2-samcss'],
'optional': ['yui2-connection']
//'skinnable': true
},
'yui2-treeview': {
'type': 'js',
fullpath : yui2Base + 'build/treeview/treeview-min.js',
'requires': ['yui2-event', 'yui2-dom', 'yui2-samcss'],
'optional': ['yui2-json', 'yui2-animation', 'yui2-calendar']
//'skinnable': true
},
'yui2-uploader': {
'type': 'js',
fullpath : yui2Base + 'build/uploader/uploader-min.js',
'requires': ['yui2-element']
},
'yui2-utilities': {
'type': 'js',
fullpath : yui2Base + 'build/utilities/utilities.js',
'supersedes': ['yui2-yahoo', 'yui2-event', 'yui2-dragdrop', 'yui2-animation', 'yui2-dom', 'yui2-connection', 'yui2-element', 'yui2-yahoo-dom-event', 'yui2-get', 'yui2-yuiloader', 'yui2-yuiloader-dom-event'],
'rollup': 2
},
'yui2-yahoo': {
'type': 'js',
fullpath : yui2Base + 'build/yahoo/yahoo.js'
},
'yui2-yahoo-dom-event': {
'type': 'js',
fullpath : yui2Base + 'build/yahoo-dom-event/yahoo-dom-event.js',
'supersedes': ['yui2-yahoo', 'yui2-event', 'yui2-dom'],
'rollup': 3
},
'yui2-yuiloader': {
'type': 'js',
fullpath : yui2Base + 'build/yuiloader/yuiloader-min.js',
'supersedes': ['yui2-yahoo', 'yui2-get']
},
'yui2-yuiloader-dom-event': {
'type': 'js',
fullpath : yui2Base + 'build/yuiloader-dom-event/yuiloader-dom-event.js',
'supersedes': ['yui2-yahoo', 'yui2-dom', 'yui2-event', 'yui2-get', 'yui2-yuiloader', 'yui2-yahoo-dom-event'],
'rollup': 5
},
'yui2-yuitest': {
'type': 'js',
fullpath : yui2Base + 'build/yuitest/yuitest-min.js',
'requires': ['yui2-logger', 'yui2-samcss'],
'optional': ['yui2-event-simulate']
//'skinnable': true
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment