old_sql 1.12.0 → 1.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (263) hide show
  1. data/public/javascripts/old_sql/MochiKit-1.4.2/Changes +362 -0
  2. data/public/javascripts/old_sql/MochiKit-1.4.2/LICENSE.txt +69 -0
  3. data/public/javascripts/old_sql/MochiKit-1.4.2/MANIFEST +179 -0
  4. data/public/javascripts/old_sql/MochiKit-1.4.2/META.json +17 -0
  5. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Async.html +814 -0
  6. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Base.html +1703 -0
  7. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Color.html +755 -0
  8. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/DOM.html +1197 -0
  9. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/DateTime.html +168 -0
  10. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/DragAndDrop.html +187 -0
  11. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Format.html +300 -0
  12. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Iter.html +524 -0
  13. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Logging.html +420 -0
  14. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/LoggingPane.html +142 -0
  15. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Position.html +38 -0
  16. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Selector.html +240 -0
  17. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Signal.html +508 -0
  18. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Sortable.html +244 -0
  19. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Style.html +385 -0
  20. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/VersionHistory.html +384 -0
  21. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Visual.html +1161 -0
  22. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/index.html +447 -0
  23. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/js/toc.js +113 -0
  24. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Async.rst +767 -0
  25. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Base.rst +1445 -0
  26. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Color.rst +651 -0
  27. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/DOM.rst +1143 -0
  28. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/DateTime.rst +145 -0
  29. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/DragAndDrop.rst +197 -0
  30. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Format.rst +258 -0
  31. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Iter.rst +454 -0
  32. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Logging.rst +348 -0
  33. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/LoggingPane.rst +128 -0
  34. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Position.rst +26 -0
  35. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Selector.rst +203 -0
  36. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Signal.rst +498 -0
  37. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Sortable.rst +186 -0
  38. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Style.rst +353 -0
  39. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/VersionHistory.rst +362 -0
  40. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Visual.rst +895 -0
  41. data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/index.rst +83 -0
  42. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/ajax_tables.css +69 -0
  43. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/ajax_tables.js +401 -0
  44. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/domains.json +10 -0
  45. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/domains.xml +40 -0
  46. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/index.html +96 -0
  47. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/color_wheel/color_wheel.css +4 -0
  48. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/color_wheel/color_wheel.js +95 -0
  49. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/color_wheel/index.html +31 -0
  50. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/dnd_sortable.css +23 -0
  51. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/dropmarker.png +0 -0
  52. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/icon.png +0 -0
  53. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/index.html +54 -0
  54. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable2_test.html +150 -0
  55. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable3_test.html +42 -0
  56. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable4_test.html +90 -0
  57. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable5_test.html +29 -0
  58. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable_test.html +38 -0
  59. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable_tree_test.html +189 -0
  60. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/draggable/draggable.css +28 -0
  61. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/draggable/draggable.js +73 -0
  62. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/draggable/index.html +38 -0
  63. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_bigslide.html +36 -0
  64. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_blind.html +65 -0
  65. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_blindslide.html +31 -0
  66. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_combi.css +18 -0
  67. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_fadeappear.html +61 -0
  68. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_grow_shrink.html +38 -0
  69. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_onload.html +67 -0
  70. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_queue.html +67 -0
  71. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_queue_limit.html +30 -0
  72. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_scroll.html +483 -0
  73. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_slide.html +62 -0
  74. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/full.html +71 -0
  75. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/icon.png +0 -0
  76. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/index.html +150 -0
  77. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/interpreter/index.html +88 -0
  78. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/interpreter/interpreter.css +54 -0
  79. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/interpreter/interpreter.js +373 -0
  80. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/key_events/index.html +78 -0
  81. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/key_events/key_events.css +5 -0
  82. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/key_events/key_events.js +85 -0
  83. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/logging_pane/index.html +46 -0
  84. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/logging_pane/logging_pane.css +78 -0
  85. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/logging_pane/logging_pane.js +11 -0
  86. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mochiregexp/index.html +74 -0
  87. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mochiregexp/mochiregexp.css +73 -0
  88. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mochiregexp/mochiregexp.js +125 -0
  89. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mouse_events/index.html +88 -0
  90. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mouse_events/mouse_events.css +17 -0
  91. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mouse_events/mouse_events.js +59 -0
  92. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/rounded_corners/index.html +28 -0
  93. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/rounded_corners/rounded_corners.css +3 -0
  94. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/rounded_corners/rounded_corners.js +19 -0
  95. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_boxes.html +45 -0
  96. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_full.html +119 -0
  97. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_ghost.html +40 -0
  98. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_hoverclass.html +43 -0
  99. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_scroll.html +91 -0
  100. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_snap.html +54 -0
  101. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/index.html +93 -0
  102. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/simple_dnd.css +64 -0
  103. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/sortable_tables/index.html +71 -0
  104. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/sortable_tables/sortable_tables.css +66 -0
  105. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/sortable_tables/sortable_tables.js +203 -0
  106. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/SyntaxHighlighter.css +177 -0
  107. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/Tests.html +339 -0
  108. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushCSharp.js +30 -0
  109. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushDelphi.js +31 -0
  110. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushJScript.js +22 -0
  111. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushPhp.js +23 -0
  112. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushPython.js +71 -0
  113. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushSql.js +40 -0
  114. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushVb.js +29 -0
  115. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushXml.js +61 -0
  116. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shCore.js +622 -0
  117. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/view-source.css +1 -0
  118. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/view-source.html +19 -0
  119. data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/view-source.js +70 -0
  120. data/public/javascripts/old_sql/MochiKit-1.4.2/include/_img/bg_docheader.gif +0 -0
  121. data/public/javascripts/old_sql/MochiKit-1.4.2/include/_img/g_bullet.gif +0 -0
  122. data/public/javascripts/old_sql/MochiKit-1.4.2/include/_img/g_logo_doc.gif +0 -0
  123. data/public/javascripts/old_sql/MochiKit-1.4.2/include/css/documentation.css +130 -0
  124. data/public/javascripts/old_sql/MochiKit-1.4.2/include/css/general.css +48 -0
  125. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Async.js +682 -0
  126. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Base.js +1489 -0
  127. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Color.js +863 -0
  128. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/DOM.js +1256 -0
  129. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/DateTime.js +222 -0
  130. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/DragAndDrop.js +793 -0
  131. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Format.js +304 -0
  132. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Iter.js +844 -0
  133. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Logging.js +315 -0
  134. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/LoggingPane.js +353 -0
  135. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/MochiKit.js +188 -0
  136. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/MockDOM.js +115 -0
  137. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Position.js +236 -0
  138. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Selector.js +415 -0
  139. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Signal.js +897 -0
  140. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Sortable.js +589 -0
  141. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Style.js +594 -0
  142. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Test.js +162 -0
  143. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Visual.js +2026 -0
  144. data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/__package__.js +18 -0
  145. data/public/javascripts/old_sql/MochiKit-1.4.2/packed/MochiKit/MochiKit.js +7829 -0
  146. data/public/javascripts/old_sql/MochiKit-1.4.2/packed/MochiKit/__package__.js +6 -0
  147. data/public/javascripts/old_sql/MochiKit-1.4.2/packed/MochiKit/customize.html +251 -0
  148. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/FakeJSAN.js +40 -0
  149. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/SimpleTest/SimpleTest.js +381 -0
  150. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/SimpleTest/TestRunner.js +159 -0
  151. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/SimpleTest/test.css +28 -0
  152. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/cli.js +6 -0
  153. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/index.html +25 -0
  154. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/standalone.js +16 -0
  155. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Base.js +577 -0
  156. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Color.js +137 -0
  157. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_DateTime.js +52 -0
  158. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_DragAndDrop.js +30 -0
  159. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Format.js +89 -0
  160. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Iter.js +186 -0
  161. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Logging.js +88 -0
  162. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Async.html +408 -0
  163. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Async.json +1 -0
  164. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Base.html +34 -0
  165. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Color.html +84 -0
  166. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DOM-Safari.html +48 -0
  167. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DOM.html +363 -0
  168. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DateTime.html +39 -0
  169. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DragAndDrop.html +54 -0
  170. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Format.html +39 -0
  171. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Iter.html +38 -0
  172. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-JSAN.html +32 -0
  173. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Logging.html +40 -0
  174. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-MochiKit.html +18 -0
  175. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Selector.html +295 -0
  176. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Signal.html +43 -0
  177. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Style.html +223 -0
  178. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Visual.html +197 -0
  179. data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Signal.js +481 -0
  180. data/public/javascripts/old_sql/plotkit-0.9.1/COPYING +28 -0
  181. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/Base.js +406 -0
  182. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/Canvas.js +683 -0
  183. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/EasyPlot.js +161 -0
  184. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/Layout.js +756 -0
  185. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/PlotKit.js +151 -0
  186. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/PlotKit_Packed.js +2177 -0
  187. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/SVG.js +705 -0
  188. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/SweetCanvas.js +348 -0
  189. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/SweetSVG.js +247 -0
  190. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/dummy.svg +9 -0
  191. data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/excanvas.js +723 -0
  192. data/public/javascripts/old_sql/plotkit-0.9.1/README +1 -0
  193. data/public/javascripts/old_sql/plotkit-0.9.1/doc/MochiKitAdditions.html +2 -0
  194. data/public/javascripts/old_sql/plotkit-0.9.1/doc/MochiKitAdditions.txt +2 -0
  195. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Base.html +302 -0
  196. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Base.txt +139 -0
  197. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Canvas.html +172 -0
  198. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Canvas.txt +81 -0
  199. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.EasyPlot.html +155 -0
  200. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.EasyPlot.txt +50 -0
  201. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Layout.html +428 -0
  202. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Layout.txt +330 -0
  203. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.QuickStart.html +368 -0
  204. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.QuickStart.txt +256 -0
  205. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Renderer.html +436 -0
  206. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Renderer.txt +299 -0
  207. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SVG.html +159 -0
  208. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SVG.txt +64 -0
  209. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SweetCanvas.html +131 -0
  210. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SweetCanvas.txt +34 -0
  211. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SweetSVG.html +131 -0
  212. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SweetSVG.txt +34 -0
  213. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.html +334 -0
  214. data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.txt +151 -0
  215. data/public/javascripts/old_sql/plotkit-0.9.1/doc/SVGCanvasCompat.html +304 -0
  216. data/public/javascripts/old_sql/plotkit-0.9.1/doc/SVGCanvasCompat.txt +144 -0
  217. data/public/javascripts/old_sql/plotkit-0.9.1/doc/barsample.png +0 -0
  218. data/public/javascripts/old_sql/plotkit-0.9.1/doc/black.png +0 -0
  219. data/public/javascripts/old_sql/plotkit-0.9.1/doc/blue.png +0 -0
  220. data/public/javascripts/old_sql/plotkit-0.9.1/doc/cyan.png +0 -0
  221. data/public/javascripts/old_sql/plotkit-0.9.1/doc/doc.css +62 -0
  222. data/public/javascripts/old_sql/plotkit-0.9.1/doc/generate.py +37 -0
  223. data/public/javascripts/old_sql/plotkit-0.9.1/doc/green.png +0 -0
  224. data/public/javascripts/old_sql/plotkit-0.9.1/doc/orange.png +0 -0
  225. data/public/javascripts/old_sql/plotkit-0.9.1/doc/piesample.png +0 -0
  226. data/public/javascripts/old_sql/plotkit-0.9.1/doc/purple.png +0 -0
  227. data/public/javascripts/old_sql/plotkit-0.9.1/doc/red.png +0 -0
  228. data/public/javascripts/old_sql/plotkit-0.9.1/scripts/custom_rhino.jar +0 -0
  229. data/public/javascripts/old_sql/plotkit-0.9.1/scripts/pack.py +58 -0
  230. data/public/javascripts/old_sql/plotkit-0.9.1/tests/axis.html +31 -0
  231. data/public/javascripts/old_sql/plotkit-0.9.1/tests/basic.html +25 -0
  232. data/public/javascripts/old_sql/plotkit-0.9.1/tests/basic.js +143 -0
  233. data/public/javascripts/old_sql/plotkit-0.9.1/tests/debug.html +56 -0
  234. data/public/javascripts/old_sql/plotkit-0.9.1/tests/demo-svg.html +58 -0
  235. data/public/javascripts/old_sql/plotkit-0.9.1/tests/demo-svg.js +133 -0
  236. data/public/javascripts/old_sql/plotkit-0.9.1/tests/demo.html +57 -0
  237. data/public/javascripts/old_sql/plotkit-0.9.1/tests/demo.js +136 -0
  238. data/public/javascripts/old_sql/plotkit-0.9.1/tests/dynamic.html +161 -0
  239. data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/firefox.png +0 -0
  240. data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/konqueror.png +0 -0
  241. data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/mozilla.ico +0 -0
  242. data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/msie.gif +0 -0
  243. data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/opera.ico +0 -0
  244. data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/safari.gif +0 -0
  245. data/public/javascripts/old_sql/plotkit-0.9.1/tests/labels-img.html +38 -0
  246. data/public/javascripts/old_sql/plotkit-0.9.1/tests/labels.html +43 -0
  247. data/public/javascripts/old_sql/plotkit-0.9.1/tests/prototype_compat.html +28 -0
  248. data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart-easy.html +29 -0
  249. data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart-horiz.html +53 -0
  250. data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart-neg.html +29 -0
  251. data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart-svg.html +61 -0
  252. data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart.html +57 -0
  253. data/public/javascripts/old_sql/plotkit-0.9.1/tests/sample.txt +6 -0
  254. data/public/javascripts/old_sql/plotkit-0.9.1/tests/svg-sweet.html +29 -0
  255. data/public/javascripts/old_sql/plotkit-0.9.1/tests/svg-sweet.js +141 -0
  256. data/public/javascripts/old_sql/plotkit-0.9.1/tests/svg.html +26 -0
  257. data/public/javascripts/old_sql/plotkit-0.9.1/tests/svg.js +147 -0
  258. data/public/javascripts/old_sql/plotkit-0.9.1/tests/sweet.html +24 -0
  259. data/public/javascripts/old_sql/plotkit-0.9.1/tests/sweet.js +89 -0
  260. data/public/javascripts/old_sql/plotkit-0.9.1/tests/tests.css +66 -0
  261. data/public/javascripts/old_sql/plotkit-0.9.1/tests/testsvg.html +20 -0
  262. data/public/javascripts/old_sql/plotkit-0.9.1/tests/testsvg.js +31 -0
  263. metadata +264 -2
