Skip to content

Instantly share code, notes, and snippets.

@davglass
Created March 18, 2009 18:58
Show Gist options
  • Save davglass/81316 to your computer and use it in GitHub Desktop.
Save davglass/81316 to your computer and use it in GitHub Desktop.
<?php
/**
* YUI Module info from YUILoader
*/
$yui_moduleInfo = array(
'animation' => array(
'type' => 'js',
'path' => 'animation/animation-min.js',
'requires' => array('dom', 'event')
),
'autocomplete' => array(
'type' => 'js',
'path' => 'autocomplete/autocomplete-min.js',
'requires' => array('dom', 'event', 'datasource'),
'optional' => array('connection', 'animation'),
'skinnable' => true
),
'base' => array(
'type' => 'css',
'path' => 'base/base-min.css',
'after' => array('reset', 'fonts', 'grids')
),
'button' => array(
'type' => 'js',
'path' => 'button/button-min.js',
'requires' => array('element'),
'optional' => array('menu'),
'skinnable' => true
),
'calendar' => array(
'type' => 'js',
'path' => 'calendar/calendar-min.js',
'requires' => array('event', 'dom'),
'skinnable' => true
),
'carousel' => array(
'type' => 'js',
'path' => 'carousel/carousel-min.js',
'requires' => array('element'),
'optional' => array('animation'),
'skinnable' => true
),
'charts' => array(
'type' => 'js',
'path' => 'charts/charts-min.js',
'requires' => array('element', 'json', 'datasource')
),
'colorpicker' => array(
'type' => 'js',
'path' => 'colorpicker/colorpicker-min.js',
'requires' => array('slider', 'element'),
'optional' => array('animation'),
'skinnable' => true
),
'connection' => array(
'type' => 'js',
'path' => 'connection/connection-min.js',
'requires' => array('event')
),
'container' => array(
'type' => 'js',
'path' => 'container/container-min.js',
'requires' => array('dom', 'event'),
// button is also optional, but this creates a circular
// dependency when loadOptional is specified. button
// optionally includes menu, menu requires container.
'optional' => array('dragdrop', 'animation', 'connection'),
'supersedes' => array('containercore'),
'skinnable' => true
),
'containercore' => array(
'type' => 'js',
'path' => 'container/container_core-min.js',
'requires' => array('dom', 'event'),
'pkg' => 'container'
),
'cookie' => array(
'type' => 'js',
'path' => 'cookie/cookie-min.js',
'requires' => array('yahoo')
),
'datasource' => array(
'type' => 'js',
'path' => 'datasource/datasource-min.js',
'requires' => array('event'),
'optional' => array('connection')
),
'datatable' => array(
'type' => 'js',
'path' => 'datatable/datatable-min.js',
'requires' => array('element', 'datasource'),
'optional' => array('calendar', 'dragdrop', 'paginator'),
'skinnable' => true
),
'dom' => array(
'type' => 'js',
'path' => 'dom/dom-min.js',
'requires' => array('yahoo')
),
'dragdrop' => array(
'type' => 'js',
'path' => 'dragdrop/dragdrop-min.js',
'requires' => array('dom', 'event')
),
'editor' => array(
'type' => 'js',
'path' => 'editor/editor-min.js',
'requires' => array('menu', 'element', 'button'),
'optional' => array('animation', 'dragdrop'),
'supersedes' => array('simpleeditor'),
'skinnable' => true
),
'element' => array(
'type' => 'js',
'path' => 'element/element-min.js',
'requires' => array('dom', 'event')
),
'event' => array(
'type' => 'js',
'path' => 'event/event-min.js',
'requires' => array('yahoo')
),
'fonts' => array(
'type' => 'css',
'path' => 'fonts/fonts-min.css'
),
'get' => array(
'type' => 'js',
'path' => 'get/get-min.js',
'requires' => array('yahoo')
),
'grids' => array(
'type' => 'css',
'path' => 'grids/grids-min.css',
'requires' => array('fonts'),
'optional' => array('reset')
),
'history' => array(
'type' => 'js',
'path' => 'history/history-min.js',
'requires' => array('event')
),
'imagecropper' => array(
'type' => 'js',
'path' => 'imagecropper/imagecropper-min.js',
'requires' => array('dom', 'event', 'dragdrop', 'element', 'resize'),
'skinnable' => true
),
'imageloader' => array(
'type' => 'js',
'path' => 'imageloader/imageloader-min.js',
'requires' => array('event', 'dom')
),
'json' => array(
'type' => 'js',
'path' => 'json/json-min.js',
'requires' => array('yahoo')
),
'layout' => array(
'type' => 'js',
'path' => 'layout/layout-min.js',
'requires' => array('dom', 'event', 'element'),
'optional' => array('animation', 'dragdrop', 'resize', 'selector'),
'skinnable' => true
),
'logger' => array(
'type' => 'js',
'path' => 'logger/logger-min.js',
'requires' => array('event', 'dom'),
'optional' => array('dragdrop'),
'skinnable' => true
),
'menu' => array(
'type' => 'js',
'path' => 'menu/menu-min.js',
'requires' => array('containercore'),
'skinnable' => true
),
'paginator' => array(
'type' => 'js',
'path' => 'paginator/paginator-min.js',
'requires' => array('element'),
'skinnable' => true
),
'profiler' => array(
'type' => 'js',
'path' => 'profiler/profiler-min.js',
'requires' => array('yahoo')
),
'profilerviewer' => array(
'type' => 'js',
'path' => 'profilerviewer/profilerviewer-min.js',
'requires' => array('profiler', 'yuiloader', 'element'),
'skinnable' => true
),
'reset' => array(
'type' => 'css',
'path' => 'reset/reset-min.css'
),
'reset-fonts-grids' => array(
'type' => 'css',
'path' => 'reset-fonts-grids/reset-fonts-grids.css',
'supersedes' => array('reset', 'fonts', 'grids', 'reset-fonts'),
'rollup' => 4
),
'reset-fonts' => array(
'type' => 'css',
'path' => 'reset-fonts/reset-fonts.css',
'supersedes' => array('reset', 'fonts'),
'rollup' => 2
),
'resize' => array(
'type' => 'js',
'path' => 'resize/resize-min.js',
'requires' => array('dom', 'event', 'dragdrop', 'element'),
'optional' => array('animation'),
'skinnable' => true
),
'selector' => array(
'type' => 'js',
'path' => 'selector/selector-min.js',
'requires' => array('yahoo', 'dom')
),
'simpleeditor' => array(
'type' => 'js',
'path' => 'editor/simpleeditor-min.js',
'requires' => array('element'),
'optional' => array('containercore', 'menu', 'button', 'animation', 'dragdrop'),
'skinnable' => true,
'pkg' => 'editor'
),
'slider' => array(
'type' => 'js',
'path' => 'slider/slider-min.js',
'requires' => array('dragdrop'),
'optional' => array('animation'),
'skinnable' => true
),
'stylesheet' => array(
'type' => 'js',
'path' => 'stylesheet/stylesheet-min.js',
'requires' => array('yahoo')
),
'tabview' => array(
'type' => 'js',
'path' => 'tabview/tabview-min.js',
'requires' => array('element'),
'optional' => array('connection'),
'skinnable' => true
),
'treeview' => array(
'type' => 'js',
'path' => 'treeview/treeview-min.js',
'requires' => array('event', 'dom'),
'optional' => array('json'),
'skinnable' => true
),
'uploader' => array(
'type' => 'js',
'path' => 'uploader/uploader.js',
'requires' => array('element')
),
'utilities' => array(
'type' => 'js',
'path' => 'utilities/utilities.js',
'supersedes' => array('yahoo', 'event', 'dragdrop', 'animation', 'dom', 'connection', 'element', 'yahoo-dom-event', 'get', 'yuiloader', 'yuiloader-dom-event'),
'rollup' => 8
),
'yahoo' => array(
'type' => 'js',
'path' => 'yahoo/yahoo-min.js'
),
'yahoo-dom-event' => array(
'type' => 'js',
'path' => 'yahoo-dom-event/yahoo-dom-event.js',
'supersedes' => array('yahoo', 'event', 'dom'),
'rollup' => 3
),
'yuiloader' => array(
'type' => 'js',
'path' => 'yuiloader/yuiloader-min.js',
'supersedes' => array('yahoo', 'get')
),
'yuiloader-dom-event' => array(
'type' => 'js',
'path' => 'yuiloader-dom-event/yuiloader-dom-event.js',
'supersedes' => array('yahoo', 'dom', 'event', 'get', 'yuiloader', 'yahoo-dom-event'),
'rollup' => 5
),
'yuitest' => array(
'type' => 'js',
'path' => 'yuitest/yuitest-min.js',
'requires' => array('logger'),
'skinnable' => true
)
);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment