Browse files

Including the scripts again in the tests and examples. Complete gadge…

…ts are now cajoling.
  • Loading branch information...
1 parent 1f238a7 commit a4c319fcdfb992936be43cabeb35483e80ec3b20 @lsmith lsmith committed Aug 29, 2009
Showing with 393 additions and 276 deletions.
  1. +3 −0 tests/connection_gadget.html
  2. +2 −7 tests/core_gadget.html
  3. +2 −0 tests/dd_gadget.html
  4. +3 −3 tests/examples/abort_clean.html
  5. +4 −4 tests/examples/ac_basic_array_clean.html
  6. +3 −3 tests/examples/btn_example01_clean.html
  7. +3 −3 tests/examples/btn_example02_clean.html
  8. +3 −3 tests/examples/btn_example03_clean.html
  9. +3 −3 tests/examples/btn_example04_clean.html
  10. +3 −3 tests/examples/btn_example05_clean.html
  11. +3 −3 tests/examples/btn_example06_clean.html
  12. +5 −5 tests/examples/btn_example07_clean.html
  13. +5 −5 tests/examples/btn_example08_clean.html
  14. +5 −5 tests/examples/btn_example09_clean.html
  15. +5 −5 tests/examples/btn_example10_clean.html
  16. +8 −8 tests/examples/btn_example11_clean.html
  17. +5 −5 tests/examples/btn_example12_clean.html
  18. +6 −6 tests/examples/btn_example13_clean.html
  19. +7 −7 tests/examples/btn_example14_clean.html
  20. +5 −5 tests/examples/button-ariaplugin_clean.html
  21. +5 −5 tests/examples/button-menu-select_clean.html
  22. +5 −5 tests/examples/button-menu-swap_clean.html
  23. +3 −3 tests/examples/callback_customevents_clean.html
  24. +1 −1 tests/examples/custom-event_clean.html
  25. +6 −6 tests/examples/dialog-quickstart_clean.html
  26. +1 −0 tests/examples/event-delegation_clean.html
  27. +1 −1 tests/examples/eventsimple_clean.html
  28. +3 −3 tests/examples/get_clean.html
  29. +3 −3 tests/examples/global_customevents_clean.html
  30. +5 −5 tests/examples/menu_layout_clean.html
  31. +2 −2 tests/examples/module_clean.html
  32. +8 −8 tests/examples/nested_layout_clean.html
  33. +2 −2 tests/examples/overlay_clean.html
  34. +8 −8 tests/examples/page_layout_clean.html
  35. +3 −3 tests/examples/panel_clean.html
  36. +9 −9 tests/examples/panel_layout_clean.html
  37. +3 −3 tests/examples/post_clean.html
  38. +4 −4 tests/examples/simpledialog-quickstart_clean.html
  39. +2 −2 tests/examples/tooltip_clean.html
  40. +3 −3 tests/examples/weather_clean.html
  41. +2 −0 tests/json_gadget.html
  42. +5 −0 tests/resize_gadget.html
  43. +2 −0 tests/treeview_gadget.html
  44. +4 −4 tests/yuitest_gadget.html
  45. +5 −1 tests/yuitests/animation.html
  46. +8 −8 tests/yuitests/autocomplete.html
  47. +4 −4 tests/yuitests/calendar.html
  48. +9 −9 tests/yuitests/colorpicker.html
  49. +5 −5 tests/yuitests/config.html
  50. +5 −1 tests/yuitests/connection.html
  51. +5 −1 tests/yuitests/cookie.html
  52. +5 −1 tests/yuitests/datasource.html
  53. +4 −4 tests/yuitests/datemath.html
  54. +5 −1 tests/yuitests/dd.html
  55. +4 −1 tests/yuitests/dom.html
  56. +5 −1 tests/yuitests/element.html
  57. +4 −1 tests/yuitests/event.html
  58. +7 −7 tests/yuitests/imageloader.html
  59. +86 −24 tests/yuitests/json.html
  60. +9 −9 tests/yuitests/menu.html
  61. +7 −7 tests/yuitests/module.html
  62. +8 −8 tests/yuitests/paginator.html
  63. +5 −1 tests/yuitests/profiler.html
  64. +7 −2 tests/yuitests/selector.html
  65. +7 −7 tests/yuitests/slider.html
  66. +8 −8 tests/yuitests/tabview.html
  67. +4 −1 tests/yuitests/yahoo.html
  68. +4 −1 tests/yuitests/yuitest.html