@@ -0,0 +1,74 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
+ <html>
3
+ <head>
4
+ <title>MochiRegExp - JavaScript Regular Expression (RegExp) Explorer</title>
5
+ <link href="mochiregexp.css" rel="stylesheet" type="text/css" />
6
+ <script type="text/javascript" src="../../lib/MochiKit/MochiKit.js"></script>
7
+ <script type="text/javascript" src="mochiregexp.js"></script>
8
+ </head>
9
+ <body>
10
+ <h1>
11
+ MochiRegExp - JavaScript Regular Expression (RegExp) Explorer
12
+ </h1>
13
+ <div>
14
+ <p>
15
+ This demo does "live" Regular Expression matching to help you
16
+ toy with JavaScript Regular Expressions.
17
+ It takes advantage of
18
+ <a href="http://mochikit.com">MochiKit</a>'s
19
+ <a href="../../doc/html/lib/MochiKit/DOM.html">MochiKit.DOM</a>
20
+ to manipulate the display and
21
+ <a href="../../doc/html/lib/MochiKit/Async.html">MochiKit.Async</a>
22
+ to facilitate the "half a second" live updating.
23
+ </p>
24
+ <p>
25
+ The table will update while you're typing if you're idle for
26
+ half a second or when you tab away from the field, whichever
27
+ comes first. If you enter an invalid RegExp, the RegExp label
28
+ will turn <span class="error">red</span> (the "error" class).
29
+ For a good JavaScript's RegExp reference, see
30
+ <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Guide:Regular_Expressions">Regular Expressions</a>
31
+ over at <a href="http://developer.mozilla.org">DevMo</a>.
32
+ </p>
33
+ </div>
34
+
35
+ <form id="regexp_form">
36
+ <table class="form">
37
+ <col class="column1">
38
+ <col class="column2">
39
+ <tbody>
40
+ <tr>
41
+ <th><label id="lab_text" for="inp_text">Input Text:</label></th>
42
+ <td><input id="inp_text" name="text" type="text" class="textbox" size="80" /></td>
43
+ </tr>
44
+ <tr>
45
+ <th><label id="lab_regexp" for="inp_regexp">RegExp:</label></th>
46
+ <td><input id="inp_regexp" name="regexp" type="text" class="textbox" size="80" /></td>
47
+ </tr>
48
+ <tr>
49
+ <th></th>
50
+ <td><input type="reset" value="Clear" /></td>
51
+ </tr>
52
+ </tbody>
53
+ </table>
54
+ </form>
55
+
56
+ <div>
57
+ View Source: [
58
+ <a href="index.html" class="view-source">index.html</a> |
59
+ <a href="mochiregexp.js" class="view-source">mochiregexp.js</a>
60
+ ]
61
+ </div>
62
+ <table class="datagrid">
63
+ <thead>
64
+ <tr>
65
+ <th>Property</th>
66
+ <th>Result</th>
67
+ <th>Repr</th>
68
+ </tr>
69
+ </thead>
70
+ <tfoot class="invisible"><tr><td colspan="3"></td></tr></tfoot>
71
+ <tbody id="result_body"><tr><td colspan="3"></td></tr></tbody>
72
+ </table>
73
+ </body>
74
+ </html>
@@ -0,0 +1,73 @@
1
+ h1 {
2
+ font-size: 2em;
3
+ color: #4B4545;
4
+ text-align: center;
5
+ }
6
+
7
+ table.datagrid {
8
+ width: 100%;
9
+ border-collapse: collapse;
10
+ }
11
+
12
+ table.datagrid thead th {
13
+ text-align: left;
14
+ background-color: #4B4545;
15
+ background-repeat: no-repeat;
16
+ background-position: right center;
17
+ color: white;
18
+ font-weight: bold;
19
+ padding: .3em .7em;
20
+ font-size: .9em;
21
+ padding-right: 5px;
22
+ background-repeat: no-repeat;
23
+ background-position: 95% right;
24
+ }
25
+
26
+ table.datagrid thead th a {
27
+ color: white;
28
+ text-decoration: none;
29
+ font-size: 1.0em;
30
+ background-repeat: no-repeat;
31
+ background-position: center right;
32
+ padding-right: 15px;
33
+ }
34
+
35
+ table.datagrid tbody th {
36
+ font-weight: bold;
37
+ }
38
+
39
+ table.datagrid tbody td, table.datagrid tbody th {
40
+ text-align: left;
41
+ padding: .3em .7em;
42
+ border-bottom: 1px solid #eee;
43
+ }
44
+
45
+ table.datagrid tbody tr.alternate td, table.datagrid tbody tr.alternate th {
46
+ background-color: #f1f1f1;
47
+ }
48
+
49
+ table.datagrid tfoot td, table.datagrid tfoot th {
50
+ background-color: #FFFEE3;
51
+ color: #4B4545;
52
+ padding: .5em;
53
+ font-weight: bold;
54
+ border-top: 2px solid #4B4545;
55
+ }
56
+
57
+ table.datagrid tfoot th { text-align: left; }
58
+
59
+ table.datagrid tfoot td { }
60
+
61
+ .invisible { display: none; }
62
+
63
+ input.textbox, textarea { border: 1px solid #CCCCCC; font-size: .95em; padding: 2px 4px; margin-top: .3em; }
64
+ input.textbox:focus, textarea:focus { background-color: #FFFEE3; }
65
+
66
+ .highlight { font-weight: bold; };
67
+ form { margin: 0; padding: 0; }
68
+
69
+ fieldset { border: none; margin: 0; padding: 0; }
70
+ fieldset label { font-weight: bold; color: #4B4545; }
71
+ fieldset .field { margin-bottom: 1em; }
72
+
73
+ .error { color: red; }
@@ -0,0 +1,125 @@
1
+ /*
2
+
3
+ MochiRegExp: JavaScript Regular Expression Explorer
4
+
5
+ */
6
+ RegExpManager = function () {
7
+ this.timer = null;
8
+ bindMethods(this);
9
+ };
10
+
11
+ RegExpManager.prototype.initialize = function () {
12
+ /*
13
+ Fill in the event handlers and sample text, and do the initial update
14
+ The reason we do the sample text here is so that "clear" really does
15
+ clear the fields.
16
+ */
17
+ setNodeAttribute("inp_text", "value", "matched with your pattern");
18
+ connect("inp_text", "onkeyup", this, "updateSoon");
19
+ connect("inp_text", "onchange", this, "update");
20
+
21
+ setNodeAttribute("inp_regexp", "value", "/(pattern)/");
22
+ connect("inp_regexp", "onkeyup", this, "updateSoon");
23
+ connect("inp_regexp", "onchange", this, "update");
24
+
25
+ connect("regexp_form", "onsubmit", this, "submit");
26
+
27
+ this.update();
28
+ };
29
+
30
+ RegExpManager.prototype.updateSoon = function () {
31
+ /*
32
+ If the user stops typing for half a second, do one update.
33
+ */
34
+ this.cancelTimer();
35
+ this.timer = callLater(0.5, this.update);
36
+ };
37
+
38
+ RegExpManager.prototype.cancelTimer = function () {
39
+ /*
40
+ Cancel the timer that waits for the user to idle for half a second.
41
+ */
42
+ if (this.timer) {
43
+ this.timer.cancel();
44
+ }
45
+ this.timer = null;
46
+ };
47
+
48
+ RegExpManager.prototype.update = function () {
49
+ /*
50
+ Cancel the update timer and actually do an update of the
51
+ RegExp
52
+ */
53
+ this.cancelTimer();
54
+ var re;
55
+ try {
56
+ // Evaluate the regexp
57
+ re = eval("(" + getElement("inp_regexp").value + ")");
58
+ } catch (e) {
59
+ // If invalid, color it red and stop
60
+ addElementClass("lab_regexp", "error");
61
+ return;
62
+ }
63
+ // Make sure that it's not red
64
+ removeElementClass("lab_regexp", "error");
65
+
66
+ // replace the contents of the tbody
67
+ var match = getElement("inp_text").value.match(re);
68
+ replaceChildNodes("result_body", this.getRows(match));
69
+ };
70
+
71
+ RegExpManager.prototype.getRows = function (match) {
72
+ /*
73
+ Return rows for the tbody given a match object
74
+ */
75
+ if (!match) {
76
+ // No match, bail with a no match row
77
+ return TR(null, TD({"colspan": "3"}, "No match!"));
78
+ }
79
+ var isAlternate = true;
80
+ var res = [];
81
+ for (var k in match) {
82
+ isAlternate = !isAlternate;
83
+ var trAttribs = isAlternate ? {"class": "alternate"} : null;
84
+ var v = match[k];
85
+ var result = v;
86
+ // Highlight the result for the input property as three spans:
87
+ // [beforeMatch, duringMatch, afterMatch]
88
+ if (k == "input") {
89
+ var end = match.index + match[0].length;
90
+ result = [
91
+ SPAN(null, v.substr(0, match.index)),
92
+ SPAN({"class": "highlight"}, v.substring(match.index, end)),
93
+ SPAN(null, v.substr(end))
94
+ ];
95
+ }
96
+ res.push(
97
+ TR((isAlternate ? {"class": "alternate"} : null),
98
+ TD(null, k),
99
+ TD(null, result),
100
+ TD(null, repr(v))
101
+ )
102
+ );
103
+ }
104
+ return res;
105
+ };
106
+
107
+ RegExpManager.prototype.submit = function () {
108
+ this.update();
109
+ return false;
110
+ };
111
+
112
+ regExpManager = new RegExpManager();
113
+ addLoadEvent(regExpManager.initialize);
114
+
115
+ // rewrite the view-source links
116
+ addLoadEvent(function () {
117
+ var elems = getElementsByTagAndClassName("A", "view-source");
118
+ var page = "mochiregexp/";
119
+ for (var i = 0; i < elems.length; i++) {
120
+ var elem = elems[i];
121
+ var href = elem.href.split(/\//).pop();
122
+ elem.target = "_blank";
123
+ elem.href = "../view-source/view-source.html#" + page + href;
124
+ }
125
+ });
@@ -0,0 +1,88 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
2
+ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml">
4
+ <head>
5
+ <title>Mouse Events with MochiKit</title>
6
+ <link href="mouse_events.css" rel="stylesheet" type="text/css" />
7
+ <script type="text/javascript" src="../../lib/MochiKit/MochiKit.js"></script>
8
+ <script type="text/javascript" src="mouse_events.js"></script>
9
+ </head>
10
+ <body>
11
+ <h1>
12
+ Mouse Events with MochiKit
13
+ </h1>
14
+ <p>
15
+ For a detailed description of what happens under the hood, check out
16
+ <a href="mouse_events.js" class="view-source">mouse_events.js</a>.
17
+ </p>
18
+
19
+ <p>
20
+ View Source: [
21
+ <a href="index.html" class="view-source">index.html</a> |
22
+ <a href="mouse_events.js" class="view-source">mouse_events.js</a> |
23
+ <a href="mouse_events.css" class="view-source">mouse_events.css</a>
24
+ ]
25
+ </p>
26
+
27
+ <div id="show-mouse-event" class="scroll-box">
28
+ Hover, Click, or Scroll In Me:<br/><br/>
29
+ <span id="show-mouse-event-repr"></span>
30
+ </div>
31
+
32
+ <div id="scroll-page" class="scroll-box" style="height: 100px; overflow: scroll;">
33
+ Scroll Me and then the page scrolls! <br />
34
+ Scroll Me and then the page scrolls! <br />
35
+ Scroll Me and then the page scrolls! <br />
36
+ Scroll Me and then the page scrolls! <br />
37
+ Scroll Me and then the page scrolls! <br />
38
+ Scroll Me and then the page scrolls! <br />
39
+ Scroll Me and then the page scrolls! <br />
40
+ Scroll Me and then the page scrolls! <br />
41
+ Scroll Me and then the page scrolls! <br />
42
+ Scroll Me and then the page scrolls! <br />
43
+ Scroll Me and then the page scrolls! <br />
44
+ Scroll Me and then the page scrolls! <br />
45
+ Scroll Me and then the page scrolls! <br />
46
+ Scroll Me and then the page scrolls! <br />
47
+ Scroll Me and then the page scrolls! <br />
48
+ Scroll Me and then the page scrolls! <br />
49
+ Scroll Me and then the page scrolls! <br />
50
+ Scroll Me and then the page scrolls! <br />
51
+ Scroll Me and then the page scrolls! <br />
52
+ Scroll Me and then the page scrolls! <br />
53
+ </div>
54
+
55
+ <div id="no-scroll-page" class="scroll-box" style="height: 100px; overflow: scroll;">
56
+ Scroll Me and then the page does not scroll! <br />
57
+ Scroll Me and then the page does not scroll! <br />
58
+ Scroll Me and then the page does not scroll! <br />
59
+ Scroll Me and then the page does not scroll! <br />
60
+ Scroll Me and then the page does not scroll! <br />
61
+ Scroll Me and then the page does not scroll! <br />
62
+ Scroll Me and then the page does not scroll! <br />
63
+ Scroll Me and then the page does not scroll! <br />
64
+ Scroll Me and then the page does not scroll! <br />
65
+ Scroll Me and then the page does not scroll! <br />
66
+ Scroll Me and then the page does not scroll! <br />
67
+ Scroll Me and then the page does not scroll! <br />
68
+ Scroll Me and then the page does not scroll! <br />
69
+ Scroll Me and then the page does not scroll! <br />
70
+ Scroll Me and then the page does not scroll! <br />
71
+ Scroll Me and then the page does not scroll! <br />
72
+ Scroll Me and then the page does not scroll! <br />
73
+ Scroll Me and then the page does not scroll! <br />
74
+ Scroll Me and then the page does not scroll! <br />
75
+ Scroll Me and then the page does not scroll! <br />
76
+ </div>
77
+
78
+ <div class="padding">Ignore me I just make the page big enough to require scrollbars.</div>
79
+ <div class="padding">Ignore me I just make the page big enough to require scrollbars.</div>
80
+ <div class="padding">Ignore me I just make the page big enough to require scrollbars.</div>
81
+ <div class="padding">Ignore me I just make the page big enough to require scrollbars.</div>
82
+ <div class="padding">Ignore me I just make the page big enough to require scrollbars.</div>
83
+ <div class="padding">Ignore me I just make the page big enough to require scrollbars.</div>
84
+ <div class="padding">Ignore me I just make the page big enough to require scrollbars.</div>
85
+ <div class="padding">Ignore me I just make the page big enough to require scrollbars.</div>
86
+ <div class="padding">Ignore me I just make the page big enough to require scrollbars.</div>
87
+ </body>
88
+ </html>
@@ -0,0 +1,17 @@
1
+ h1 {
2
+ font-size: 2em;
3
+ color: #4B4545;
4
+ text-align: center;
5
+ }
6
+
7
+ div.scroll-box {
8
+ border : 2px solid blue;
9
+ padding : 4ex 4em;
10
+ margin : 4ex 4em;
11
+ }
12
+
13
+ div.padding {
14
+ padding : 4ex 4em;
15
+ margin : 4ex 4em;
16
+ border : 1px solid silver;
17
+ }
@@ -0,0 +1,59 @@
1
+ /*
2
+
3
+ Mouse Events: Simple Mouse Scrolling Handlers
4
+
5
+ */
6
+
7
+ function showMouseEvent(evt) {
8
+ getElement("show-mouse-event-repr").innerHTML = repr(evt);
9
+ evt.stop();
10
+ };
11
+
12
+ function stopPageFromScrolling( event ) {
13
+ var src = event.src();
14
+ var scrollTop = src.scrollTop;
15
+
16
+ // While trying to stop scrolling events for IE, found that it
17
+ // jumped around a bit. The following fudgetFactor is NOT the way
18
+ // to handle this but was the best I could do with the limited time
19
+ // I had.
20
+ var fudgeFactor = /MSIE/.test(navigator.userAgent) ? 25 : 0;
21
+
22
+ // scrolling up
23
+ if (event.mouse().wheel.y < 0) {
24
+ // Following test should probably be "if (scrollTop == 0)" which
25
+ // works in FF but not IE.
26
+ if (scrollTop <= fudgeFactor) {
27
+ event.stop();
28
+ }
29
+ }
30
+ //..scrolling down
31
+ else {
32
+ // Following test should be "if (scrollTop == src.scrollHeight - src.clientHeight)",
33
+ // see comment above.
34
+ if (src.scrollHeight <= (scrollTop + src.clientHeight + fudgeFactor)) {
35
+ event.stop();
36
+ }
37
+ }
38
+ };
39
+
40
+ function connectEvents(){
41
+ connect("show-mouse-event", "onmousemove", showMouseEvent);
42
+ connect("show-mouse-event", "onmousedown", showMouseEvent);
43
+ connect("show-mouse-event", "onmouseup", showMouseEvent);
44
+ connect("show-mouse-event", "onmousewheel", showMouseEvent);
45
+ connect("no-scroll-page", "onmousewheel", stopPageFromScrolling);
46
+ };
47
+
48
+ connect(window, 'onload',
49
+ function() {
50
+ connectEvents();
51
+ var elems = getElementsByTagAndClassName("A", "view-source");
52
+ var page = "mouse_events/";
53
+ for (var i = 0; i < elems.length; i++) {
54
+ var elem = elems[i];
55
+ var href = elem.href.split(/\//).pop();
56
+ elem.target = "_blank";
57
+ elem.href = "../view-source/view-source.html#" + page + href;
58
+ }
59
+ });
@@ -0,0 +1,28 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
+ <html>
3
+ <head>
4
+ <title>Demo of MochiKit Visual Elements</title>
5
+ <link href="rounded_corners.css" rel="stylesheet" type="text/css" />
6
+ <script type="text/javascript" src="../../lib/MochiKit/MochiKit.js"></script>
7
+ <script type="text/javascript" src="rounded_corners.js"></script>
8
+ </head>
9
+ <body>
10
+ <h1>MochiKit.Visual <span id="visual_version"></span></h1>
11
+ <h2>Rounded Corners</h2>
12
+ <p>
13
+ This example demonstrates the rounded corners functionality of
14
+ <a href="http://mochikit.com">MochiKit</a>'s
15
+ <a href="../../doc/html/lib/MochiKit/Visual.html">MochiKit.Visual</a>.
16
+ </p>
17
+ <p>
18
+ The heading at the top of this page should have all four corners
19
+ rounded. The heading for this section should just have the bottom
20
+ corners rounded.
21
+ </p>
22
+ View Source:
23
+ <ul>
24
+ <li><a href="rounded_corners.js" class="view-source">rounded_corners.js</a></li>
25
+ <li><a href="index.html" class="view-source">index.html</a></li>
26
+ </ul>
27
+ </body>
28
+ </html>
@@ -0,0 +1,3 @@
1
+ h1 { background: darkgreen; color: yellow; text-align: center; }
2
+ h2 { background: darkgreen; color: yellow; padding-top: 0.25em;}
3
+ .invisible { display: none; }
@@ -0,0 +1,19 @@
1
+ var roundedCornersOnLoad = function () {
2
+ swapDOM("visual_version", SPAN(null, MochiKit.Visual.VERSION));
3
+ roundClass("h1", null);
4
+ roundClass("h2", null, {corners: "bottom"});
5
+ };
6
+ addLoadEvent(roundedCornersOnLoad);
7
+
8
+ // rewrite the view-source links
9
+ addLoadEvent(function () {
10
+ var elems = getElementsByTagAndClassName("A", "view-source");
11
+ var page = "rounded_corners/";
12
+ for (var i = 0; i < elems.length; i++) {
13
+ var elem = elems[i];
14
+ var href = elem.href.split(/\//).pop();
15
+ elem.target = "_blank";
16
+ elem.href = "../view-source/view-source.html#" + page + href;
17
+ }
18
+ });
19
+
@@ -0,0 +1,45 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <title>script.aculo.us Drag and drop functional test file</title>
6
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
7
+ <script type="text/javascript" src="../../lib/MochiKit/MochiKit.js"></script>
8
+ <script type="text/javascript" src="../../lib/MochiKit/Position.js"></script>
9
+ <script type="text/javascript" src="../../lib/MochiKit/Visual.js"></script>
10
+ <script type="text/javascript" src="../../lib/MochiKit/DragAndDrop.js"></script>
11
+ <style type="text/css" media="screen">
12
+ #thelist li { background: green; margin:5px; padding: 30px; }
13
+ #thelist2 li { background: #ffb; margin:2px; padding: 2px; }
14
+ </style>
15
+ </head>
16
+ <body>
17
+ <h1>script.aculo.us Drag and drop functional test file</h1>
18
+
19
+ <h2>Draggables/Droppables</h2>
20
+
21
+ <div id="revertbox1" class="box1" style="z-index:1000;width:150px;height:150px;background:#bbf;">
22
+ <span id="handle1">drag here</span><br/>
23
+ <input type="checkbox" id="shouldrevert1"/> Revert?
24
+ </div>
25
+
26
+ <div id="revertbox2" class="box" style="z-index:1000;width:150px;height:150px;background:#bbf;">
27
+ <span id="handle2">drag here</span><br/>
28
+ <input type="checkbox" id="shouldrevert2"/> Revert?
29
+ </div>
30
+
31
+ <div id="droptarget1" style="width:200px;height:200px;background-color:#eee;">accepts first box</div>
32
+ <div id="droptarget2" style="width:200px;height:200px;background-color:#eee;">accepts second box</div>
33
+
34
+ <script type="text/javascript" language="javascript" charset="utf-8">
35
+ // <![CDATA[
36
+ new MochiKit.DragAndDrop.Draggable('revertbox1',{handle:'handle1',revert:function(element){return ($('shouldrevert1').checked)}});
37
+ new MochiKit.DragAndDrop.Draggable('revertbox2',{handle:'handle2',revert:function(element){return ($('shouldrevert2').checked)}});
38
+ new MochiKit.DragAndDrop.Droppable('droptarget1',{accept:['box1','otherstuff'],ondrop:function(){alert('drop!')}});
39
+ new MochiKit.DragAndDrop.Droppable('droptarget2',{accept:['box'],ondrop:function(){alert('drop!')}});
40
+ // ]]>
41
+ </script>
42
+
43
+
44
+ </body>
45
+ </html>
@@ -0,0 +1,119 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <title>script.aculo.us Drag and drop functional test file</title>
6
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
7
+ <script type="text/javascript" src="../../lib/MochiKit/MochiKit.js"></script>
8
+ <script type="text/javascript" src="../../lib/MochiKit/Position.js"></script>
9
+ <script type="text/javascript" src="../../lib/MochiKit/Visual.js"></script>
10
+ <script type="text/javascript" src="../../lib/MochiKit/DragAndDrop.js"></script>
11
+ <script type="text/javascript" src="../../lib/MochiKit/Sortable.js"></script>
12
+ <style type="text/css" media="screen">
13
+ #thelist li { background: green; margin:5px; padding: 30px; }
14
+ #thelist2 li { background: #ffb; margin:2px; padding: 2px; }
15
+ #revertbox2 { position:absolute;top:40px;left:50px;z-index:1000;width:150px;height:150px;background:#bbf; }
16
+ </style>
17
+ </head>
18
+ <body>
19
+ <h1>script.aculo.us Drag and drop functional test file</h1>
20
+
21
+ <h2>Draggables/Droppables</h2>
22
+
23
+ <div id="revertbox1" class="box1" style="z-index:1000;width:150px;height:150px;background:#bbf;">
24
+ <span class="handle1">drag here</span><br/>
25
+ <input type="checkbox" id="shouldrevert1"/> Revert?
26
+ </div>
27
+
28
+ <div id="revertbox2" class="box">
29
+ <span id="handle2">drag here</span><br/>
30
+ <input type="checkbox" id="shouldrevert2"/> Revert?
31
+ </div>
32
+
33
+ <div id="xxxx">testtest</div>
34
+
35
+ <script type="text/javascript" language="javascript" charset="utf-8">
36
+ // <![CDATA[
37
+ new MochiKit.DragAndDrop.Draggable('revertbox1',{zindex:-5,handle:'handle1',revert:function(element){return ($('shouldrevert1').checked)}});
38
+ new MochiKit.DragAndDrop.Draggable('revertbox2',{handle:'handle2',revert:function(element){return ($('shouldrevert2').checked)}});
39
+ new MochiKit.DragAndDrop.Droppable('xxxx',{accept:['box1','box2'],onDrop:function(){alert('drop!')}});
40
+ // ]]>
41
+ </script>
42
+
43
+
44
+
45
+
46
+ <ul id="thelist" style="padding: 10px; position: absolute; top:20px; left:200px;z-index:1000;">
47
+ <li id="thelist_4">Hey there! I'm absolutely positioned</li>
48
+ <li id="thelist_1">one<br/><form id="form1"><input type="checkbox" onclick="this.checked = !this.checked" value="x" name="x" id="xyz"/><input type="text" id="xxx"></input></form></li>
49
+ <li id="thelist_2">two<br/><form id="form2"><input type="text" id="xyx"></input></form></li>
50
+ <li id="thelist_3">three<br/><form id="form3"><input type="text" id="xu3"></input></form></li>
51
+ </ul>
52
+
53
+ <ul id="thelist2" style="padding: 2px; background:red;">
54
+ <li>Relatively here!</li>
55
+ <li><input onclick="this.checked = !this.checked" name="x" id="x" type="checkbox"/>one</li>
56
+ <li>one</li>
57
+ <li>one</li>
58
+ <li>one</li>
59
+ <li>one</li>
60
+ <li>one</li>
61
+ <li>one</li>
62
+ <li>one</li>
63
+ <li>one</li>
64
+ <li>one</li>
65
+ <li>one</li>
66
+ <li>one</li>
67
+ <li>one</li>
68
+ <li>one</li>
69
+ <li>one</li>
70
+ <li>one</li>
71
+ <li>one</li>
72
+ <li>one</li>
73
+ <li>one</li>
74
+ <li>one</li>
75
+ <li>one</li>
76
+ <li>one</li>
77
+ <li>one</li>
78
+ <li>one</li>
79
+ <li>one</li>
80
+ <li>one</li>
81
+ <li>one</li>
82
+ <li>one</li>
83
+ <li>one</li>
84
+ <li>one</li>
85
+ <li>one</li>
86
+ <li>one</li>
87
+ <li>one</li>
88
+ <li>one</li>
89
+ <li>one</li>
90
+ <li>one</li>
91
+ <li>one</li>
92
+ <li>one</li>
93
+ <li>one</li>
94
+ <li>one</li>
95
+ <li>one</li>
96
+ <li>one</li>
97
+ <li>one</li>
98
+ <li>one</li>
99
+ <li>one</li>
100
+ <li>one</li>
101
+ <li>one</li>
102
+ <li>one</li>
103
+ <li>one</li>
104
+ <li>one</li>
105
+ </ul>
106
+
107
+
108
+
109
+ <script type="text/javascript" language="javascript" charset="utf-8">
110
+ // <![CDATA[
111
+ // Sortable.create('thelist', {overlap: 'horizontal', constraint: false});
112
+ MochiKit.Sortable.Sortable.create('thelist');
113
+ MochiKit.Sortable.Sortable.create('thelist2');
114
+
115
+ // ]]>
116
+ </script>
117
+
118
+ </body>
119
+ </html>