Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update metadata for the base module. Should include AFTER entries for…

… reset-fonts and reset-fonts-grids. Updating test cases.
  • Loading branch information...
commit 9655a13deb84ebb5bea6ab847319307fcece990b 1 parent db481f1
@cauld cauld authored
View
2  lib/meta/config_2.7.0.php
@@ -44,6 +44,8 @@
0 => 'reset',
1 => 'fonts',
2 => 'grids',
+ 3 => 'reset-fonts',
+ 4 => 'reset-fonts-grids',
),
'path' => 'base/base-min.css',
'type' => 'css',
View
2  lib/meta/config_2.8.0.php
@@ -60,6 +60,8 @@
0 => 'reset',
1 => 'fonts',
2 => 'grids',
+ 3 => 'reset-fonts',
+ 4 => 'reset-fonts-grids',
),
),
'button' =>
View
2  lib/meta/config_2.8.0r4.php
@@ -60,6 +60,8 @@
0 => 'reset',
1 => 'fonts',
2 => 'grids',
+ 3 => 'reset-fonts',
+ 4 => 'reset-fonts-grids',
),
),
'button' =>
View
2  lib/meta/json_2.7.0.txt
@@ -1 +1 @@
-{"base":"http://yui.yahooapis.com/2.7.0/build/","moduleInfo":{"animation":{"path":"animation/animation-min.js","requires":["dom","event"],"type":"js"},"autocomplete":{"optional":["connection","animation"],"path":"autocomplete/autocomplete-min.js","requires":["dom","event","datasource"],"skinnable":true,"type":"js"},"base":{"after":["reset","fonts","grids"],"path":"base/base-min.css","type":"css"},"button":{"optional":["menu"],"path":"button/button-min.js","requires":["element"],"skinnable":true,"type":"js"},"calendar":{"path":"calendar/calendar-min.js","requires":["event","dom"],"skinnable":true,"type":"js"},"carousel":{"optional":["animation"],"path":"carousel/carousel-min.js","requires":["element"],"skinnable":true,"type":"js"},"charts":{"path":"charts/charts-min.js","requires":["element","json","datasource"],"type":"js"},"colorpicker":{"optional":["animation"],"path":"colorpicker/colorpicker-min.js","requires":["slider","element"],"skinnable":true,"type":"js"},"connection":{"path":"connection/connection-min.js","requires":["event"],"type":"js"},"container":{"optional":["dragdrop","animation","connection"],"path":"container/container-min.js","requires":["dom","event"],"skinnable":true,"supersedes":["containercore"],"type":"js"},"containercore":{"path":"container/container_core-min.js","pkg":"container","requires":["dom","event"],"type":"js"},"cookie":{"path":"cookie/cookie-min.js","requires":["yahoo"],"type":"js"},"datasource":{"optional":["connection"],"path":"datasource/datasource-min.js","requires":["event"],"type":"js"},"datatable":{"optional":["calendar","dragdrop","paginator"],"path":"datatable/datatable-min.js","requires":["element","datasource"],"skinnable":true,"type":"js"},"dom":{"path":"dom/dom-min.js","requires":["yahoo"],"type":"js"},"dragdrop":{"path":"dragdrop/dragdrop-min.js","requires":["dom","event"],"type":"js"},"editor":{"optional":["animation","dragdrop"],"path":"editor/editor-min.js","requires":["menu","element","button"],"skinnable":true,"supersedes":["simpleeditor"],"type":"js"},"element":{"path":"element/element-min.js","requires":["dom","event"],"type":"js"},"event":{"path":"event/event-min.js","requires":["yahoo"],"type":"js"},"fonts":{"path":"fonts/fonts-min.css","type":"css"},"get":{"path":"get/get-min.js","requires":["yahoo"],"type":"js"},"grids":{"optional":["reset"],"path":"grids/grids-min.css","requires":["fonts"],"type":"css"},"history":{"path":"history/history-min.js","requires":["event"],"type":"js"},"imagecropper":{"path":"imagecropper/imagecropper-min.js","requires":["dom","event","dragdrop","element","resize"],"skinnable":true,"type":"js"},"imageloader":{"path":"imageloader/imageloader-min.js","requires":["event","dom"],"type":"js"},"json":{"path":"json/json-min.js","requires":["yahoo"],"type":"js"},"layout":{"optional":["animation","dragdrop","resize","selector"],"path":"layout/layout-min.js","requires":["dom","event","element"],"skinnable":true,"type":"js"},"logger":{"optional":["dragdrop"],"path":"logger/logger-min.js","requires":["event","dom"],"skinnable":true,"type":"js"},"menu":{"path":"menu/menu-min.js","requires":["containercore"],"skinnable":true,"type":"js"},"paginator":{"path":"paginator/paginator-min.js","requires":["element"],"skinnable":true,"type":"js"},"profiler":{"path":"profiler/profiler-min.js","requires":["yahoo"],"type":"js"},"profilerviewer":{"path":"profilerviewer/profilerviewer-min.js","requires":["profiler","yuiloader","element"],"skinnable":true,"type":"js"},"reset":{"path":"reset/reset-min.css","type":"css"},"reset-fonts":{"path":"reset-fonts/reset-fonts.css","rollup":2,"supersedes":["reset","fonts"],"type":"css"},"reset-fonts-grids":{"path":"reset-fonts-grids/reset-fonts-grids.css","rollup":4,"supersedes":["reset","fonts","grids","reset-fonts"],"type":"css"},"resize":{"optional":["animation"],"path":"resize/resize-min.js","requires":["dom","event","dragdrop","element"],"skinnable":true,"type":"js"},"selector":{"path":"selector/selector-min.js","requires":["yahoo","dom"],"type":"js"},"simpleeditor":{"optional":["containercore","menu","button","animation","dragdrop"],"path":"editor/simpleeditor-min.js","pkg":"editor","requires":["element"],"skinnable":true,"type":"js"},"slider":{"optional":["animation"],"path":"slider/slider-min.js","requires":["dragdrop"],"skinnable":true,"type":"js"},"stylesheet":{"path":"stylesheet/stylesheet-min.js","requires":["yahoo"],"type":"js"},"tabview":{"optional":["connection"],"path":"tabview/tabview-min.js","requires":["element"],"skinnable":true,"type":"js"},"treeview":{"optional":["json"],"path":"treeview/treeview-min.js","requires":["event","dom"],"skinnable":true,"type":"js"},"uploader":{"path":"uploader/uploader.js","requires":["element"],"type":"js"},"utilities":{"path":"utilities/utilities.js","rollup":8,"supersedes":["yahoo","event","dragdrop","animation","dom","connection","element","yahoo-dom-event","get","yuiloader","yuiloader-dom-event"],"type":"js"},"yahoo":{"path":"yahoo/yahoo-min.js","type":"js"},"yahoo-dom-event":{"path":"yahoo-dom-event/yahoo-dom-event.js","rollup":3,"supersedes":["yahoo","event","dom"],"type":"js"},"yuiloader":{"path":"yuiloader/yuiloader-min.js","supersedes":["yahoo","get"],"type":"js"},"yuiloader-dom-event":{"path":"yuiloader-dom-event/yuiloader-dom-event.js","rollup":5,"supersedes":["yahoo","dom","event","get","yuiloader","yahoo-dom-event"],"type":"js"},"yuitest":{"path":"yuitest/yuitest-min.js","requires":["logger"],"skinnable":true,"type":"js"}},"skin":{"after":["reset","fonts","grids","base"],"base":"assets/skins/","defaultSkin":"sam","path":"skin.css","rollup":3}}
+{"base":"http://yui.yahooapis.com/2.7.0/build/","moduleInfo":{"animation":{"path":"animation/animation-min.js","requires":["dom","event"],"type":"js"},"autocomplete":{"optional":["connection","animation"],"path":"autocomplete/autocomplete-min.js","requires":["dom","event","datasource"],"skinnable":true,"type":"js"},"base":{"after":["reset","fonts","grids","reset-fonts","reset-fonts-grids"],"path":"base/base-min.css","type":"css"},"button":{"optional":["menu"],"path":"button/button-min.js","requires":["element"],"skinnable":true,"type":"js"},"calendar":{"path":"calendar/calendar-min.js","requires":["event","dom"],"skinnable":true,"type":"js"},"carousel":{"optional":["animation"],"path":"carousel/carousel-min.js","requires":["element"],"skinnable":true,"type":"js"},"charts":{"path":"charts/charts-min.js","requires":["element","json","datasource"],"type":"js"},"colorpicker":{"optional":["animation"],"path":"colorpicker/colorpicker-min.js","requires":["slider","element"],"skinnable":true,"type":"js"},"connection":{"path":"connection/connection-min.js","requires":["event"],"type":"js"},"container":{"optional":["dragdrop","animation","connection"],"path":"container/container-min.js","requires":["dom","event"],"skinnable":true,"supersedes":["containercore"],"type":"js"},"containercore":{"path":"container/container_core-min.js","pkg":"container","requires":["dom","event"],"type":"js"},"cookie":{"path":"cookie/cookie-min.js","requires":["yahoo"],"type":"js"},"datasource":{"optional":["connection"],"path":"datasource/datasource-min.js","requires":["event"],"type":"js"},"datatable":{"optional":["calendar","dragdrop","paginator"],"path":"datatable/datatable-min.js","requires":["element","datasource"],"skinnable":true,"type":"js"},"dom":{"path":"dom/dom-min.js","requires":["yahoo"],"type":"js"},"dragdrop":{"path":"dragdrop/dragdrop-min.js","requires":["dom","event"],"type":"js"},"editor":{"optional":["animation","dragdrop"],"path":"editor/editor-min.js","requires":["menu","element","button"],"skinnable":true,"supersedes":["simpleeditor"],"type":"js"},"element":{"path":"element/element-min.js","requires":["dom","event"],"type":"js"},"event":{"path":"event/event-min.js","requires":["yahoo"],"type":"js"},"fonts":{"path":"fonts/fonts-min.css","type":"css"},"get":{"path":"get/get-min.js","requires":["yahoo"],"type":"js"},"grids":{"optional":["reset"],"path":"grids/grids-min.css","requires":["fonts"],"type":"css"},"history":{"path":"history/history-min.js","requires":["event"],"type":"js"},"imagecropper":{"path":"imagecropper/imagecropper-min.js","requires":["dom","event","dragdrop","element","resize"],"skinnable":true,"type":"js"},"imageloader":{"path":"imageloader/imageloader-min.js","requires":["event","dom"],"type":"js"},"json":{"path":"json/json-min.js","requires":["yahoo"],"type":"js"},"layout":{"optional":["animation","dragdrop","resize","selector"],"path":"layout/layout-min.js","requires":["dom","event","element"],"skinnable":true,"type":"js"},"logger":{"optional":["dragdrop"],"path":"logger/logger-min.js","requires":["event","dom"],"skinnable":true,"type":"js"},"menu":{"path":"menu/menu-min.js","requires":["containercore"],"skinnable":true,"type":"js"},"paginator":{"path":"paginator/paginator-min.js","requires":["element"],"skinnable":true,"type":"js"},"profiler":{"path":"profiler/profiler-min.js","requires":["yahoo"],"type":"js"},"profilerviewer":{"path":"profilerviewer/profilerviewer-min.js","requires":["profiler","yuiloader","element"],"skinnable":true,"type":"js"},"reset":{"path":"reset/reset-min.css","type":"css"},"reset-fonts":{"path":"reset-fonts/reset-fonts.css","rollup":2,"supersedes":["reset","fonts"],"type":"css"},"reset-fonts-grids":{"path":"reset-fonts-grids/reset-fonts-grids.css","rollup":4,"supersedes":["reset","fonts","grids","reset-fonts"],"type":"css"},"resize":{"optional":["animation"],"path":"resize/resize-min.js","requires":["dom","event","dragdrop","element"],"skinnable":true,"type":"js"},"selector":{"path":"selector/selector-min.js","requires":["yahoo","dom"],"type":"js"},"simpleeditor":{"optional":["containercore","menu","button","animation","dragdrop"],"path":"editor/simpleeditor-min.js","pkg":"editor","requires":["element"],"skinnable":true,"type":"js"},"slider":{"optional":["animation"],"path":"slider/slider-min.js","requires":["dragdrop"],"skinnable":true,"type":"js"},"stylesheet":{"path":"stylesheet/stylesheet-min.js","requires":["yahoo"],"type":"js"},"tabview":{"optional":["connection"],"path":"tabview/tabview-min.js","requires":["element"],"skinnable":true,"type":"js"},"treeview":{"optional":["json"],"path":"treeview/treeview-min.js","requires":["event","dom"],"skinnable":true,"type":"js"},"uploader":{"path":"uploader/uploader.js","requires":["element"],"type":"js"},"utilities":{"path":"utilities/utilities.js","rollup":8,"supersedes":["yahoo","event","dragdrop","animation","dom","connection","element","yahoo-dom-event","get","yuiloader","yuiloader-dom-event"],"type":"js"},"yahoo":{"path":"yahoo/yahoo-min.js","type":"js"},"yahoo-dom-event":{"path":"yahoo-dom-event/yahoo-dom-event.js","rollup":3,"supersedes":["yahoo","event","dom"],"type":"js"},"yuiloader":{"path":"yuiloader/yuiloader-min.js","supersedes":["yahoo","get"],"type":"js"},"yuiloader-dom-event":{"path":"yuiloader-dom-event/yuiloader-dom-event.js","rollup":5,"supersedes":["yahoo","dom","event","get","yuiloader","yahoo-dom-event"],"type":"js"},"yuitest":{"path":"yuitest/yuitest-min.js","requires":["logger"],"skinnable":true,"type":"js"}},"skin":{"after":["reset","fonts","grids","base"],"base":"assets/skins/","defaultSkin":"sam","path":"skin.css","rollup":3}}
View
2  lib/meta/json_2.8.0.txt
@@ -1 +1 @@
-{"base":"http://yui.yahooapis.com/2.8.0/build/","skin":{"defaultSkin":"sam","base":"assets/skins/","path":"skin.css","after":["reset","fonts","grids","base"],"rollup":3},"moduleInfo":{"animation":{"type":"js","path":"animation/animation-min.js","requires":["dom","event"]},"autocomplete":{"type":"js","path":"autocomplete/autocomplete-min.js","requires":["dom","event","datasource"],"optional":["connection","animation"],"skinnable":true},"base":{"type":"css","path":"base/base-min.css","after":["reset","fonts","grids"]},"button":{"type":"js","path":"button/button-min.js","requires":["element"],"optional":["menu"],"skinnable":true},"calendar":{"type":"js","path":"calendar/calendar-min.js","requires":["event","dom"],"supersedes":["datemeth"],"skinnable":true},"carousel":{"type":"js","path":"carousel/carousel-min.js","requires":["element"],"optional":["animation"],"skinnable":true},"charts":{"type":"js","path":"charts/charts-min.js","requires":["element","json","datasource","swf"]},"colorpicker":{"type":"js","path":"colorpicker/colorpicker-min.js","requires":["slider","element"],"optional":["animation"],"skinnable":true},"connection":{"type":"js","path":"connection/connection-min.js","requires":["event"],"supersedes":["connectioncore"]},"connectioncore":{"type":"js","path":"connection/connection_core-min.js","requires":["event"],"pkg":"connection"},"container":{"type":"js","path":"container/container-min.js","requires":["dom","event"],"optional":["dragdrop","animation","connection"],"supersedes":["containercore"],"skinnable":true},"containercore":{"type":"js","path":"container/container_core-min.js","requires":["dom","event"],"pkg":"container"},"cookie":{"type":"js","path":"cookie/cookie-min.js","requires":["yahoo"]},"datasource":{"type":"js","path":"datasource/datasource-min.js","requires":["event"],"optional":["connection"]},"datatable":{"type":"js","path":"datatable/datatable-min.js","requires":["element","datasource"],"optional":["calendar","dragdrop","paginator"],"skinnable":true},"datemath":{"type":"js","path":"datemath/datemath-min.js","requires":["yahoo"]},"dom":{"type":"js","path":"dom/dom-min.js","requires":["yahoo"]},"dragdrop":{"type":"js","path":"dragdrop/dragdrop-min.js","requires":["dom","event"]},"editor":{"type":"js","path":"editor/editor-min.js","requires":["menu","element","button"],"optional":["animation","dragdrop"],"supersedes":["simpleeditor"],"skinnable":true},"element":{"type":"js","path":"element/element-min.js","requires":["dom","event"],"optional":["event-mouseenter","event-delegate"]},"element-delegate":{"type":"js","path":"element-delegate/element-delegate-min.js","requires":["element"]},"event":{"type":"js","path":"event/event-min.js","requires":["yahoo"]},"event-simulate":{"type":"js","path":"event-simulate/event-simulate-min.js","requires":["event"]},"event-delegate":{"type":"js","path":"event-delegate/event-delegate-min.js","requires":["event"],"optional":["selector"]},"event-mouseenter":{"type":"js","path":"event-mouseenter/event-mouseenter-min.js","requires":["dom","event"]},"fonts":{"type":"css","path":"fonts/fonts-min.css"},"get":{"type":"js","path":"get/get-min.js","requires":["yahoo"]},"grids":{"type":"css","path":"grids/grids-min.css","requires":["fonts"],"optional":["reset"]},"history":{"type":"js","path":"history/history-min.js","requires":["event"]},"imagecropper":{"type":"js","path":"imagecropper/imagecropper-min.js","requires":["dragdrop","element","resize"],"skinnable":true},"imageloader":{"type":"js","path":"imageloader/imageloader-min.js","requires":["event","dom"]},"json":{"type":"js","path":"json/json-min.js","requires":["yahoo"]},"layout":{"type":"js","path":"layout/layout-min.js","requires":["element"],"optional":["animation","dragdrop","resize","selector"],"skinnable":true},"logger":{"type":"js","path":"logger/logger-min.js","requires":["event","dom"],"optional":["dragdrop"],"skinnable":true},"menu":{"type":"js","path":"menu/menu-min.js","requires":["containercore"],"skinnable":true},"paginator":{"type":"js","path":"paginator/paginator-min.js","requires":["element"],"skinnable":true},"profiler":{"type":"js","path":"profiler/profiler-min.js","requires":["yahoo"]},"profilerviewer":{"type":"js","path":"profilerviewer/profilerviewer-min.js","requires":["profiler","yuiloader","element"],"skinnable":true},"progressbar":{"type":"js","path":"progressbar/progressbar-min.js","requires":["element"],"optional":["animation"],"skinnable":true},"reset":{"type":"css","path":"reset/reset-min.css"},"reset-fonts-grids":{"type":"css","path":"reset-fonts-grids/reset-fonts-grids.css","supersedes":["reset","fonts","grids","reset-fonts"],"rollup":4},"reset-fonts":{"type":"css","path":"reset-fonts/reset-fonts.css","supersedes":["reset","fonts"],"rollup":2},"resize":{"type":"js","path":"resize/resize-min.js","requires":["dragdrop","element"],"optional":["animation"],"skinnable":true},"selector":{"type":"js","path":"selector/selector-min.js","requires":["yahoo","dom"]},"simpleeditor":{"type":"js","path":"editor/simpleeditor-min.js","requires":["element"],"optional":["containercore","menu","button","animation","dragdrop"],"skinnable":true,"pkg":"editor"},"slider":{"type":"js","path":"slider/slider-min.js","requires":["dragdrop"],"optional":["animation"],"skinnable":true},"storage":{"type":"js","path":"storage/storage-min.js","requires":["yahoo","event","cookie"],"optional":["swfstore"]},"stylesheet":{"type":"js","path":"stylesheet/stylesheet-min.js","requires":["yahoo"]},"swf":{"type":"js","path":"swf/swf-min.js","requires":["element"],"supersedes":["swfdetect"]},"swfdetect":{"type":"js","path":"swfdetect/swfdetect-min.js","requires":["yahoo"]},"swfstore":{"type":"js","path":"swfstore/swfstore-min.js","requires":["element","cookie","swf"]},"tabview":{"type":"js","path":"tabview/tabview-min.js","requires":["element"],"optional":["connection"],"skinnable":true},"treeview":{"type":"js","path":"treeview/treeview-min.js","requires":["event","dom"],"optional":["json","animation","calendar"],"skinnable":true},"uploader":{"type":"js","path":"uploader/uploader-min.js","requires":["element"]},"utilities":{"type":"js","path":"utilities/utilities.js","supersedes":["yahoo","event","dragdrop","animation","dom","connection","element","yahoo-dom-event","get","yuiloader","yuiloader-dom-event"],"rollup":8},"yahoo":{"type":"js","path":"yahoo/yahoo-min.js"},"yahoo-dom-event":{"type":"js","path":"yahoo-dom-event/yahoo-dom-event.js","supersedes":["yahoo","event","dom"],"rollup":3},"yuiloader":{"type":"js","path":"yuiloader/yuiloader-min.js","supersedes":["yahoo","get"]},"yuiloader-dom-event":{"type":"js","path":"yuiloader-dom-event/yuiloader-dom-event.js","supersedes":["yahoo","dom","event","get","yuiloader","yahoo-dom-event"],"rollup":5},"yuitest":{"type":"js","path":"yuitest/yuitest-min.js","requires":["logger"],"optional":["event-simulate"],"skinnable":true}}}
+{"base":"http://yui.yahooapis.com/2.8.0/build/","skin":{"defaultSkin":"sam","base":"assets/skins/","path":"skin.css","after":["reset","fonts","grids","base"],"rollup":3},"moduleInfo":{"animation":{"type":"js","path":"animation/animation-min.js","requires":["dom","event"]},"autocomplete":{"type":"js","path":"autocomplete/autocomplete-min.js","requires":["dom","event","datasource"],"optional":["connection","animation"],"skinnable":true},"base":{"type":"css","path":"base/base-min.css","after":["reset","fonts","grids","reset-fonts","reset-fonts-grids"]},"button":{"type":"js","path":"button/button-min.js","requires":["element"],"optional":["menu"],"skinnable":true},"calendar":{"type":"js","path":"calendar/calendar-min.js","requires":["event","dom"],"supersedes":["datemeth"],"skinnable":true},"carousel":{"type":"js","path":"carousel/carousel-min.js","requires":["element"],"optional":["animation"],"skinnable":true},"charts":{"type":"js","path":"charts/charts-min.js","requires":["element","json","datasource","swf"]},"colorpicker":{"type":"js","path":"colorpicker/colorpicker-min.js","requires":["slider","element"],"optional":["animation"],"skinnable":true},"connection":{"type":"js","path":"connection/connection-min.js","requires":["event"],"supersedes":["connectioncore"]},"connectioncore":{"type":"js","path":"connection/connection_core-min.js","requires":["event"],"pkg":"connection"},"container":{"type":"js","path":"container/container-min.js","requires":["dom","event"],"optional":["dragdrop","animation","connection"],"supersedes":["containercore"],"skinnable":true},"containercore":{"type":"js","path":"container/container_core-min.js","requires":["dom","event"],"pkg":"container"},"cookie":{"type":"js","path":"cookie/cookie-min.js","requires":["yahoo"]},"datasource":{"type":"js","path":"datasource/datasource-min.js","requires":["event"],"optional":["connection"]},"datatable":{"type":"js","path":"datatable/datatable-min.js","requires":["element","datasource"],"optional":["calendar","dragdrop","paginator"],"skinnable":true},"datemath":{"type":"js","path":"datemath/datemath-min.js","requires":["yahoo"]},"dom":{"type":"js","path":"dom/dom-min.js","requires":["yahoo"]},"dragdrop":{"type":"js","path":"dragdrop/dragdrop-min.js","requires":["dom","event"]},"editor":{"type":"js","path":"editor/editor-min.js","requires":["menu","element","button"],"optional":["animation","dragdrop"],"supersedes":["simpleeditor"],"skinnable":true},"element":{"type":"js","path":"element/element-min.js","requires":["dom","event"],"optional":["event-mouseenter","event-delegate"]},"element-delegate":{"type":"js","path":"element-delegate/element-delegate-min.js","requires":["element"]},"event":{"type":"js","path":"event/event-min.js","requires":["yahoo"]},"event-simulate":{"type":"js","path":"event-simulate/event-simulate-min.js","requires":["event"]},"event-delegate":{"type":"js","path":"event-delegate/event-delegate-min.js","requires":["event"],"optional":["selector"]},"event-mouseenter":{"type":"js","path":"event-mouseenter/event-mouseenter-min.js","requires":["dom","event"]},"fonts":{"type":"css","path":"fonts/fonts-min.css"},"get":{"type":"js","path":"get/get-min.js","requires":["yahoo"]},"grids":{"type":"css","path":"grids/grids-min.css","requires":["fonts"],"optional":["reset"]},"history":{"type":"js","path":"history/history-min.js","requires":["event"]},"imagecropper":{"type":"js","path":"imagecropper/imagecropper-min.js","requires":["dragdrop","element","resize"],"skinnable":true},"imageloader":{"type":"js","path":"imageloader/imageloader-min.js","requires":["event","dom"]},"json":{"type":"js","path":"json/json-min.js","requires":["yahoo"]},"layout":{"type":"js","path":"layout/layout-min.js","requires":["element"],"optional":["animation","dragdrop","resize","selector"],"skinnable":true},"logger":{"type":"js","path":"logger/logger-min.js","requires":["event","dom"],"optional":["dragdrop"],"skinnable":true},"menu":{"type":"js","path":"menu/menu-min.js","requires":["containercore"],"skinnable":true},"paginator":{"type":"js","path":"paginator/paginator-min.js","requires":["element"],"skinnable":true},"profiler":{"type":"js","path":"profiler/profiler-min.js","requires":["yahoo"]},"profilerviewer":{"type":"js","path":"profilerviewer/profilerviewer-min.js","requires":["profiler","yuiloader","element"],"skinnable":true},"progressbar":{"type":"js","path":"progressbar/progressbar-min.js","requires":["element"],"optional":["animation"],"skinnable":true},"reset":{"type":"css","path":"reset/reset-min.css"},"reset-fonts-grids":{"type":"css","path":"reset-fonts-grids/reset-fonts-grids.css","supersedes":["reset","fonts","grids","reset-fonts"],"rollup":4},"reset-fonts":{"type":"css","path":"reset-fonts/reset-fonts.css","supersedes":["reset","fonts"],"rollup":2},"resize":{"type":"js","path":"resize/resize-min.js","requires":["dragdrop","element"],"optional":["animation"],"skinnable":true},"selector":{"type":"js","path":"selector/selector-min.js","requires":["yahoo","dom"]},"simpleeditor":{"type":"js","path":"editor/simpleeditor-min.js","requires":["element"],"optional":["containercore","menu","button","animation","dragdrop"],"skinnable":true,"pkg":"editor"},"slider":{"type":"js","path":"slider/slider-min.js","requires":["dragdrop"],"optional":["animation"],"skinnable":true},"storage":{"type":"js","path":"storage/storage-min.js","requires":["yahoo","event","cookie"],"optional":["swfstore"]},"stylesheet":{"type":"js","path":"stylesheet/stylesheet-min.js","requires":["yahoo"]},"swf":{"type":"js","path":"swf/swf-min.js","requires":["element"],"supersedes":["swfdetect"]},"swfdetect":{"type":"js","path":"swfdetect/swfdetect-min.js","requires":["yahoo"]},"swfstore":{"type":"js","path":"swfstore/swfstore-min.js","requires":["element","cookie","swf"]},"tabview":{"type":"js","path":"tabview/tabview-min.js","requires":["element"],"optional":["connection"],"skinnable":true},"treeview":{"type":"js","path":"treeview/treeview-min.js","requires":["event","dom"],"optional":["json","animation","calendar"],"skinnable":true},"uploader":{"type":"js","path":"uploader/uploader-min.js","requires":["element"]},"utilities":{"type":"js","path":"utilities/utilities.js","supersedes":["yahoo","event","dragdrop","animation","dom","connection","element","yahoo-dom-event","get","yuiloader","yuiloader-dom-event"],"rollup":8},"yahoo":{"type":"js","path":"yahoo/yahoo-min.js"},"yahoo-dom-event":{"type":"js","path":"yahoo-dom-event/yahoo-dom-event.js","supersedes":["yahoo","event","dom"],"rollup":3},"yuiloader":{"type":"js","path":"yuiloader/yuiloader-min.js","supersedes":["yahoo","get"]},"yuiloader-dom-event":{"type":"js","path":"yuiloader-dom-event/yuiloader-dom-event.js","supersedes":["yahoo","dom","event","get","yuiloader","yahoo-dom-event"],"rollup":5},"yuitest":{"type":"js","path":"yuitest/yuitest-min.js","requires":["logger"],"optional":["event-simulate"],"skinnable":true}}}
View
2  lib/meta/json_2.8.0r4.txt
@@ -1 +1 @@
-{"base":"http://yui.yahooapis.com/2.8.0r4/build/","skin":{"defaultSkin":"sam","base":"assets/skins/","path":"skin.css","after":["reset","fonts","grids","base"],"rollup":3},"moduleInfo":{"animation":{"type":"js","path":"animation/animation-min.js","requires":["dom","event"]},"autocomplete":{"type":"js","path":"autocomplete/autocomplete-min.js","requires":["dom","event","datasource"],"optional":["connection","animation"],"skinnable":true},"base":{"type":"css","path":"base/base-min.css","after":["reset","fonts","grids"]},"button":{"type":"js","path":"button/button-min.js","requires":["element"],"optional":["menu"],"skinnable":true},"calendar":{"type":"js","path":"calendar/calendar-min.js","requires":["event","dom"],"supersedes":["datemath"],"skinnable":true},"carousel":{"type":"js","path":"carousel/carousel-min.js","requires":["element"],"optional":["animation"],"skinnable":true},"charts":{"type":"js","path":"charts/charts-min.js","requires":["element","json","datasource","swf"]},"colorpicker":{"type":"js","path":"colorpicker/colorpicker-min.js","requires":["slider","element"],"optional":["animation"],"skinnable":true},"connection":{"type":"js","path":"connection/connection-min.js","requires":["event"],"supersedes":["connectioncore"]},"connectioncore":{"type":"js","path":"connection/connection_core-min.js","requires":["event"],"pkg":"connection"},"container":{"type":"js","path":"container/container-min.js","requires":["dom","event"],"optional":["dragdrop","animation","connection"],"supersedes":["containercore"],"skinnable":true},"containercore":{"type":"js","path":"container/container_core-min.js","requires":["dom","event"],"pkg":"container"},"cookie":{"type":"js","path":"cookie/cookie-min.js","requires":["yahoo"]},"datasource":{"type":"js","path":"datasource/datasource-min.js","requires":["event"],"optional":["connection"]},"datatable":{"type":"js","path":"datatable/datatable-min.js","requires":["element","datasource"],"optional":["calendar","dragdrop","paginator"],"skinnable":true},"datemath":{"type":"js","path":"datemath/datemath-min.js","requires":["yahoo"]},"dom":{"type":"js","path":"dom/dom-min.js","requires":["yahoo"]},"dragdrop":{"type":"js","path":"dragdrop/dragdrop-min.js","requires":["dom","event"]},"editor":{"type":"js","path":"editor/editor-min.js","requires":["menu","element","button"],"optional":["animation","dragdrop"],"supersedes":["simpleeditor"],"skinnable":true},"element":{"type":"js","path":"element/element-min.js","requires":["dom","event"],"optional":["event-mouseenter","event-delegate"]},"element-delegate":{"type":"js","path":"element-delegate/element-delegate-min.js","requires":["element"]},"event":{"type":"js","path":"event/event-min.js","requires":["yahoo"]},"event-simulate":{"type":"js","path":"event-simulate/event-simulate-min.js","requires":["event"]},"event-delegate":{"type":"js","path":"event-delegate/event-delegate-min.js","requires":["event"],"optional":["selector"]},"event-mouseenter":{"type":"js","path":"event-mouseenter/event-mouseenter-min.js","requires":["dom","event"]},"fonts":{"type":"css","path":"fonts/fonts-min.css"},"get":{"type":"js","path":"get/get-min.js","requires":["yahoo"]},"grids":{"type":"css","path":"grids/grids-min.css","requires":["fonts"],"optional":["reset"]},"history":{"type":"js","path":"history/history-min.js","requires":["event"]},"imagecropper":{"type":"js","path":"imagecropper/imagecropper-min.js","requires":["dragdrop","element","resize"],"skinnable":true},"imageloader":{"type":"js","path":"imageloader/imageloader-min.js","requires":["event","dom"]},"json":{"type":"js","path":"json/json-min.js","requires":["yahoo"]},"layout":{"type":"js","path":"layout/layout-min.js","requires":["element"],"optional":["animation","dragdrop","resize","selector"],"skinnable":true},"logger":{"type":"js","path":"logger/logger-min.js","requires":["event","dom"],"optional":["dragdrop"],"skinnable":true},"menu":{"type":"js","path":"menu/menu-min.js","requires":["containercore"],"skinnable":true},"paginator":{"type":"js","path":"paginator/paginator-min.js","requires":["element"],"skinnable":true},"profiler":{"type":"js","path":"profiler/profiler-min.js","requires":["yahoo"]},"profilerviewer":{"type":"js","path":"profilerviewer/profilerviewer-min.js","requires":["profiler","yuiloader","element"],"skinnable":true},"progressbar":{"type":"js","path":"progressbar/progressbar-min.js","requires":["element"],"optional":["animation"],"skinnable":true},"reset":{"type":"css","path":"reset/reset-min.css"},"reset-fonts-grids":{"type":"css","path":"reset-fonts-grids/reset-fonts-grids.css","supersedes":["reset","fonts","grids","reset-fonts"],"rollup":4},"reset-fonts":{"type":"css","path":"reset-fonts/reset-fonts.css","supersedes":["reset","fonts"],"rollup":2},"resize":{"type":"js","path":"resize/resize-min.js","requires":["dragdrop","element"],"optional":["animation"],"skinnable":true},"selector":{"type":"js","path":"selector/selector-min.js","requires":["yahoo","dom"]},"simpleeditor":{"type":"js","path":"editor/simpleeditor-min.js","requires":["element"],"optional":["containercore","menu","button","animation","dragdrop"],"skinnable":true,"pkg":"editor"},"slider":{"type":"js","path":"slider/slider-min.js","requires":["dragdrop"],"optional":["animation"],"skinnable":true},"storage":{"type":"js","path":"storage/storage-min.js","requires":["yahoo","event","cookie"],"optional":["swfstore"]},"stylesheet":{"type":"js","path":"stylesheet/stylesheet-min.js","requires":["yahoo"]},"swf":{"type":"js","path":"swf/swf-min.js","requires":["element"],"supersedes":["swfdetect"]},"swfdetect":{"type":"js","path":"swfdetect/swfdetect-min.js","requires":["yahoo"]},"swfstore":{"type":"js","path":"swfstore/swfstore-min.js","requires":["element","cookie","swf"]},"tabview":{"type":"js","path":"tabview/tabview-min.js","requires":["element"],"optional":["connection"],"skinnable":true},"treeview":{"type":"js","path":"treeview/treeview-min.js","requires":["event","dom"],"optional":["json","animation","calendar"],"skinnable":true},"uploader":{"type":"js","path":"uploader/uploader-min.js","requires":["element"]},"utilities":{"type":"js","path":"utilities/utilities.js","supersedes":["yahoo","event","dragdrop","animation","dom","connection","element","yahoo-dom-event","get","yuiloader","yuiloader-dom-event"],"rollup":8},"yahoo":{"type":"js","path":"yahoo/yahoo-min.js"},"yahoo-dom-event":{"type":"js","path":"yahoo-dom-event/yahoo-dom-event.js","supersedes":["yahoo","event","dom"],"rollup":3},"yuiloader":{"type":"js","path":"yuiloader/yuiloader-min.js","supersedes":["yahoo","get"]},"yuiloader-dom-event":{"type":"js","path":"yuiloader-dom-event/yuiloader-dom-event.js","supersedes":["yahoo","dom","event","get","yuiloader","yahoo-dom-event"],"rollup":5},"yuitest":{"type":"js","path":"yuitest/yuitest-min.js","requires":["logger"],"optional":["event-simulate"],"skinnable":true}}}
+{"base":"http://yui.yahooapis.com/2.8.0r4/build/","skin":{"defaultSkin":"sam","base":"assets/skins/","path":"skin.css","after":["reset","fonts","grids","base"],"rollup":3},"moduleInfo":{"animation":{"type":"js","path":"animation/animation-min.js","requires":["dom","event"]},"autocomplete":{"type":"js","path":"autocomplete/autocomplete-min.js","requires":["dom","event","datasource"],"optional":["connection","animation"],"skinnable":true},"base":{"type":"css","path":"base/base-min.css","after":["reset","fonts","grids","reset-fonts","reset-fonts-grids"]},"button":{"type":"js","path":"button/button-min.js","requires":["element"],"optional":["menu"],"skinnable":true},"calendar":{"type":"js","path":"calendar/calendar-min.js","requires":["event","dom"],"supersedes":["datemath"],"skinnable":true},"carousel":{"type":"js","path":"carousel/carousel-min.js","requires":["element"],"optional":["animation"],"skinnable":true},"charts":{"type":"js","path":"charts/charts-min.js","requires":["element","json","datasource","swf"]},"colorpicker":{"type":"js","path":"colorpicker/colorpicker-min.js","requires":["slider","element"],"optional":["animation"],"skinnable":true},"connection":{"type":"js","path":"connection/connection-min.js","requires":["event"],"supersedes":["connectioncore"]},"connectioncore":{"type":"js","path":"connection/connection_core-min.js","requires":["event"],"pkg":"connection"},"container":{"type":"js","path":"container/container-min.js","requires":["dom","event"],"optional":["dragdrop","animation","connection"],"supersedes":["containercore"],"skinnable":true},"containercore":{"type":"js","path":"container/container_core-min.js","requires":["dom","event"],"pkg":"container"},"cookie":{"type":"js","path":"cookie/cookie-min.js","requires":["yahoo"]},"datasource":{"type":"js","path":"datasource/datasource-min.js","requires":["event"],"optional":["connection"]},"datatable":{"type":"js","path":"datatable/datatable-min.js","requires":["element","datasource"],"optional":["calendar","dragdrop","paginator"],"skinnable":true},"datemath":{"type":"js","path":"datemath/datemath-min.js","requires":["yahoo"]},"dom":{"type":"js","path":"dom/dom-min.js","requires":["yahoo"]},"dragdrop":{"type":"js","path":"dragdrop/dragdrop-min.js","requires":["dom","event"]},"editor":{"type":"js","path":"editor/editor-min.js","requires":["menu","element","button"],"optional":["animation","dragdrop"],"supersedes":["simpleeditor"],"skinnable":true},"element":{"type":"js","path":"element/element-min.js","requires":["dom","event"],"optional":["event-mouseenter","event-delegate"]},"element-delegate":{"type":"js","path":"element-delegate/element-delegate-min.js","requires":["element"]},"event":{"type":"js","path":"event/event-min.js","requires":["yahoo"]},"event-simulate":{"type":"js","path":"event-simulate/event-simulate-min.js","requires":["event"]},"event-delegate":{"type":"js","path":"event-delegate/event-delegate-min.js","requires":["event"],"optional":["selector"]},"event-mouseenter":{"type":"js","path":"event-mouseenter/event-mouseenter-min.js","requires":["dom","event"]},"fonts":{"type":"css","path":"fonts/fonts-min.css"},"get":{"type":"js","path":"get/get-min.js","requires":["yahoo"]},"grids":{"type":"css","path":"grids/grids-min.css","requires":["fonts"],"optional":["reset"]},"history":{"type":"js","path":"history/history-min.js","requires":["event"]},"imagecropper":{"type":"js","path":"imagecropper/imagecropper-min.js","requires":["dragdrop","element","resize"],"skinnable":true},"imageloader":{"type":"js","path":"imageloader/imageloader-min.js","requires":["event","dom"]},"json":{"type":"js","path":"json/json-min.js","requires":["yahoo"]},"layout":{"type":"js","path":"layout/layout-min.js","requires":["element"],"optional":["animation","dragdrop","resize","selector"],"skinnable":true},"logger":{"type":"js","path":"logger/logger-min.js","requires":["event","dom"],"optional":["dragdrop"],"skinnable":true},"menu":{"type":"js","path":"menu/menu-min.js","requires":["containercore"],"skinnable":true},"paginator":{"type":"js","path":"paginator/paginator-min.js","requires":["element"],"skinnable":true},"profiler":{"type":"js","path":"profiler/profiler-min.js","requires":["yahoo"]},"profilerviewer":{"type":"js","path":"profilerviewer/profilerviewer-min.js","requires":["profiler","yuiloader","element"],"skinnable":true},"progressbar":{"type":"js","path":"progressbar/progressbar-min.js","requires":["element"],"optional":["animation"],"skinnable":true},"reset":{"type":"css","path":"reset/reset-min.css"},"reset-fonts-grids":{"type":"css","path":"reset-fonts-grids/reset-fonts-grids.css","supersedes":["reset","fonts","grids","reset-fonts"],"rollup":4},"reset-fonts":{"type":"css","path":"reset-fonts/reset-fonts.css","supersedes":["reset","fonts"],"rollup":2},"resize":{"type":"js","path":"resize/resize-min.js","requires":["dragdrop","element"],"optional":["animation"],"skinnable":true},"selector":{"type":"js","path":"selector/selector-min.js","requires":["yahoo","dom"]},"simpleeditor":{"type":"js","path":"editor/simpleeditor-min.js","requires":["element"],"optional":["containercore","menu","button","animation","dragdrop"],"skinnable":true,"pkg":"editor"},"slider":{"type":"js","path":"slider/slider-min.js","requires":["dragdrop"],"optional":["animation"],"skinnable":true},"storage":{"type":"js","path":"storage/storage-min.js","requires":["yahoo","event","cookie"],"optional":["swfstore"]},"stylesheet":{"type":"js","path":"stylesheet/stylesheet-min.js","requires":["yahoo"]},"swf":{"type":"js","path":"swf/swf-min.js","requires":["element"],"supersedes":["swfdetect"]},"swfdetect":{"type":"js","path":"swfdetect/swfdetect-min.js","requires":["yahoo"]},"swfstore":{"type":"js","path":"swfstore/swfstore-min.js","requires":["element","cookie","swf"]},"tabview":{"type":"js","path":"tabview/tabview-min.js","requires":["element"],"optional":["connection"],"skinnable":true},"treeview":{"type":"js","path":"treeview/treeview-min.js","requires":["event","dom"],"optional":["json","animation","calendar"],"skinnable":true},"uploader":{"type":"js","path":"uploader/uploader-min.js","requires":["element"]},"utilities":{"type":"js","path":"utilities/utilities.js","supersedes":["yahoo","event","dragdrop","animation","dom","connection","element","yahoo-dom-event","get","yuiloader","yuiloader-dom-event"],"rollup":8},"yahoo":{"type":"js","path":"yahoo/yahoo-min.js"},"yahoo-dom-event":{"type":"js","path":"yahoo-dom-event/yahoo-dom-event.js","supersedes":["yahoo","event","dom"],"rollup":3},"yuiloader":{"type":"js","path":"yuiloader/yuiloader-min.js","supersedes":["yahoo","get"]},"yuiloader-dom-event":{"type":"js","path":"yuiloader-dom-event/yuiloader-dom-event.js","supersedes":["yahoo","dom","event","get","yuiloader","yahoo-dom-event"],"rollup":5},"yuitest":{"type":"js","path":"yuitest/yuitest-min.js","requires":["logger"],"optional":["event-simulate"],"skinnable":true}}}
View
41 phploader/loader.php
@@ -808,14 +808,19 @@ function overrideBase($base, $modules) {
$this->baseOverrides[$name] = $base;
}
}
-
+
+ /**
+ * Used to determine if one module is satisfied by provided array of modules
+ * @method listSatisfies
+ * @param {string} satisfied Module name
+ * @param {array} moduleList List of modules names
+ */
function listSatisfies($satisfied, $moduleList) {
//$this->log("listSatisfies: " . $satisfied . ", " . count($moduleList));
if (isset($moduleList[$satisfied])) {
- // $this->log("***satisfied by list " . $satisfied);
-
- $this->log("***satisfied by list " . var_export($moduleList[$satisfied], true) );
+ //$this->log("***satisfied by list " . $satisfied);
+ //$this->log("***satisfied by list " . var_export($moduleList[$satisfied], true) );
return true;
} else {
@@ -870,7 +875,7 @@ function sortDependencies($moduleType, $skipSort=false) {
foreach ($globals as $name=>$dep) {
$reqs[$name] = true;
}
-
+
// get and store the full list of dependencies.
foreach ($this->requests as $name=>$val) {
$reqs[$name] = true;
@@ -996,7 +1001,7 @@ function sortDependencies($moduleType, $skipSort=false) {
if (count($top > 0)) {
$notdone = array_merge($top, $notdone);
}
-
+
//$this->log("Not done: " . var_export($notdone, true) . ", loaded: " . var_export($this->loaded, true));
//$this->log("Not done: " . var_export($notdone, true));
@@ -1004,7 +1009,7 @@ function sortDependencies($moduleType, $skipSort=false) {
foreach ($this->loaded as $name=>$module) {
$this->accountFor($name);
}
-
+
// $this->log("done: " . var_export($this->loaded, true));
// keep going until everything is sorted
@@ -1016,7 +1021,7 @@ function sortDependencies($moduleType, $skipSort=false) {
error_log($msg, 0);
return array_merge($sorted, $notdone);
}
-
+
// each pass only processed what has not been completed
foreach ($notdone as $name => $val) {
//$this->log("processing notdone: " . $name . " of " . count($notdone));
@@ -1028,31 +1033,23 @@ function sortDependencies($moduleType, $skipSort=false) {
//$this->log("----------------------------------------------------");
$dep = $this->modules[$name];
-
$newreqs = $this->getAllDependencies($name, $this->loadOptional);
-
-
+
// $this->log($name . ": checking after " . var_export($newreqs, true));
// $this->log($name . ": checking after " . var_export($dep, true));
// add 'after' items
-
- /*
+
+ //Detect if this module needs to be included after another one of the upcoming dependencies
if (isset($dep[YUI_AFTER])) {
$after = $dep[YUI_AFTER];
- $this->log("* " .$name . ": has after " . $after);
+ //$this->log("* " .$name . ": has after " . $after);
foreach($after as $a) {
- $this->log("** " .$name . ": needs to be after " . $a);
-
- // only react if the requirement is in the dependency list
- // if ($this->listSatisfies($newreqs, $a)) {
- // if (isset($newreqs[$a])) {
- // if (isset($this->loaded[$a])) {
- if ($this->listSatisfies($notdone, $a)) {
+ //$this->log("** " .$name . ": needs to be after " . $a);
+ if (in_array($a, $notdone)) {
$newreqs[$a] = true;
}
}
}
- */
$failed = false;
View
5 phploader/test/2.0.php
@@ -7,6 +7,7 @@
*/
include("../loader.php");
+define("YUI_VERSION_TO_TEST", "2.8.0r4");
function encoded_out($str) {
echo (htmlentities($str));
@@ -52,7 +53,7 @@ function encoded_out($str) {
// the cache expires --- currently set to 30 minutes).
// arg2: a list of custom modules
// arg3: pass true if you do not want the YUI metadata
-$loader = new YAHOO_util_Loader('config_v_2', $customConfig);
+$loader = new YAHOO_util_Loader(YUI_VERSION_TO_TEST, 'config_v_2', $customConfig);
// What to load
$loader->load("menu", "animation", "test2");
@@ -72,7 +73,7 @@ function encoded_out($str) {
// Configure the base dir for a set of modules. This overrides
// the global base property
-$loader->overrideBase("/otherbasedir/", $customConfig);
+$loader->overrideBase("/otherbasedir/", array("test1", "test2", "test3"));
// No filter is applied by default. YUI_RAW ("RAW") and YUI_DEBUG
// ("DEBUG") are currently the only valid options. The former will
View
3  phploader/test/json.php
@@ -7,8 +7,9 @@
*/
include("../loader.php");
+define("YUI_VERSION_TO_TEST", "2.8.0r4");
-$loader = new YAHOO_util_Loader();
+$loader = new YAHOO_util_Loader(YUI_VERSION_TO_TEST);
$output = "";
$checked = "";
View
4 phploader/test/local-combo-loader.php
@@ -7,7 +7,9 @@
*/
include("../loader.php");
- $loader = new YAHOO_util_Loader("2.8.0r4");
+ define("YUI_VERSION_TO_TEST", "2.8.0r4");
+
+ $loader = new YAHOO_util_Loader(YUI_VERSION_TO_TEST);
//Specify YUI components to load
$loader->combine = true;
View
3  phploader/test/test-loader.php
@@ -9,11 +9,12 @@
error_reporting(E_ALL);
include("../loader.php");
+define("YUI_VERSION_TO_TEST", "2.8.0r4");
// create the loader instance, this sets up the platform config as well,
// which we need right away because we are iterating the packages to
// generate a list of available modules.
-$loader = new YAHOO_util_Loader();
+$loader = new YAHOO_util_Loader(YUI_VERSION_TO_TEST);
$output = "";
$checked = "";
View
29 phploader/test/test.php
@@ -9,6 +9,7 @@
// header('Content-type: text/ascii');
include("../loader.php");
+define("YUI_VERSION_TO_TEST", "2.8.0r4");
function encoded_out($str) {
echo (htmlentities($str));
@@ -22,7 +23,7 @@ function encoded_out($str) {
encoded_out ("\n\nTest 1a:\n\n");
-$l1 = new YAHOO_util_Loader();
+$l1 = new YAHOO_util_Loader(YUI_VERSION_TO_TEST);
$l1->load("dragdrop");
encoded_out ($l1->tags());
@@ -45,7 +46,7 @@ function encoded_out($str) {
encoded_out ("\n\nTest 2:\n\n");
-$l2 = new YAHOO_util_Loader();
+$l2 = new YAHOO_util_Loader(YUI_VERSION_TO_TEST);
$l2->load("event");
$l2->base = "http://makeover.corp.yahoo.com/2.4.0/build/";
encoded_out ($l2->tags());
@@ -56,7 +57,7 @@ function encoded_out($str) {
encoded_out ("\n\nTest 3:\n\n");
-$l3 = new YAHOO_util_Loader();
+$l3 = new YAHOO_util_Loader(YUI_VERSION_TO_TEST);
$l3->load("dragdrop");
$l3->load("utilities");
encoded_out ($l3->tags());
@@ -71,7 +72,7 @@ function encoded_out($str) {
encoded_out ("\n\nTest 4:\n\n");
-$l4 = new YAHOO_util_Loader();
+$l4 = new YAHOO_util_Loader(YUI_VERSION_TO_TEST);
$l4->load("dragdrop");
$l4->load("animation");
$l4->load("connection");
@@ -88,7 +89,7 @@ function encoded_out($str) {
encoded_out ("\n\nTest 4b:\n\n");
-$l4b = new YAHOO_util_Loader();
+$l4b = new YAHOO_util_Loader(YUI_VERSION_TO_TEST);
$l4b->load("dragdrop", "animation");
$l4b->setLoaded("event", "dom");
encoded_out ( $l4b -> tags() );
@@ -101,7 +102,7 @@ function encoded_out($str) {
encoded_out ("\n\nTest 5:\n\n");
-$l5 = new YAHOO_util_Loader();
+$l5 = new YAHOO_util_Loader(YUI_VERSION_TO_TEST);
$l5->load("slider");
encoded_out ($l5->tags());
@@ -111,7 +112,7 @@ function encoded_out($str) {
encoded_out ("\n\nTest 6:\n\n");
-$l6 = new YAHOO_util_Loader();
+$l6 = new YAHOO_util_Loader(YUI_VERSION_TO_TEST);
$l6->loadOptional = true;
//var_dump($yui_load_manager->modules["slider"]);
@@ -126,7 +127,7 @@ function encoded_out($str) {
encoded_out ("\n\nTest 6b:\n\n");
-$l6b = new YAHOO_util_Loader();
+$l6b = new YAHOO_util_Loader(YUI_VERSION_TO_TEST);
$l6b->loadOptional = true;
$l6b->load("slider", "connection");
encoded_out ($l6b->tags());
@@ -138,7 +139,7 @@ function encoded_out($str) {
encoded_out ("\n\nTest 7:\n\n");
-$l7 = new YAHOO_util_Loader();
+$l7 = new YAHOO_util_Loader(YUI_VERSION_TO_TEST);
$l7->load('editor');
$l7->skin['overrides']['button'] = array('skin1', 'skin2', 'skin3');
encoded_out ($l7->tags());
@@ -149,10 +150,10 @@ function encoded_out($str) {
encoded_out ("\n\nTest 8:\n\n");
-$l8 = new YAHOO_util_Loader();
+$l8 = new YAHOO_util_Loader(YUI_VERSION_TO_TEST);
$l8->load("treeview");
$l8->load("treeviewcss");
-$l8->setLoaded("skin-sam-treeview");
+$l8->setLoaded("treeview");
encoded_out ("<!-- css -->\n");
encoded_out ($l8->css());
encoded_out ("<!-- js -->\n");
@@ -164,7 +165,7 @@ function encoded_out($str) {
encoded_out ("\n\nTest 9:\n\n");
-$l9 = new YAHOO_util_Loader();
+$l9 = new YAHOO_util_Loader(YUI_VERSION_TO_TEST);
$l9->load("calendar");
encoded_out ($l9->json());
@@ -173,7 +174,7 @@ function encoded_out($str) {
//////////////////////////////////////////////////////////////////////////
encoded_out ("\n\nTest 10:\n\n");
-$l10 = new YAHOO_util_Loader();
+$l10 = new YAHOO_util_Loader(YUI_VERSION_TO_TEST);
$l10->load("calendar");
encoded_out ($l10->embed());
@@ -185,7 +186,7 @@ function encoded_out($str) {
//"menu" => true
//));
-$l11 = new YAHOO_util_Loader();
+$l11 = new YAHOO_util_Loader(YUI_VERSION_TO_TEST);
$l11->base = "../../build/";
$l11->filter = YUI_DEBUG;
View
3  phploader/test/verify.php
@@ -9,6 +9,7 @@
error_reporting(E_ALL);
include("../loader.php");
+define("YUI_VERSION_TO_TEST", "2.8.0r4");
function verify($name, $url) {
@@ -47,7 +48,7 @@ function verify($name, $url) {
// create the loader instance, this sets up the platform config as well,
// which we need right away because we are iterating the packages to
// generate a list of available modules.
-$loader = new YAHOO_util_Loader();
+$loader = new YAHOO_util_Loader(YUI_VERSION_TO_TEST);
$output = "";
$checked = "";
Please sign in to comment.
Something went wrong with that request. Please try again.