View
3 tests/connection_gadget.html
@@ -2,6 +2,9 @@
<head>
</head>
<body>
+<script src="yui/yahoo/yahoo-min.js"></script>
+<script src="yui/event/event-min.js"></script>
+<script src="yui/connection/connection-min.js"></script>
<script>
cajita.log('start');
YAHOO.log = cajita.log;
View
9 tests/core_gadget.html
@@ -1,18 +1,13 @@
<html>
<head>
-
-<style>
-
-
-
-</style>
-
</head>
<body>
<div id="div1">div1</div>
<div id="div2">div2</div>
+<script src="yui/yahoo/yahoo-min.js"></script>
+<script src="yui/event/event-min.js"></script>
<script>
YAHOO.log = cajita.log;
View
2 tests/dd_gadget.html
@@ -92,6 +92,8 @@
<div id="dd-handle-3b" class="dd-outer-handle">Outer</div>
<div id="dd-demo-3" class="dd-demo"></div>
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/dragdrop/dragdrop-min.js"></script>
<script>
YAHOO.log = cajita.log;
View
6 tests/examples/abort_clean.html
@@ -19,9 +19,9 @@
</style>
<link rel="stylesheet" type="text/css" href="yui/fonts/fonts-min.css" />
-<!--script type="text/javascript" src="../../build/yahoo/yahoo-min.js"></script-->
-<!--script type="text/javascript" src="../../build/event/event-min.js"></script-->
-<!--script type="text/javascript" src="../../build/connection/connection-min.js"></script-->
+<script src="yui/yahoo/yahoo-min.js"></script>
+<script src="yui/event/event-min.js"></script>
+<script src="yui/connection/connection-min.js"></script>
<!--begin custom header content for this example-->
View
8 tests/examples/ac_basic_array_clean.html
@@ -19,10 +19,10 @@
<link rel="stylesheet" type="text/css" href="yui/fonts/fonts-min.css" />
<link rel="stylesheet" type="text/css" href="yui/autocomplete/assets/skins/sam/autocomplete.css" />
-<!--script type="text/javascript" src="../../build/yahoo-dom-event/yahoo-dom-event.js"></script-->
-<!--script type="text/javascript" src="../../build/animation/animation-min.js"></script-->
-<!--script type="text/javascript" src="../../build/datasource/datasource-min.js"></script-->
-<!--script type="text/javascript" src="../../build/autocomplete/autocomplete-min.js"></script-->
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/animation/animation-min.js"></script>
+<script src="yui/datasource/datasource-min.js"></script>
+<script src="yui/autocomplete/autocomplete-min.js"></script>
<!--begin custom header content for this example-->
View
6 tests/examples/btn_example01_clean.html
@@ -20,9 +20,9 @@
<link rel="stylesheet" type="text/css" href="yui/fonts/fonts-min.css" />
<link rel="stylesheet" type="text/css" href="yui/button/assets/skins/sam/button.css" />
-<!--script type="text/javascript" src="../../build/yahoo-dom-event/yahoo-dom-event.js"></script-->
-<!--script type="text/javascript" src="../../build/element/element-min.js"></script-->
-<!--script type="text/javascript" src="../../build/button/button-min.js"></script-->
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/element/element-min.js"></script>
+<script src="yui/button/button-min.js"></script>
<!--begin custom header content for this example-->
View
6 tests/examples/btn_example02_clean.html
@@ -20,9 +20,9 @@
<link rel="stylesheet" type="text/css" href="yui/fonts/fonts-min.css" />
<link rel="stylesheet" type="text/css" href="yui/button/skins/sam/button.css" />
-<!--script type="text/javascript" src="../../build/yahoo-dom-event/yahoo-dom-event.js"></script-->
-<!--script type="text/javascript" src="../../build/element/element-min.js"></script-->
-<!--script type="text/javascript" src="../../build/button/button-min.js"></script-->
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/element/element-min.js"></script>
+<script src="yui/button/button-min.js"></script>
<!--begin custom header content for this example-->
View
6 tests/examples/btn_example03_clean.html
@@ -20,9 +20,9 @@
<link rel="stylesheet" type="text/css" href="yui/fonts/fonts-min.css" />
<link rel="stylesheet" type="text/css" href="yui/button/skins/sam/button.css" />
-<!--script type="text/javascript" src="../../build/yahoo-dom-event/yahoo-dom-event.js"></script-->
-<!--script type="text/javascript" src="../../build/element/element-min.js"></script-->
-<!--script type="text/javascript" src="../../build/button/button-min.js"></script-->
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/element/element-min.js"></script>
+<script src="yui/button/button-min.js"></script>
<!--begin custom header content for this example-->
View
6 tests/examples/btn_example04_clean.html
@@ -18,9 +18,9 @@
<link rel="stylesheet" type="text/css" href="yui/fonts/fonts-min.css" />
<link rel="stylesheet" type="text/css" href="yui/button/skins/sam/button.css" />
-<!--script type="text/javascript" src="../../build/yahoo-dom-event/yahoo-dom-event.js"></script-->
-<!--script type="text/javascript" src="../../build/element/element-min.js"></script-->
-<!--script type="text/javascript" src="../../build/button/button-min.js"></script-->
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/element/element-min.js"></script>
+<script src="yui/button/button-min.js"></script>
<!--begin custom header content for this example-->
View
6 tests/examples/btn_example05_clean.html
@@ -20,9 +20,9 @@
<link rel="stylesheet" type="text/css" href="yui/fonts/fonts-min.css" />
<link rel="stylesheet" type="text/css" href="yui/button/assets/skins/sam/button.css" />
-<!--script type="text/javascript" src="../../build/yahoo-dom-event/yahoo-dom-event.js"></script-->
-<!--script type="text/javascript" src="../../build/element/element-min.js"></script-->
-<!--script type="text/javascript" src="../../build/button/button-min.js"></script-->
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/element/element-min.js"></script>
+<script src="yui/button/button-min.js"></script>
<!--begin custom header content for this example-->
View
6 tests/examples/btn_example06_clean.html
@@ -20,9 +20,9 @@
<link rel="stylesheet" type="text/css" href="yui/fonts/fonts-min.css">
<link rel="stylesheet" type="text/css" href="yui/button/assets/skins/sam/button.css">
-<!--script type="text/javascript" src="../../build/yahoo-dom-event/yahoo-dom-event.js"></script-->
-<!--script type="text/javascript" src="../../build/element/element-min.js"></script-->
-<!--script type="text/javascript" src="../../build/button/button-min.js"></script-->
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/element/element-min.js"></script>
+<script src="yui/button/button-min.js"></script>
<!--begin custom header content for this example-->
View
10 tests/examples/btn_example07_clean.html
@@ -21,11 +21,11 @@
<link rel="stylesheet" type="text/css" href="yui/fonts/fonts-min.css">
<link rel="stylesheet" type="text/css" href="yui/menu/assets/skins/sam/menu.css">
<link rel="stylesheet" type="text/css" href="yui/button/assets/skins/sam/button.css">
-<!--script type="text/javascript" src="../../build/yahoo-dom-event/yahoo-dom-event.js"></script-->
-<!--script type="text/javascript" src="../../build/container/container_core-min.js"></script-->
-<!--script type="text/javascript" src="../../build/menu/menu-min.js"></script-->
-<!--script type="text/javascript" src="../../build/element/element-min.js"></script-->
-<!--script type="text/javascript" src="../../build/button/button-min.js"></script-->
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/container/container_core-min.js"></script>
+<script src="yui/menu/menu-min.js"></script>
+<script src="yui/element/element-min.js"></script>
+<script src="yui/button/button-min.js"></script>
<!--begin custom header content for this example-->
View
10 tests/examples/btn_example08_clean.html
@@ -21,11 +21,11 @@
<link rel="stylesheet" type="text/css" href="yui/fonts/fonts-min.css">
<link rel="stylesheet" type="text/css" href="yui/menu/assets/skins/sam/menu.css">
<link rel="stylesheet" type="text/css" href="yui/button/assets/skins/sam/button.css">
-<!--script type="text/javascript" src="../../build/yahoo-dom-event/yahoo-dom-event.js"></script-->
-<!--script type="text/javascript" src="../../build/container/container_core-min.js"></script-->
-<!--script type="text/javascript" src="../../build/menu/menu-min.js"></script-->
-<!--script type="text/javascript" src="../../build/element/element-min.js"></script-->
-<!--script type="text/javascript" src="../../build/button/button-min.js"></script-->
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/container/container_core-min.js"></script>
+<script src="yui/menu/menu-min.js"></script>
+<script src="yui/element/element-min.js"></script>
+<script src="yui/button/button-min.js"></script>
<!--begin custom header content for this example-->
View
10 tests/examples/btn_example09_clean.html
@@ -21,11 +21,11 @@
<link rel="stylesheet" type="text/css" href="yui/fonts/fonts-min.css">
<link rel="stylesheet" type="text/css" href="yui/calendar/assets/skins/sam/calendar.css">
<link rel="stylesheet" type="text/css" href="yui/button/assets/skins/sam/button.css">
-<!--script type="text/javascript" src="../../build/yahoo-dom-event/yahoo-dom-event.js"></script-->
-<!--script type="text/javascript" src="../../build/calendar/calendar-min.js"></script-->
-<!--script type="text/javascript" src="../../build/container/container_core-min.js"></script-->
-<!--script type="text/javascript" src="../../build/element/element-min.js"></script-->
-<!--script type="text/javascript" src="../../build/button/button-min.js"></script-->
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/calendar/calendar-min.js"></script>
+<script src="yui/container/container_core-min.js"></script>
+<script src="yui/element/element-min.js"></script>
+<script src="yui/button/button-min.js"></script>
<!--begin custom header content for this example-->
View
10 tests/examples/btn_example10_clean.html
@@ -21,11 +21,11 @@
<link rel="stylesheet" type="text/css" href="yui/fonts/fonts-min.css">
<link rel="stylesheet" type="text/css" href="yui/calendar/assets/skins/sam/calendar.css">
<link rel="stylesheet" type="text/css" href="yui/button/assets/skins/sam/button.css">
-<!--script type="text/javascript" src="../../build/yahoo-dom-event/yahoo-dom-event.js"></script-->
-<!--script type="text/javascript" src="../../build/calendar/calendar-min.js"></script-->
-<!--script type="text/javascript" src="../../build/container/container_core-min.js"></script-->
-<!--script type="text/javascript" src="../../build/element/element-min.js"></script-->
-<!--script type="text/javascript" src="../../build/button/button-min.js"></script-->
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/calendar/calendar-min.js"></script>
+<script src="yui/container/container_core-min.js"></script>
+<script src="yui/element/element-min.js"></script>
+<script src="yui/button/button-min.js"></script>
<!--begin custom header content for this example-->
View
16 tests/examples/btn_example11_clean.html
@@ -23,14 +23,14 @@
<link rel="stylesheet" type="text/css" href="yui/colorpicker/assets/skins/sam/colorpicker.css">
<link rel="stylesheet" type="text/css" href="yui/menu/assets/skins/sam/menu.css">
<link rel="stylesheet" type="text/css" href="yui/button/assets/skins/sam/button.css">
-<!--script type="text/javascript" src="../../build/yahoo-dom-event/yahoo-dom-event.js"></script-->
-<!--script type="text/javascript" src="../../build/dragdrop/dragdrop-min.js"></script-->
-<!--script type="text/javascript" src="../../build/slider/slider-min.js"></script-->
-<!--script type="text/javascript" src="../../build/element/element-min.js"></script-->
-<!--script type="text/javascript" src="../../build/colorpicker/colorpicker-min.js"></script-->
-<!--script type="text/javascript" src="../../build/container/container_core-min.js"></script-->
-<!--script type="text/javascript" src="../../build/menu/menu-min.js"></script-->
-<!--script type="text/javascript" src="../../build/button/button-min.js"></script-->
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/dragdrop/dragdrop-min.js"></script>
+<script src="yui/slider/slider-min.js"></script>
+<script src="yui/element/element-min.js"></script>
+<script src="yui/colorpicker/colorpicker-min.js"></script>
+<script src="yui/container/container_core-min.js"></script>
+<script src="yui/menu/menu-min.js"></script>
+<script src="yui/button/button-min.js"></script>
<!--begin custom header content for this example-->
View
10 tests/examples/btn_example12_clean.html
@@ -21,11 +21,11 @@
<link rel="stylesheet" type="text/css" href="yui/fonts/fonts-min.css">
<link rel="stylesheet" type="text/css" href="yui/menu/assets/skins/sam/menu.css">
<link rel="stylesheet" type="text/css" href="yui/button/assets/skins/sam/button.css">
-<!--script type="text/javascript" src="../../build/yahoo-dom-event/yahoo-dom-event.js"></script-->
-<!--script type="text/javascript" src="../../build/container/container_core-min.js"></script-->
-<!--script type="text/javascript" src="../../build/menu/menu-min.js"></script-->
-<!--script type="text/javascript" src="../../build/element/element-min.js"></script-->
-<!--script type="text/javascript" src="../../build/button/button-min.js"></script-->
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/container/container_core-min.js"></script>
+<script src="yui/menu/menu-min.js"></script>
+<script src="yui/element/element-min.js"></script>
+<script src="yui/button/button-min.js"></script>
<!--begin custom header content for this example-->
View
12 tests/examples/btn_example13_clean.html
@@ -21,12 +21,12 @@
<link rel="stylesheet" type="text/css" href="yui/fonts/fonts-min.css">
<link rel="stylesheet" type="text/css" href="yui/menu/assets/skins/sam/menu.css">
<link rel="stylesheet" type="text/css" href="yui/button/assets/skins/sam/button.css">
-<!--script type="text/javascript" src="../../build/yahoo-dom-event/yahoo-dom-event.js"></script-->
-<!--script type="text/javascript" src="../../build/animation/animation-min.js"></script-->
-<!--script type="text/javascript" src="../../build/container/container_core-min.js"></script-->
-<!--script type="text/javascript" src="../../build/menu/menu-min.js"></script-->
-<!--script type="text/javascript" src="../../build/element/element-min.js"></script-->
-<!--script type="text/javascript" src="../../build/button/button-min.js"></script-->
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/animation/animation-min.js"></script>
+<script src="yui/container/container_core-min.js"></script>
+<script src="yui/menu/menu-min.js"></script>
+<script src="yui/element/element-min.js"></script>
+<script src="yui/button/button-min.js"></script>
<!--begin custom header content for this example-->
View
14 tests/examples/btn_example14_clean.html
@@ -22,13 +22,13 @@
<link rel="stylesheet" type="text/css" href="yui/slider/assets/skins/sam/slider.css">
<link rel="stylesheet" type="text/css" href="yui/menu/assets/skins/sam/menu.css">
<link rel="stylesheet" type="text/css" href="yui/button/assets/skins/sam/button.css">
-<!--script type="text/javascript" src="../../build/yahoo-dom-event/yahoo-dom-event.js"></script-->
-<!--script type="text/javascript" src="../../build/dragdrop/dragdrop-min.js"></script-->
-<!--script type="text/javascript" src="../../build/slider/slider-min.js"></script-->
-<!--script type="text/javascript" src="../../build/container/container_core-min.js"></script-->
-<!--script type="text/javascript" src="../../build/menu/menu-min.js"></script-->
-<!--script type="text/javascript" src="../../build/element/element-min.js"></script-->
-<!--script type="text/javascript" src="../../build/button/button-min.js"></script-->
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/dragdrop/dragdrop-min.js"></script>
+<script src="yui/slider/slider-min.js"></script>
+<script src="yui/container/container_core-min.js"></script>
+<script src="yui/menu/menu-min.js"></script>
+<script src="yui/element/element-min.js"></script>
+<script src="yui/button/button-min.js"></script>
<!--begin custom header content for this example-->
View
10 tests/examples/button-ariaplugin_clean.html
@@ -21,11 +21,11 @@
<link rel="stylesheet" type="text/css" href="yui/fonts/fonts-min.css">
<link rel="stylesheet" type="text/css" href="yui/menu/assets/skins/sam/menu.css">
<link rel="stylesheet" type="text/css" href="yui/button/assets/skins/sam/button.css">
-<!--script type="text/javascript" src="../../build/yahoo-dom-event/yahoo-dom-event.js"></script-->
-<!--script type="text/javascript" src="../../build/container/container_core-min.js"></script-->
-<!--script type="text/javascript" src="../../build/menu/menu-min.js"></script-->
-<!--script type="text/javascript" src="../../build/element/element-min.js"></script-->
-<!--script type="text/javascript" src="../../build/button/button-min.js"></script-->
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/container/container_core-min.js"></script>
+<script src="yui/menu/menu-min.js"></script>
+<script src="yui/element/element-min.js"></script>
+<script src="yui/button/button-min.js"></script>
<!--begin custom header content for this example-->
View
10 tests/examples/button-menu-select_clean.html
@@ -21,11 +21,11 @@
<link rel="stylesheet" type="text/css" href="yui/fonts/fonts-min.css">
<link rel="stylesheet" type="text/css" href="yui/menu/assets/skins/sam/menu.css">
<link rel="stylesheet" type="text/css" href="yui/button/assets/skins/sam/button.css">
-<!--script type="text/javascript" src="../../build/yahoo-dom-event/yahoo-dom-event.js"></script-->
-<!--script type="text/javascript" src="../../build/container/container_core-min.js"></script-->
-<!--script type="text/javascript" src="../../build/menu/menu-min.js"></script-->
-<!--script type="text/javascript" src="../../build/element/element-min.js"></script-->
-<!--script type="text/javascript" src="../../build/button/button-min.js"></script-->
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/container/container_core-min.js"></script>
+<script src="yui/menu/menu-min.js"></script>
+<script src="yui/element/element-min.js"></script>
+<script src="yui/button/button-min.js"></script>
<!--begin custom header content for this example-->
View
10 tests/examples/button-menu-swap_clean.html
@@ -21,11 +21,11 @@
<link rel="stylesheet" type="text/css" href="yui/fonts/fonts-min.css">
<link rel="stylesheet" type="text/css" href="yui/menu/assets/skins/sam/menu.css">
<link rel="stylesheet" type="text/css" href="yui/button/assets/skins/sam/button.css">
-<!--script type="text/javascript" src="../../build/yahoo-dom-event/yahoo-dom-event.js"></script-->
-<!--script type="text/javascript" src="../../build/container/container_core-min.js"></script-->
-<!--script type="text/javascript" src="../../build/menu/menu-min.js"></script-->
-<!--script type="text/javascript" src="../../build/element/element-min.js"></script-->
-<!--script type="text/javascript" src="../../build/button/button-min.js"></script-->
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/container/container_core-min.js"></script>
+<script src="yui/menu/menu-min.js"></script>
+<script src="yui/element/element-min.js"></script>
+<script src="yui/button/button-min.js"></script>
<!--begin custom header content for this example-->
View
6 tests/examples/callback_customevents_clean.html
@@ -19,9 +19,9 @@
</style>
<link rel="stylesheet" type="text/css" href="yui/fonts/fonts-min.css">
-<!--script type="text/javascript" src="../../build/yahoo/yahoo-min.js"></script-->
-<!--script type="text/javascript" src="../../build/event/event-min.js"></script-->
-<!--script type="text/javascript" src="../../build/connection/connection-min.js"></script-->
+<script src="yui/yahoo/yahoo-min.js"></script>
+<script src="yui/event/event-min.js"></script>
+<script src="yui/connection/connection-min.js"></script>
<!--begin custom header content for this example-->
View
2 tests/examples/custom-event_clean.html
@@ -19,7 +19,7 @@
</style>
<link rel="stylesheet" type="text/css" href="yui/fonts/fonts-min.css">
-<!--script type="text/javascript" src="../../build/yahoo-dom-event/yahoo-dom-event.js"></script-->
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
<!--begin custom header content for this example-->
View
12 tests/examples/dialog-quickstart_clean.html
@@ -21,12 +21,12 @@
<link rel="stylesheet" type="text/css" href="yui/fonts/fonts-min.css">
<link rel="stylesheet" type="text/css" href="yui/button/assets/skins/sam/button.css">
<link rel="stylesheet" type="text/css" href="yui/container/assets/skins/sam/container.css">
-<!--script type="text/javascript" src="../../build/yahoo-dom-event/yahoo-dom-event.js"></script-->
-<!--script type="text/javascript" src="../../build/connection/connection-min.js"></script-->
-<!--script type="text/javascript" src="../../build/element/element-min.js"></script-->
-<!--script type="text/javascript" src="../../build/button/button-min.js"></script-->
-<!--script type="text/javascript" src="../../build/dragdrop/dragdrop-min.js"></script-->
-<!--script type="text/javascript" src="../../build/container/container-min.js"></script-->
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/connection/connection-min.js"></script>
+<script src="yui/element/element-min.js"></script>
+<script src="yui/button/button-min.js"></script>
+<script src="yui/dragdrop/dragdrop-min.js"></script>
+<script src="yui/container/container-min.js"></script>
<!--there is no custom header content for this example-->
View
1 tests/examples/event-delegation_clean.html
@@ -54,6 +54,7 @@
</ul>
</div>
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
<script>
(function() {
View
2 tests/examples/eventsimple_clean.html
@@ -19,7 +19,7 @@
</style>
<link rel="stylesheet" type="text/css" href="yui/fonts/fonts-min.css" />
-<!--script type="text/javascript" src="../../build/yahoo-dom-event/yahoo-dom-event.js"></script-->
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
<!--there is no custom header content for this example-->
View
6 tests/examples/get_clean.html
@@ -19,9 +19,9 @@
</style>
<link rel="stylesheet" type="text/css" href="yui/fonts/fonts-min.css" />
-<!--script type="text/javascript" src="../../build/yahoo/yahoo-min.js"></script-->
-<!--script type="text/javascript" src="../../build/event/event-min.js"></script-->
-<!--script type="text/javascript" src="../../build/connection/connection-min.js"></script-->
+<script src="yui/yahoo/yahoo-min.js"></script>
+<script src="yui/event/event-min.js"></script>
+<script src="yui/connection/connection-min.js"></script>
<!--begin custom header content for this example-->
View
6 tests/examples/global_customevents_clean.html
@@ -19,9 +19,9 @@
</style>
<link rel="stylesheet" type="text/css" href="yui/fonts/fonts-min.css" />
-<!--script type="text/javascript" src="../../build/yahoo/yahoo-min.js"></script-->
-<!--script type="text/javascript" src="../../build/event/event-min.js"></script-->
-<!--script type="text/javascript" src="../../build/connection/connection-min.js"></script-->
+<script src="yui/yahoo/yahoo-min.js"></script>
+<script src="yui/event/event-min.js"></script>
+<script src="yui/connection/connection-min.js"></script>
<!--begin custom header content for this example-->
View
10 tests/examples/menu_layout_clean.html
@@ -18,11 +18,11 @@
<link rel="stylesheet" type="text/css" href="yui/menu/assets/skins/sam/menu.css">
<link rel="stylesheet" type="text/css" href="yui/resize/assets/skins/sam/resize.css">
<link rel="stylesheet" type="text/css" href="yui/layout/assets/skins/sam/layout.css">
-<!--script type="text/javascript" src="../../build/utilities/utilities.js"></script>
-<script type="text/javascript" src="../../build/container/container_core-min.js"></script>
-<script type="text/javascript" src="../../build/menu/menu-min.js"></script>
-<script type="text/javascript" src="../../build/resize/resize-min.js"></script>
-<script type="text/javascript" src="../../build/layout/layout-min.js"></script-->
+<script src="yui/utilities/utilities.js"></script>
+<script src="yui/container/container_core-min.js"></script>
+<script src="yui/menu/menu-min.js"></script>
+<script src="yui/resize/resize-min.js"></script>
+<script src="yui/layout/layout-min.js"></script>
<style>
#productsandservices2 {
position: static;
View
4 tests/examples/module_clean.html
@@ -20,8 +20,8 @@
<link rel="stylesheet" type="text/css" href="yui/fonts/fonts-min.css">
<link rel="stylesheet" type="text/css" href="yui/container/assets/skins/sam/container.css">
-<!--script type="text/javascript" src="../../build/yahoo-dom-event/yahoo-dom-event.js"></script-->
-<!--script type="text/javascript" src="../../build/container/container-min.js"></script-->
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/container/container-min.js"></script>
<!--there is no custom header content for this example-->
View
16 tests/examples/nested_layout_clean.html
@@ -28,14 +28,14 @@
<link rel="stylesheet" type="text/css" href="yui/reset-fonts-grids/reset-fonts-grids.css">
<link rel="stylesheet" type="text/css" href="yui/resize/assets/skins/sam/resize.css">
<link rel="stylesheet" type="text/css" href="yui/layout/assets/skins/sam/layout.css">
-<!--script type="text/javascript" src="../../build/yahoo/yahoo-min.js"></script>
-<script type="text/javascript" src="../../build/event/event-min.js"></script>
-<script type="text/javascript" src="../../build/dom/dom-min.js"></script>
-<script type="text/javascript" src="../../build/element/element-min.js"></script>
-<script type="text/javascript" src="../../build/dragdrop/dragdrop-min.js"></script>
-<script type="text/javascript" src="../../build/resize/resize-min.js"></script>
-<script type="text/javascript" src="../../build/animation/animation-min.js"></script>
-<script type="text/javascript" src="../../build/layout/layout-min.js"></script-->
+<script src="yui/yahoo/yahoo-min.js"></script>
+<script src="yui/event/event-min.js"></script>
+<script src="yui/dom/dom-min.js"></script>
+<script src="yui/element/element-min.js"></script>
+<script src="yui/dragdrop/dragdrop-min.js"></script>
+<script src="yui/resize/resize-min.js"></script>
+<script src="yui/animation/animation-min.js"></script>
+<script src="yui/layout/layout-min.js"></script>
</head>
View
4 tests/examples/overlay_clean.html
@@ -20,8 +20,8 @@
<link rel="stylesheet" type="text/css" href="yui/fonts/fonts-min.css">
<link rel="stylesheet" type="text/css" href="yui/container/assets/skins/sam/container.css">
-<!--script type="text/javascript" src="../../build/yahoo-dom-event/yahoo-dom-event.js"></script-->
-<!--script type="text/javascript" src="../../build/container/container-min.js"></script-->
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/container/container-min.js"></script>
<!--there is no custom header content for this example-->
View
16 tests/examples/page_layout_clean.html
@@ -29,14 +29,14 @@
<link rel="stylesheet" type="text/css" href="yui/resize/assets/skins/sam/resize.css">
<link rel="stylesheet" type="text/css" href="yui/layout/assets/skins/sam/layout.css">
<link rel="stylesheet" type="text/css" href="yui/button/assets/skins/sam/button.css">
-<!--script type="text/javascript" src="../../build/yahoo/yahoo-min.js"></script>
-<script type="text/javascript" src="../../build/event/event-min.js"></script>
-<script type="text/javascript" src="../../build/dom/dom-min.js"></script>
-<script type="text/javascript" src="../../build/element/element-min.js"></script>
-<script type="text/javascript" src="../../build/dragdrop/dragdrop-min.js"></script>
-<script type="text/javascript" src="../../build/resize/resize-min.js"></script>
-<script type="text/javascript" src="../../build/animation/animation-min.js"></script>
-<script type="text/javascript" src="../../build/layout/layout-min.js"></script-->
+<script src="yui/yahoo/yahoo-min.js"></script>
+<script src="yui/event/event-min.js"></script>
+<script src="yui/dom/dom-min.js"></script>
+<script src="yui/element/element-min.js"></script>
+<script src="yui/dragdrop/dragdrop-min.js"></script>
+<script src="yui/resize/resize-min.js"></script>
+<script src="yui/animation/animation-min.js"></script>
+<script src="yui/layout/layout-min.js"></script>
</head>
View
6 tests/examples/panel_clean.html
@@ -20,9 +20,9 @@
<link rel="stylesheet" type="text/css" href="yui/fonts/fonts-min.css">
<link rel="stylesheet" type="text/css" href="yui/container/assets/skins/sam/container.css">
-<!--script type="text/javascript" src="../../build/yahoo-dom-event/yahoo-dom-event.js"></script-->
-<!--script type="text/javascript" src="../../build/dragdrop/dragdrop-min.js"></script-->
-<!--script type="text/javascript" src="../../build/container/container-min.js"></script-->
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/dragdrop/dragdrop-min.js"></script>
+<script src="yui/container/container-min.js"></script>
<!--there is no custom header content for this example-->
View
18 tests/examples/panel_layout_clean.html
@@ -27,15 +27,15 @@
<link rel="stylesheet" type="text/css" href="yui/resize/assets/skins/sam/resize.css">
<link rel="stylesheet" type="text/css" href="yui/layout/assets/skins/sam/layout.css">
<link rel="stylesheet" type="text/css" href="yui/button/assets/skins/sam/button.css">
-<!--script type="text/javascript" src="../../build/yahoo/yahoo-min.js"></script>
-<script type="text/javascript" src="../../build/event/event-min.js"></script>
-<script type="text/javascript" src="../../build/dom/dom-min.js"></script>
-<script type="text/javascript" src="../../build/element/element-min.js"></script>
-<script type="text/javascript" src="../../build/dragdrop/dragdrop-min.js"></script>
-<script type="text/javascript" src="../../build/container/container-min.js"></script>
-<script type="text/javascript" src="../../build/resize/resize-min.js"></script>
-<script type="text/javascript" src="../../build/animation/animation-min.js"></script>
-<script type="text/javascript" src="../../build/layout/layout-min.js"></script-->
+<script src="yui/yahoo/yahoo-min.js"></script>
+<script src="yui/event/event-min.js"></script>
+<script src="yui/dom/dom-min.js"></script>
+<script src="yui/element/element-min.js"></script>
+<script src="yui/dragdrop/dragdrop-min.js"></script>
+<script src="yui/container/container-min.js"></script>
+<script src="yui/resize/resize-min.js"></script>
+<script src="yui/animation/animation-min.js"></script>
+<script src="yui/layout/layout-min.js"></script>
</head>
<body class=" yui-skin-sam">
View
6 tests/examples/post_clean.html
@@ -19,9 +19,9 @@
</style>
<link rel="stylesheet" type="text/css" href="yui/fonts/fonts-min.css" />
-<!--script type="text/javascript" src="../../build/yahoo/yahoo-min.js"></script-->
-<!--script type="text/javascript" src="../../build/event/event-min.js"></script-->
-<!--script type="text/javascript" src="../../build/connection/connection-min.js"></script-->
+<script src="yui/yahoo/yahoo-min.js"></script>
+<script src="yui/event/event-min.js"></script>
+<script src="yui/connection/connection-min.js"></script>
<!--begin custom header content for this example-->
View
8 tests/examples/simpledialog-quickstart_clean.html
@@ -21,10 +21,10 @@
<link rel="stylesheet" type="text/css" href="yui/fonts/fonts-min.css">
<link rel="stylesheet" type="text/css" href="yui/button/assets/skins/sam/button.css">
<link rel="stylesheet" type="text/css" href="yui/container/assets/skins/sam/container.css">
-<!--script type="text/javascript" src="../../build/yahoo-dom-event/yahoo-dom-event.js"></script-->
-<!--script type="text/javascript" src="../../build/element/element-min.js"></script-->
-<!--script type="text/javascript" src="../../build/button/button-min.js"></script-->
-<!--script type="text/javascript" src="../../build/container/container-min.js"></script-->
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/element/element-min.js"></script>
+<script src="yui/button/button-min.js"></script>
+<script src="yui/container/container-min.js"></script>
<!--there is no custom header content for this example-->
View
4 tests/examples/tooltip_clean.html
@@ -20,8 +20,8 @@
<link rel="stylesheet" type="text/css" href="yui/fonts/fonts-min.css">
<link rel="stylesheet" type="text/css" href="yui/container/assets/skins/sam/container.css">
-<!--script type="text/javascript" src="../../build/yahoo-dom-event/yahoo-dom-event.js"></script-->
-<!--script type="text/javascript" src="../../build/container/container-min.js"></script-->
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/container/container-min.js"></script>
<!--there is no custom header content for this example-->
View
6 tests/examples/weather_clean.html
@@ -19,9 +19,9 @@
</style>
<link rel="stylesheet" type="text/css" href="yui/fonts/fonts-min.css">
-<!--script type="text/javascript" src="../../build/yahoo/yahoo-min.js"></script-->
-<!--script type="text/javascript" src="../../build/event/event-min.js"></script-->
-<!--script type="text/javascript" src="../../build/connection/connection-min.js"></script-->
+<script src="yui/yahoo/yahoo-min.js"></script>
+<script src="yui/event/event-min.js"></script>
+<script src="yui/connection/connection-min.js"></script>
<!--there is no custom header content for this example-->
View
2 tests/json_gadget.html
@@ -2,6 +2,8 @@
<head>
</head>
<body>
+<script src="yui/yahoo/yahoo.js"></script>
+<script src="yui/json/json.js"></script>
<script>
cajita.log('start');
YAHOO.log = cajita.log;
View
5 tests/resize_gadget.html
@@ -25,6 +25,11 @@
</div>
</div>
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/animiation/animiation.js"></script>
+<script src="yui/dragdrop/dragdrop.js"></script>
+<script src="yui/element/element.js"></script>
+<script src="yui/resize/resize.js"></script>
<script>
cajita.log('start');
YAHOO.log = cajita.log;
View
2 tests/treeview_gadget.html
@@ -4,6 +4,8 @@
</head>
<body>
<div id="treediv" class="yui-skin-sam">tree goes here</div>
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/treeview/treeview.js"></script>
<script>
cajita.log('start');
YAHOO.log = cajita.log;
View
8 tests/yuitest_gadget.html
@@ -4,12 +4,12 @@
<link rel="stylesheet" type="text/css" href="yui/yuitest/assets/testlogger.css">
</head>
<body>
- <!--script src="../../yui2/build/utilities/utilities.js"></script>
- <script src="../yuitest/yuitest.js"></script-->
<div id="x"></div>
+
+ <script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+ <script src="yui/logger/logger.js"></script>
+ <script src="yui/yuitest/yuitest.js"></script>
<script type="text/javascript">
- //YAHOO.log = cajita.log;
- //YAHOO.log = console.log;
var t = YAHOO.tool,
Assert = YAHOO.util.Assert,
View
6 tests/yuitests/animation.html
@@ -18,12 +18,16 @@
</head>
<body class="yui-skin-sam">
- <div id="logr"></div>
+ <div id="xlogr"></div>
<div id="doc">
<div id="foo">foo</div>
<div id="bar">bar</div>
</div>
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/animation/animation.js"></script>
+<script src="yui/logger/logger.js"></script>
+<script src="yui/yuitest/yuitest.js"></script>
<script type="text/javascript">
(function() {
//YAHOO.log = cajita.log;
View
16 tests/yuitests/autocomplete.html
@@ -5,16 +5,16 @@
<link type="text/css" rel="stylesheet" href="yui/yuitest/assets/testlogger.css" />
<link type="text/css" rel="stylesheet" href="yui/autocomplete/assets/autocomplete.css" />
-<!--script type="text/javascript" src="../../../build/yahoo/yahoo-min.js"></script>
-<script type="text/javascript" src="../../../build/dom/dom-min.js"></script>
-<script type="text/javascript" src="../../../build/event/event-min.js"></script>
-<script type="text/javascript" src="../../../build/logger/logger-min.js"></script>
-<script type="text/javascript" src="../../../build/yuitest/yuitest.js"></script>
-<script type="text/javascript" src="../../../build/datasource/datasource.js"></script>
-<script type="text/javascript" src="../../../build/autocomplete/autocomplete.js"></script-->
+<script type="text/javascript" src="yui/yahoo/yahoo-min.js"></script>
+<script type="text/javascript" src="yui/dom/dom-min.js"></script>
+<script type="text/javascript" src="yui/event/event-min.js"></script>
+<script type="text/javascript" src="yui/logger/logger-min.js"></script>
+<script type="text/javascript" src="yui/yuitest/yuitest.js"></script>
+<script type="text/javascript" src="yui/datasource/datasource.js"></script>
+<script type="text/javascript" src="yui/autocomplete/autocomplete.js"></script>
</head>
<body>
-<div id="logr"></div>
+<div id="xlogr"></div>
<h1>AutoComplete Tests</h1>
<p><input type="button" value="Run Tests" id="btnRun" disabled="true" /></p>
View
8 tests/yuitests/calendar.html
@@ -7,10 +7,10 @@
<link type="text/css" rel="stylesheet" href="yui/yuitest/assets/testlogger.css">
<link type="text/css" rel="stylesheet" href="yui/calendar/assets/skins/sam/calendar.css" />
- <!--script type="text/javascript" src="../../../build/yahoo-dom-event/yahoo-dom-event.js"></script>
- <script type="text/javascript" src="../../../build/logger/logger-min.js"></script>
- <script type="text/javascript" src="../../../build/yuitest/yuitest.js"></script>
- <script type="text/javascript" src="../../../build/calendar/calendar-min.js"></script-->
+ <script type="text/javascript" src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+ <script type="text/javascript" src="yui/logger/logger-min.js"></script>
+ <script type="text/javascript" src="yui/yuitest/yuitest.js"></script>
+ <script type="text/javascript" src="yui/calendar/calendar-min.js"></script>
<style type="text/css">
ol.testlist li {
View
18 tests/yuitests/colorpicker.html
@@ -25,15 +25,15 @@
<div id="picker-container2">picker #2</div>
</div>
-<!--script type="text/javascript" src="../../../build/yahoo/yahoo.js"></script>
-<script type="text/javascript" src="../../../build/dom/dom.js"></script>
-<script type="text/javascript" src="../../../build/event/event.js"></script>
-<script type="text/javascript" src="../../../build/element/element-min.js"></script>
-<script type="text/javascript" src="../../../build/dragdrop/dragdrop-min.js"></script>
-<script type="text/javascript" src="../../../build/slider/slider.js"></script>
-<script type="text/javascript" src="../../../build/colorpicker/colorpicker-debug.js"></script>
-<script type="text/javascript" src="../../../build/logger/logger-min.js"></script>
-<script type="text/javascript" src="../../../build/yuitest/yuitest.js"></script-->
+<script type="text/javascript" src="yui/yahoo/yahoo.js"></script>
+<script type="text/javascript" src="yui/dom/dom.js"></script>
+<script type="text/javascript" src="yui/event/event.js"></script>
+<script type="text/javascript" src="yui/element/element-min.js"></script>
+<script type="text/javascript" src="yui/dragdrop/dragdrop-min.js"></script>
+<script type="text/javascript" src="yui/slider/slider.js"></script>
+<script type="text/javascript" src="yui/colorpicker/colorpicker-debug.js"></script>
+<script type="text/javascript" src="yui/logger/logger-min.js"></script>
+<script type="text/javascript" src="yui/yuitest/yuitest.js"></script>
<script type="text/javascript">
(function() {
//YAHOO.log = cajita.log;
View
10 tests/yuitests/config.html
@@ -4,14 +4,14 @@
<link type="text/css" rel="stylesheet" href="yui/logger/assets/logger.css">
<link type="text/css" rel="stylesheet" href="yui/yuitest/assets/testlogger.css">
- <!--script type="text/javascript" src="../../../build/yahoo-dom-event/yahoo-dom-event.js"></script>
- <script type="text/javascript" src="../../../build/logger/logger-min.js"></script>
- <script type="text/javascript" src="../../../build/yuitest/yuitest.js"></script>
- <script type="text/javascript" src="../../../build/container/container_core-min.js"></script-->
+ <script type="text/javascript" src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+ <script type="text/javascript" src="yui/logger/logger-min.js"></script>
+ <script type="text/javascript" src="yui/yuitest/yuitest.js"></script>
+ <script type="text/javascript" src="yui/container/container_core-min.js"></script>
</head>
<body>
- <div id="logr"></div>
+ <div id="xlogr"></div>
<script type="text/javascript">
(function() {
View
6 tests/yuitests/connection.html
@@ -48,7 +48,7 @@
</style>
</head>
<body class="yui-skin-sam">
-<div id="logr"></div>
+<div id="xlogr"></div>
<h1>Tests</h1>
<div id="testbed"></div>
<form id="frm" action="submitReporter.php">
@@ -221,6 +221,10 @@
<input type="submit" name="submit" value="Submit">
</form>
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/connection/connection.js"></script>
+<script src="yui/logger/logger.js"></script>
+<script src="yui/yuitest/yuitest.js"></script>
<script type="text/javascript">
(function () {
View
6 tests/yuitests/cookie.html
@@ -5,9 +5,13 @@
<link rel="stylesheet" type="text/css" href="yui/yuitest/assets/testlogger.css">
</head>
<body>
-<div id="logr"></div>
+<div id="xlogr"></div>
<h1>cookie tests</h1>
<p><input type="button" value="Run Tests" id="btnRun" /></p>
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/cookie/cookie.js"></script>
+<script src="yui/logger/logger.js"></script>
+<script src="yui/yuitest/yuitest.js"></script>
<script type="text/javascript">
//YAHOO.log = cajita.log;
View
6 tests/yuitests/datasource.html
@@ -18,10 +18,14 @@
</head>
<body class="yui-skin-sam">
-<div id="logr"></div>
+<div id="xlogr"></div>
<h1>DataSource Tests</h1>
<p><input type="button" value="Run Tests" id="btnRun" disabled="true" /></p>
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/datasource/datasource.js"></script>
+<script src="yui/logger/logger.js"></script>
+<script src="yui/yuitest/yuitest.js"></script>
<script type="text/javascript">
(function() {
View
8 tests/yuitests/datemath.html
@@ -4,10 +4,10 @@
<link type="text/css" rel="stylesheet" href="yui/logger/assets/logger.css">
<link type="text/css" rel="stylesheet" href="yui/yuitest/assets/testlogger.css">
- <!--script type="text/javascript" src="../../../build/yahoo-dom-event/yahoo-dom-event.js"></script>
- <script type="text/javascript" src="../../../build/logger/logger-min.js"></script>
- <script type="text/javascript" src="../../../build/yuitest/yuitest.js"></script>
- <script type="text/javascript" src="../../../build/calendar/calendar-min.js"></script-->
+ <script type="text/javascript" src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+ <script type="text/javascript" src="yui/logger/logger-min.js"></script>
+ <script type="text/javascript" src="yui/yuitest/yuitest.js"></script>
+ <script type="text/javascript" src="yui/calendar/calendar-min.js"></script>
<script type="text/javascript">
(function() {
View
6 tests/yuitests/dd.html
@@ -17,7 +17,7 @@
</head>
<body>
-<div id="logr"></div>
+<div id="xlogr"></div>
<div id="ddcontainer">
<div id="dd1div" class="dd">dd1</div>
<div id="dd2div" class="dd">dd2</div>
@@ -26,6 +26,10 @@
<div class="downlow">way down</div>
<h1>Drag and Drop Test Page</h1>
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/dragdrop/dragdrop.js"></script>
+<script src="yui/logger/logger.js"></script>
+<script src="yui/yuitest/yuitest.js"></script>
<script type="text/javascript">
(function() {
View
5 tests/yuitests/dom.html
@@ -36,7 +36,7 @@
</head>
<body>
-<div id="logr"></div>
+<div id="xlogr"></div>
<em class="my.class our(class" id="class-regex-one">lorem</em>
<em class="yiv-integer:([{1,30}])^$?*+|" id="class-regex-three">dolor</em>
@@ -87,6 +87,9 @@
<p>In hac habitasse platea dictumst. Sed sit amet ligula vitae justo consequat facilisis. Integer tortor. Integer erat. In hac habitasse platea dictumst. Phasellus convallis quam vitae turpis aliquam lobortis. Aliquam scelerisque condimentum lectus. Proin semper adipiscing leo. Nulla facilisi.</p>
</div>
</div>
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/logger/logger.js"></script>
+<script src="yui/yuitest/yuitest.js"></script>
<script type="text/javascript">
(function() {
View
6 tests/yuitests/element.html
@@ -16,12 +16,16 @@
</head>
<body class="yui-skin-sam">
- <div id="logr"></div>
+ <div id="xlogr"></div>
<div id="doc">
<div id="foo">foo</div>
<a id="bar">foo</a>
</div>
<textarea id="test-textarea"></textarea>
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/element/element.js"></script>
+<script src="yui/logger/logger.js"></script>
+<script src="yui/yuitest/yuitest.js"></script>
<script type="text/javascript">
(function() {
View
5 tests/yuitests/event.html
@@ -17,7 +17,7 @@
</head>
<body>
-<div id="logr"></div>
+<div id="xlogr"></div>
<div id="ddcontainer">
<div id="dd1div" class="dd">dd1</div>
<div id="dd2div" class="dd">dd2</div>
@@ -26,6 +26,9 @@
<div class="downlow">way down</div>
<h1>Event Test Page</h1>
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/logger/logger.js"></script>
+<script src="yui/yuitest/yuitest.js"></script>
<script type="text/javascript">
(function() {
View
14 tests/yuitests/imageloader.html
@@ -26,7 +26,7 @@
</head>
<body>
-<div id="logr"></div>
+<div id="xlogr"></div>
<div class='everything' id='everything'>
<div class='topmain' id='topmain'></div>
@@ -52,12 +52,12 @@
<div class='customTrigger' id='customTrigger'></div>
</div>
-<!--script type="text/javascript" src="../../../build/yahoo/yahoo.js"></script>
-<script type="text/javascript" src="../../../build/dom/dom.js"></script>
-<script type="text/javascript" src="../../../build/event/event.js"></script>
-<script type="text/javascript" src="../../../build/logger/logger.js"></script>
-<script type="text/javascript" src="../../../build/yuitest/yuitest.js"></script>
-<script type="text/javascript" src="../../../build/imageloader/imageloader-min.js"></script-->
+<script src="yui/yahoo/yahoo.js"></script>
+<script src="yui/dom/dom.js"></script>
+<script src="yui/event/event.js"></script>
+<script src="yui/logger/logger.js"></script>
+<script src="yui/yuitest/yuitest.js"></script>
+<script src="yui/imageloader/imageloader-min.js"></script>
<script>
View
110 tests/yuitests/json.html
@@ -2,7 +2,6 @@
<html>
<head>
<title>Test Page</title>
- <!--link type="text/css" rel="stylesheet" href="/assets/dpSyntaxHighlighter.css"-->
<link type="text/css" id="locallink" rel="stylesheet" href="yui/logger/assets/logger.css">
<link type="text/css" rel="stylesheet" href="yui/yuitest/assets/testlogger.css">
<style type="text/css" id="styleblock" class="highlight-ignore">
@@ -40,7 +39,6 @@
</style>
</head>
<body class="yui-skin-sam">
-<div id="logr"></div>
<h1>Tests</h1>
<div id="testbed"></div>
<form action=''>
@@ -71,16 +69,14 @@
<input type="image" id="input_image" src="404.png" value="input image">
</form>
-<!--script type="text/javascript" src="../../../build/yahoo/yahoo.js"></script>
-<script type="text/javascript" src="../../../build/dom/dom.js"></script>
-<script type="text/javascript" src="../../../build/event/event.js"></script>
-<script type="text/javascript" src="../../../build/logger/logger-min.js"></script>
-<script type="text/javascript" src="../../../build/yuitest/yuitest-min.js"></script>
-<script type="text/javascript" src="../../../build/json/json-debug.js"></script-->
+<script type="text/javascript" src="yui/yahoo/yahoo.js"></script>
+<script type="text/javascript" src="yui/dom/dom.js"></script>
+<script type="text/javascript" src="yui/event/event.js"></script>
+<script type="text/javascript" src="yui/logger/logger-min.js"></script>
+<script type="text/javascript" src="yui/yuitest/yuitest-min.js"></script>
+<script type="text/javascript" src="yui/json/json-debug.js"></script>
<script type="text/javascript">
(function () {
-//YAHOO.log = cajita.log;
-
var d = document,
t = YAHOO.tool,
u = YAHOO.util,
@@ -517,9 +513,11 @@
},
test_stringifyDate : function () {
- // This assumes Pacific Time Zone (GMT -7:00)
- Assert.areSame('{"dt":"1946-07-06T07:00:00Z"}',
- JSON.stringify({dt : new Date(1946,6,6)}));
+ // native toJSON method should be called if available
+ var d = new Date(Date.UTC(1946,6,6)),
+ ref = d.toJSON ? d.toJSON() : "1946-07-06T00:00:00Z";
+
+ Assert.areSame('{"dt":"'+ref+'"}', JSON.stringify({dt : d}));
},
test_stringifyFormValue : function () {
@@ -536,10 +534,10 @@
textarea : $('textarea').value,
select : $('select').value,
multiple_select : $('multiple_select').value,
- button : $('button').value,
- button_with_value : $('button_with_value').value,
- button_submit : $('button_submit').value,
- button_submit_with_value: $('button_submit_with_value').value,
+ //button : $('button').value,
+ //button_with_value : $('button_with_value').value,
+ //button_submit : $('button_submit').value,
+ //button_submit_with_value: $('button_submit_with_value').value,
input_button : $('input_button').value,
input_submit : $('input_submit').value,
input_image : $('input_image').value
@@ -556,10 +554,10 @@
'"textarea":"textarea",'+
'"select":"selected",'+
'"multiple_select":"selected",'+
- '"button":"",'+
- '"button_with_value":"button value",'+
- '"button_submit":"",'+
- '"button_submit_with_value":"submit button value",'+
+ //'"button":"",'+
+ //'"button_with_value":"button value",'+
+ //'"button_submit":"",'+
+ //'"button_submit_with_value":"submit button value",'+
'"input_button":"input button",'+
'"input_submit":"input submit",'+
'"input_image":"input image"}',
@@ -794,6 +792,34 @@
}));
suite.add(new TestCase({
+ name : "toJSON",
+
+ test_toJSON_on_object: function () {
+ Assert.areSame('"toJSON"',
+ JSON.stringify({ toJSON: function () { return "toJSON" } }));
+
+ // TODO: complex object with toJSON
+ },
+
+ test_toJSON_on_proto: function () {
+ function A() {}
+ A.prototype.toJSON = function () { return "A" };
+
+ function B() {}
+ B.prototype = new A();
+
+ function C() {
+ this.x = "X";
+ this.y = "Y";
+ this.z = "Z";
+ }
+ C.prototype = new B();
+
+ Assert.areSame('"A"', JSON.stringify(new C()));
+ }
+}));
+
+suite.add(new TestCase({
name : "replacer",
test_replacer : function () {
@@ -882,6 +908,32 @@
return v;
}
},'_'));
+ },
+
+ test_replacer_after_toJSON : function () {
+ Assert.areSame('{"a":"ABC"}',
+ JSON.stringify({a:{ toJSON: function () { return "abc"; } } },
+ function (k,v) {
+ return typeof v === 'string' ? v.toUpperCase() : v;
+ }));
+
+ // Date instances in ES5 have toJSON that outputs toISOString, which
+ // means the replacer should never receive a Date instance
+ var str = JSON.stringify([new Date()], function (k,v) {
+ return (v instanceof Date) ? "X" : v;
+ });
+ Assert.areSame(-1, str.indexOf("X"), "Date incorrectly received by replacer");
+ },
+
+ test_replacer_returning_Date : function () {
+ var d = new Date(),
+ ref = JSON.stringify(d);
+
+ Assert.areSame('{"dt":'+ref+',"date_from_replacer":{}}',
+ JSON.stringify({ dt: d, date_from_replacer: 1 },
+ function (k,v) {
+ return typeof v === 'number' ? d : v;
+ }));
}
}));
@@ -897,7 +949,6 @@
}
addTests();
-/*
// If native JSON is available, run the tests again without native calls
if (JSON.useNativeParse) {
suite.add(new TestCase({
@@ -909,9 +960,20 @@
}));
addTests();
}
-*/
-var logger = new TestLogger("logr");
+var logger = new TestLogger("log");
+logger.hideCategory('info');
+logger.formatMsg = function (e) {
+ if (e.category === 'section') {
+ return "<h3>"+e.msg+"</h3>";
+ } else if (e.category === "break") {
+ return "<br>";
+ } else {
+ return TestLogger.prototype.formatMsg.call(this,e);
+ }
+};
+
+YAHOO.log("Tests","section","TestRunner");
TestRunner.add(suite);
View
18 tests/yuitests/menu.html
@@ -1,19 +1,19 @@
-'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>YAHOO.widget.Menu Tests</title>
- <link type="text/css" rel="stylesheet" href="yui/build/logger/assets/logger.css">
- <link type="text/css" rel="stylesheet" href="yui/build/yuitest/assets/testlogger.css">
- <link type="text/css" rel="stylesheet" href="yui/build/menu/assets/skins/sam/menu.css">
+ <link type="text/css" rel="stylesheet" href="yui/logger/assets/logger.css">
+ <link type="text/css" rel="stylesheet" href="yui/yuitest/assets/testlogger.css">
+ <link type="text/css" rel="stylesheet" href="yui/menu/assets/skins/sam/menu.css">
- <!--script type="text/javascript" src="../../../build/yahoo-dom-event/yahoo-dom-event.js"></script>
- <script type="text/javascript" src="../../../build/container/container_core-min.js"></script>
- <script type="text/javascript" src="../../../build/menu/menu.js"></script>
- <script type="text/javascript" src="../../../build/logger/logger-min.js"></script>
- <script type="text/javascript" src="../../../build/yuitest/yuitest.js"></script-->
+ <script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+ <script src="yui/container/container_core-min.js"></script>
+ <script src="yui/menu/menu.js"></script>
+ <script src="yui/logger/logger-min.js"></script>
+ <script src="yui/yuitest/yuitest.js"></script>
<script type="text/javascript">
View
14 tests/yuitests/module.html
@@ -9,13 +9,13 @@
<link type="text/css" rel="stylesheet" href="yui/yuitest/assets/testlogger.css">
<link type="text/css" rel="stylesheet" href="yui/calendar/assets/skins/sam/calendar.css">
- <!--script type="text/javascript" src="../../../build/yahoo/yahoo-min.js"></script>
- <script type="text/javascript" src="../../../build/dom/dom-min.js"></script>
- <script type="text/javascript" src="../../../build/event/event-min.js"></script>
- <script type="text/javascript" src="../../../build/logger/logger-min.js"></script>
- <script type="text/javascript" src="../../../build/yuitest/yuitest.js"></script>
+ <script src="yui/yahoo/yahoo-min.js"></script>
+ <script src="yui/dom/dom-min.js"></script>
+ <script src="yui/event/event-min.js"></script>
+ <script src="yui/logger/logger-min.js"></script>
+ <script src="yui/yuitest/yuitest.js"></script>
- <script type="text/javascript" src="../../../build/container/container-min.js"></script-->
+ <script src="yui/container/container-min.js"></script>
<style type="text/css">
@@ -438,7 +438,7 @@
</head>
<body>
- <div id="logr"></div>
+ <div id="xlogr"></div>
<div id="module1">
<div class="bd">The body of the module1</div>
</div>
View
16 tests/yuitests/paginator.html
@@ -29,21 +29,21 @@
</style>
</head>
<body class="yui-skin-sam">
-<div id="logr"></div>
+<div id="xlogr"></div>
<h1>Paginator Tests</h1>
<input type="button" id="go" value="recordOffset -= 3">
<input type="button" id="del" value="totalRecords -= 3">
<div id="log"></div>
<div id="ex"></div>
<div id="testbed"></div>
-<!--script type="text/javascript" src="../../../build/yahoo/yahoo.js"></script>
-<script type="text/javascript" src="../../../build/dom/dom.js"></script>
-<script type="text/javascript" src="../../../build/event/event.js"></script>
-<script type="text/javascript" src="../../../build/logger/logger-min.js"></script>
-<script type="text/javascript" src="../../../build/yuitest/yuitest-min.js"></script>
-<script type="text/javascript" src="../../../build/element/element-debug.js"></script>
-<script type="text/javascript" src="../../../build/paginator/paginator-debug.js"></script-->
+<script src="yui/yahoo/yahoo.js"></script>
+<script src="yui/dom/dom.js"></script>
+<script src="yui/event/event.js"></script>
+<script src="yui/logger/logger-min.js"></script>
+<script src="yui/yuitest/yuitest-min.js"></script>
+<script src="yui/element/element-debug.js"></script>
+<script src="yui/paginator/paginator-debug.js"></script>
<script type="text/javascript">
(function () {
View
6 tests/yuitests/profiler.html
@@ -5,9 +5,13 @@
<link rel="stylesheet" type="text/css" href="yui/yuitest/assets/testlogger.css">
</head>
<body>
-<div id="logr"></div>
+<div id="xlogr"></div>
<h1>profile tests</h1>
<p><input type="button" value="Run Tests" id="btnRun" /></p>
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/profiler/profiler.js"></script>
+<script src="yui/logger/logger.js"></script>
+<script src="yui/yuitest/yuitest.js"></script>
<script type="text/javascript">
//YAHOO.log = cajita.log;
View
9 tests/yuitests/selector.html
@@ -13,7 +13,7 @@
</style>
</head>
<body>
-<div id="logr"></div>
+<div id="xlogr"></div>
<div id="demo" class="foo" title="this is a demo">
<p class="para first" id="demo-first-child"><em>lorem ipsum</em></p>
<p class="para">lorem ipsum</p>
@@ -60,8 +60,12 @@
</form>
<div class="Bar" id="class-bar"></div>
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/selector/selector.js"></script>
+<script src="yui/logger/logger.js"></script>
+<script src="yui/yuitest/yuitest.js"></script>
<script>
-
+(function () {
//YAHOO.log = cajita.log;
// onload = function() {
var Y = YAHOO.util;
@@ -321,6 +325,7 @@
YAHOO.tool.TestRunner.add(suite);
YAHOO.tool.TestRunner.run();
// };
+})();
</script>
</body>
</html>
View
14 tests/yuitests/slider.html
@@ -26,13 +26,13 @@
</div>
</div>
-<!--script type="text/javascript" src="../../../build/yahoo/yahoo.js"></script>
-<script type="text/javascript" src="../../../build/dom/dom.js"></script>
-<script type="text/javascript" src="../../../build/event/event.js"></script>
-<script type="text/javascript" src="../../../build/dragdrop/dragdrop.js"></script>
-<script type="text/javascript" src="../../../build/slider/slider-debug.js"></script>
-<script type="text/javascript" src="../../../build/animation/animation.js"></script>
-<script type="text/javascript" src="../../../build/logger/logger.js"></script-->
+<script src="yui/yahoo/yahoo.js"></script>
+<script src="yui/dom/dom.js"></script>
+<script src="yui/event/event.js"></script>
+<script src="yui/dragdrop/dragdrop.js"></script>
+<script src="yui/slider/slider-debug.js"></script>
+<script src="yui/animation/animation.js"></script>
+<script src="yui/logger/logger.js"></script>
<script type="text/javascript">
YAHOO.util.Event.onDOMReady(function () {
View
16 tests/yuitests/tabview.html
@@ -7,20 +7,20 @@
<link type="text/css" rel="stylesheet" href="yui/yuitest/assets/testlogger.css">
<link type="text/css" rel="stylesheet" href="yui/tabview/assets/skins/sam/tabview.css">
-<!--script type="text/javascript" src="../../../build/yahoo/yahoo.js"></script>
-<script type="text/javascript" src="../../../build/event/event.js"></script>
-<script type="text/javascript" src="../../../build/dom/dom.js"></script>
-<script type="text/javascript" src="../../../build/element/element.js"></script>
-<script type="text/javascript" src="../../../build/tabview/tabview.js"></script>
-<script type="text/javascript" src="../../../build/logger/logger.js"></script>
-<script type="text/javascript" src="../../../build/yuitest/yuitest.js"></script-->
+<script src="yui/yahoo/yahoo.js"></script>
+<script src="yui/event/event.js"></script>
+<script src="yui/dom/dom.js"></script>
+<script src="yui/element/element.js"></script>
+<script src="yui/tabview/tabview.js"></script>
+<script src="yui/logger/logger.js"></script>
+<script src="yui/yuitest/yuitest.js"></script>
<style type="text/css">
</style>
</head>
<body class="yui-skin-sam">
-<div id="logr"></div>
+<div id="xlogr"></div>
<div id="doc">
<div id="demo" class="yui-navset">
<ul class="yui-nav">
View
5 tests/yuitests/yahoo.html
@@ -26,12 +26,15 @@
</head>
<body>
-<div id="slogr"></div>
+<div id="xlogr"></div>
<iframe name="xframe" id="xframe" src="assets/xframe.html"></iframe>
<h1>YAHOO test page</h1>
<p>This page contains tests being run by yuitest, the results of which<br />
are output in the logger to the right. <br />View the source to see how it's done.</p>
<p><input type="button" value="Run Tests" id="btnRun" /></p>
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/logger/logger.js"></script>
+<script src="yui/yuitest/yuitest.js"></script>
<script type="text/javascript">
(function() {
View
5 tests/yuitests/yuitest.html
@@ -6,9 +6,12 @@
</head>
<body>
-<div id="logr"></div>
+<div id="xlogr"></div>
<h1>yuitest tests</h1>
<p><input type="button" value="Run Tests" id="btnRun" /></p>
+<script src="yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+<script src="yui/logger/logger.js"></script>
+<script src="yui/yuitest/yuitest.js"></script>
<script type="text/javascript">
//YAHOO.log = cajita.log;

0 comments on commit a4c319f

Please sign in to comment.