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,348 @@
1
+ .. title:: MochiKit.Logging - we're all tired of alert()
2
+
3
+ Name
4
+ ====
5
+
6
+ MochiKit.Logging - we're all tired of alert()
7
+
8
+
9
+ Synopsis
10
+ ========
11
+
12
+ ::
13
+
14
+ log("INFO messages are so boring");
15
+ logDebug("DEBUG messages are even worse");
16
+ log("good thing I can pass", objects, "conveniently");
17
+
18
+
19
+ Description
20
+ ===========
21
+
22
+ MochiKit.Logging steals some ideas from Python's logging module [1]_,
23
+ but completely forgot about the Java [2]_ inspiration. This is a KISS
24
+ module for logging that provides enough flexibility to do just about
25
+ anything via listeners, but without all the cruft.
26
+
27
+
28
+ Dependencies
29
+ ============
30
+
31
+ - :mochiref:`MochiKit.Base`
32
+
33
+
34
+ Overview
35
+ ========
36
+
37
+ Native Console Logging
38
+ ----------------------
39
+
40
+ As of MochiKit 1.3, the default logger will log all messages to your
41
+ browser's native console. This is currently supported in Safari, Opera
42
+ 9, and Firefox when the `FireBug`_ extension is installed. MochiKit
43
+ 1.4 adds support for the relevant APIs for Internet Explorer (the
44
+ Debugger and the Atlas framework, see `here`__).
45
+
46
+ .. __: http://www.nikhilk.net/Entry.aspx?id=93
47
+ .. _`FireBug`: http://www.joehewitt.com/software/firebug/
48
+
49
+ To disable this behavior::
50
+
51
+ MochiKit.Logging.logger.useNativeConsole = false;
52
+
53
+
54
+ Bookmarklet Based Debugging
55
+ ---------------------------
56
+
57
+ JavaScript is at a serious disadvantage without a standard console for
58
+ "print" statements. Everything else has one. The closest thing that
59
+ you get in a browser environment is the ``alert`` function, which is
60
+ absolutely evil.
61
+
62
+ This leaves you with one reasonable solution: do your logging in the
63
+ page somehow. The problem here is that you don't want to clutter the
64
+ page with debugging tools. The solution to that problem is what we
65
+ call BBD, or Bookmarklet Based Debugging [3]_.
66
+
67
+ Simply create a bookmarklet for
68
+ `javascript:MochiKit.Logging.logger.debuggingBookmarklet()`__, and
69
+ whack it whenever you want to see what's in the logger. Of course,
70
+ this means you must drink the MochiKit.Logging kool-aid. It's tangy
71
+ and sweet, don't worry.
72
+
73
+ .. __: javascript:MochiKit.Logging.logger.debuggingBookmarklet()
74
+
75
+ Currently this uses :mochiref:`MochiKit.LoggingPane` if loaded and
76
+ otherwise falls back to ugly ``alert`` messages.
77
+
78
+
79
+ API Reference
80
+ =============
81
+
82
+ Constructors
83
+ ------------
84
+
85
+ :mochidef:`LogMessage(num, level, info)`:
86
+
87
+ Properties:
88
+
89
+ ``num``:
90
+ Identifier for the log message
91
+
92
+ ``level``:
93
+ Level of the log message (``"INFO"``, ``"WARN"``,
94
+ ``"DEBUG"``, etc.)
95
+
96
+ ``info``:
97
+ All other arguments passed to log function as an ``Array``
98
+
99
+ ``timestamp``:
100
+ ``Date`` object timestamping the log message
101
+
102
+ *Availability*:
103
+ Available in MochiKit 1.3.1+
104
+
105
+
106
+ :mochidef:`Logger([maxSize])`:
107
+
108
+ A basic logger object that has a buffer of recent messages plus a
109
+ listener dispatch mechanism for "real-time" logging of important
110
+ messages.
111
+
112
+ ``maxSize`` is the maximum number of entries in the log. If
113
+ ``maxSize >= 0``, then the log will not buffer more than that many
114
+ messages. So if you don't like logging at all, be sure to pass
115
+ ``0``.
116
+
117
+ There is a default logger available named "logger", and several of
118
+ its methods are also global functions:
119
+
120
+ ================== =============
121
+ ``logger.log`` -> :mochiref:`log`
122
+ ``logger.debug`` -> :mochiref:`logDebug`
123
+ ``logger.warning`` -> :mochiref:`logWarning`
124
+ ``logger.error`` -> :mochiref:`logError`
125
+ ``logger.fatal`` -> :mochiref:`logFatal`
126
+ ================== =============
127
+
128
+ *Availability*:
129
+ Available in MochiKit 1.3.1+
130
+
131
+
132
+ :mochidef:`Logger.prototype.addListener(ident, filter, listener)`:
133
+
134
+ Add a listener for log messages.
135
+
136
+ ``ident`` is a unique identifier that may be used to remove the
137
+ listener later on.
138
+
139
+ ``filter`` can be one of the following:
140
+
141
+ ``null``:
142
+ ``listener(msg)`` will be called for every log message
143
+ received.
144
+
145
+ ``string``:
146
+ :mochiref:`logLevelAtLeast(filter)` will be used as the
147
+ function (see below).
148
+
149
+ ``function``:
150
+ ``filter(msg)`` will be called for every msg, if it
151
+ returns true then ``listener(msg)`` will be called.
152
+
153
+ ``listener`` is a function that takes one argument, a log
154
+ message. A log message is an object (:mochiref:`LogMessage`
155
+ instance) that has at least these properties:
156
+
157
+ ``num``:
158
+ A counter that uniquely identifies a log message
159
+ (per-logger)
160
+
161
+ ``level``:
162
+ A string or number representing the log level. If string,
163
+ you may want to use ``LogLevel[level]`` for comparison.
164
+
165
+ ``info``:
166
+ An Array of objects passed as additional arguments to the
167
+ ``log`` function.
168
+
169
+ *Availability*:
170
+ Available in MochiKit 1.3.1+
171
+
172
+
173
+ :mochidef:`Logger.prototype.baseLog(level, message[, ...])`:
174
+
175
+ The base functionality behind all of the log functions. The first
176
+ argument is the log level as a string or number, and all other
177
+ arguments are used as the info list.
178
+
179
+ This function is available partially applied as:
180
+
181
+ ============== =========
182
+ Logger.debug 'DEBUG'
183
+ Logger.log 'INFO'
184
+ Logger.error 'ERROR'
185
+ Logger.fatal 'FATAL'
186
+ Logger.warning 'WARNING'
187
+ ============== =========
188
+
189
+ For the default logger, these are also available as global
190
+ functions, see the :mochiref:`Logger` constructor documentation
191
+ for more info.
192
+
193
+ *Availability*:
194
+ Available in MochiKit 1.3.1+
195
+
196
+
197
+ :mochidef:`Logger.prototype.clear()`:
198
+
199
+ Clear all messages from the message buffer.
200
+
201
+ *Availability*:
202
+ Available in MochiKit 1.3.1+
203
+
204
+
205
+ :mochidef:`Logger.prototype.debuggingBookmarklet()`:
206
+
207
+ Display the contents of the logger in a useful way for browsers.
208
+
209
+ Currently, if :mochiref:`MochiKit.LoggingPane` is loaded, then a
210
+ pop-up :mochiref:`MochiKit.LoggingPane.LoggingPane` will be
211
+ used. Otherwise, it will be an alert with
212
+ :mochiref:`Logger.prototype.getMessageText()`.
213
+
214
+ *Availability*:
215
+ Available in MochiKit 1.3.1+
216
+
217
+
218
+ :mochidef:`Logger.prototype.dispatchListeners(msg)`:
219
+
220
+ Dispatch a log message to all listeners.
221
+
222
+ *Availability*:
223
+ Available in MochiKit 1.3.1+
224
+
225
+
226
+ :mochidef:`Logger.prototype.getMessages([howMany])`:
227
+
228
+ Returns a list of messages from the message buffer, ordered
229
+ from the oldest to the newest message. If ``howMany`` is
230
+ specified, only the last ``howMany`` messages are returned.
231
+ Otherwise all messages in the buffer are returned.
232
+
233
+ *Availability*:
234
+ Available in MochiKit 1.3.1+
235
+
236
+
237
+ :mochidef:`Logger.prototype.getMessageText([howMany])`:
238
+
239
+ Get a string representing up to the last ``howMany`` messages in
240
+ the message buffer. The default is ``30``.
241
+
242
+ The message looks like this::
243
+
244
+ LAST {messages.length} MESSAGES:
245
+ [{msg.num}] {msg.level}: {m.info.join(' ')}
246
+ [{msg.num}] {msg.level}: {m.info.join(' ')}
247
+ ...
248
+
249
+ If you want some other format, use
250
+ :mochiref:`Logger.prototype.getMessages` and do it yourself.
251
+
252
+ *Availability*:
253
+ Available in MochiKit 1.3.1+
254
+
255
+
256
+ :mochidef:`Logger.prototype.removeListener(ident)`:
257
+
258
+ Remove a listener using the ident given to
259
+ :mochiref:`Logger.prototype.addListener`
260
+
261
+ *Availability*:
262
+ Available in MochiKit 1.3.1+
263
+
264
+
265
+ Functions
266
+ ---------
267
+
268
+ :mochidef:`alertListener(msg)`:
269
+
270
+ Ultra-obnoxious ``alert(...)`` listener
271
+
272
+ *Availability*:
273
+ Available in MochiKit 1.3.1+
274
+
275
+
276
+ :mochidef:`log(message[, info[, ...]])`:
277
+
278
+ Log an INFO message to the default logger
279
+
280
+ *Availability*:
281
+ Available in MochiKit 1.3.1+
282
+
283
+
284
+ :mochidef:`logDebug(message[, info[, ...]])`:
285
+
286
+ Log a DEBUG message to the default logger
287
+
288
+ *Availability*:
289
+ Available in MochiKit 1.3.1+
290
+
291
+
292
+ :mochidef:`logError(message[, info[, ...]])`:
293
+
294
+ Log an ERROR message to the default logger
295
+
296
+ *Availability*:
297
+ Available in MochiKit 1.3.1+
298
+
299
+
300
+ :mochidef:`logFatal(message[, info[, ...]])`:
301
+
302
+ Log a FATAL message to the default logger
303
+
304
+ *Availability*:
305
+ Available in MochiKit 1.3.1+
306
+
307
+
308
+ :mochidef:`logLevelAtLeast(minLevel)`:
309
+
310
+ Return a function that will match log messages whose level is at
311
+ least minLevel
312
+
313
+ *Availability*:
314
+ Available in MochiKit 1.3.1+
315
+
316
+
317
+ :mochidef:`logWarning(message[, info[, ...]])`:
318
+
319
+ Log a WARNING message to the default logger
320
+
321
+ *Availability*:
322
+ Available in MochiKit 1.3.1+
323
+
324
+
325
+ See Also
326
+ ========
327
+
328
+ .. [1] Python's logging module: http://docs.python.org/lib/module-logging.html
329
+ .. [2] PEP 282, where they admit all of the Java influence: http://www.python.org/peps/pep-0282.html
330
+ .. [3] Original Bookmarklet Based Debugging blather: http://bob.pythonmac.org/archives/2005/07/03/bookmarklet-based-debugging/
331
+
332
+
333
+ Authors
334
+ =======
335
+
336
+ - Bob Ippolito <bob@redivi.com>
337
+
338
+
339
+ Copyright
340
+ =========
341
+
342
+ Copyright 2005 Bob Ippolito <bob@redivi.com>. This program is
343
+ dual-licensed free software; you can redistribute it and/or modify it
344
+ under the terms of the `MIT License`_ or the `Academic Free License
345
+ v2.1`_.
346
+
347
+ .. _`MIT License`: http://www.opensource.org/licenses/mit-license.php
348
+ .. _`Academic Free License v2.1`: http://www.opensource.org/licenses/afl-2.1.php
@@ -0,0 +1,128 @@
1
+ .. title:: MochiKit.LoggingPane - Interactive MochiKit.Logging pane
2
+
3
+ Name
4
+ ====
5
+
6
+ MochiKit.LoggingPane - Interactive MochiKit.Logging pane
7
+
8
+
9
+ Synopsis
10
+ ========
11
+
12
+ ::
13
+
14
+ // open a pop-up window
15
+ createLoggingPane()
16
+ // use a div at the bottom of the document
17
+ createLoggingPane(true);
18
+
19
+
20
+ Description
21
+ ===========
22
+
23
+ MochiKit.Logging does not have any browser dependencies and is
24
+ completely unobtrusive. MochiKit.LoggingPane is a browser-based
25
+ colored viewing pane for your :mochiref:`MochiKit.Logging` output that
26
+ can be used as a pop-up or inline.
27
+
28
+ It also allows for regex and level filtering! MochiKit.LoggingPane is
29
+ used as the default
30
+ :mochiref:`MochiKit.Logging.debuggingBookmarklet()` if it is loaded.
31
+
32
+
33
+ Dependencies
34
+ ============
35
+
36
+ - :mochiref:`MochiKit.Base`
37
+ - :mochiref:`MochiKit.Logging`
38
+
39
+
40
+ API Reference
41
+ =============
42
+
43
+ Constructors
44
+ ------------
45
+
46
+ :mochidef:`LoggingPane(inline=false, logger=MochiKit.Logging.logger)`:
47
+
48
+ A listener for a :mochiref:`MochiKit.Logging` logger with an
49
+ interactive DOM representation.
50
+
51
+ If ``inline`` is ``true``, then the ``LoggingPane`` will be a
52
+ ``DIV`` at the bottom of the document. Otherwise, it will be in a
53
+ pop-up window with a name based on the calling page's URL. If
54
+ there is an element in the document with an id of
55
+ ``_MochiKit_LoggingPane``, it will be used instead of appending a
56
+ new ``DIV`` to the body.
57
+
58
+ ``logger`` is the reference to the
59
+ :mochiref:`MochiKit.Logging.Logger` to listen to. If not
60
+ specified, the global default logger is used.
61
+
62
+ Properties:
63
+
64
+ ``win``:
65
+ Reference to the pop-up window (``undefined`` if
66
+ ``inline``)
67
+
68
+ ``inline``:
69
+ ``true`` if the ``LoggingPane`` is inline
70
+
71
+ ``colorTable``:
72
+ An object with property->value mappings for each log level
73
+ and its color. May also be mutated on
74
+ ``LoggingPane.prototype`` to affect all instances. For
75
+ example::
76
+
77
+ MochiKit.LoggingPane.LoggingPane.prototype.colorTable = {
78
+ DEBUG: "green",
79
+ INFO: "black",
80
+ WARNING: "blue",
81
+ ERROR: "red",
82
+ FATAL: "darkred"
83
+ };
84
+
85
+ *Availability*:
86
+ Available in MochiKit 1.3.1+
87
+
88
+
89
+ :mochidef:`LoggingPane.prototype.closePane()`:
90
+
91
+ Close the :mochiref:`LoggingPane` (close the child window, or
92
+ remove the ``_MochiKit_LoggingPane`` ``DIV`` from the document).
93
+
94
+ *Availability*:
95
+ Available in MochiKit 1.3.1+
96
+
97
+
98
+ Functions
99
+ ---------
100
+
101
+
102
+ :mochidef:`createLoggingPane(inline=false)`:
103
+
104
+ Create or return an existing :mochiref:`LoggingPane` for this
105
+ document with the given inline setting. This is preferred over
106
+ using :mochiref:`LoggingPane` directly, as only one
107
+ :mochiref:`LoggingPane` should be present in a given document.
108
+
109
+ *Availability*:
110
+ Available in MochiKit 1.3.1+
111
+
112
+
113
+ Authors
114
+ =======
115
+
116
+ - Bob Ippolito <bob@redivi.com>
117
+
118
+
119
+ Copyright
120
+ =========
121
+
122
+ Copyright 2005 Bob Ippolito <bob@redivi.com>. This program is
123
+ dual-licensed free software; you can redistribute it and/or modify it
124
+ under the terms of the `MIT License`_ or the `Academic Free License
125
+ v2.1`_.
126
+
127
+ .. _`MIT License`: http://www.opensource.org/licenses/mit-license.php
128
+ .. _`Academic Free License v2.1`: http://www.opensource.org/licenses/afl-2.1.php
@@ -0,0 +1,26 @@
1
+ .. title:: MochiKit.Position - DOM Position manipulation API
2
+
3
+ Name
4
+ ====
5
+
6
+ MochiKit.Position - DOM Position manipulation API
7
+
8
+
9
+ Synopsis
10
+ ========
11
+
12
+ This module is experimental and is present in MochiKit 1.4+ only. No
13
+ functions are currently exported from this module. Documentation is
14
+ forthcoming.
15
+
16
+
17
+ Copyright
18
+ =========
19
+
20
+ Copyright 2005-2006 Bob Ippolito <bob@redivi.com>, and others.
21
+ This program is dual-licensed free
22
+ software; you can redistribute it and/or modify it under the terms of
23
+ the `MIT License`_ or the `Academic Free License v2.1`_.
24
+
25
+ .. _`MIT License`: http://www.opensource.org/licenses/mit-license.php
26
+ .. _`Academic Free License v2.1`: http://www.opensource.org/licenses/afl-2.1.php
@@ -0,0 +1,203 @@
1
+ .. title:: MochiKit.Selector - Selecting elements by CSS selector syntax
2
+
3
+ Name
4
+ ====
5
+
6
+ MochiKit.Selector - Selecting elements by CSS selector syntax
7
+
8
+
9
+ Synopsis
10
+ ========
11
+
12
+ ::
13
+
14
+ MochiKit.Base.map(MochiKit.Visual.fade, $$('p.fademe'));
15
+
16
+
17
+ Description
18
+ ===========
19
+
20
+ MochiKit.Selector provides utilities to select elements by CSS
21
+ selector syntax. In particular it provides the :mochiref:`$$`
22
+ function.
23
+
24
+ Dependencies
25
+ ============
26
+
27
+ - :mochiref:`MochiKit.Base`
28
+ - :mochiref:`MochiKit.DOM`
29
+ - :mochiref:`MochiKit.Iter`
30
+
31
+
32
+ Overview
33
+ ========
34
+
35
+ This module provides facilities to select childs of a DOM node by
36
+ using CSS selector syntax. In particular, it provides the
37
+ :mochiref:`$$` function, which performs such a selection on the
38
+ current document.
39
+
40
+ Many of CSS3 [1]_ selectors are supported:
41
+
42
+ - Select by tag name (``A``)
43
+ - Select by class (``.theclass``)
44
+ - Select by id (``#someid``)
45
+ - Combinators
46
+ - Descendant: ``E F``
47
+ - Child: ``E > F``
48
+ - Immediate following sibling: ``E + F``
49
+ - Following sibling: ``E ~ F``
50
+ - Attribute selectors
51
+ - simple "has attribute" (without operator)
52
+ - ``=`` equal
53
+ - ``!=`` not equal (not in CSS std.)
54
+ - ``~=`` word containment
55
+ - ``^=`` starts-with
56
+ - ``$=`` ends-with
57
+ - ``*=`` substring containment
58
+ - ``|=`` first part of hyphen deleimited (eg. lang|="en" matches lang="en-US")
59
+ - Pseudo-classes
60
+ - ``:nth-child``, ``:nth-last-child``, ``:first-child``, ``:last-child``, ``:only-child``, ``:empty``, ``:enabled``, ``:disabled``, ``:checked``, ``:not(<any other selector>)``
61
+ - Deprecated Pseudo-classes (to be removed in 1.5)
62
+ - ``:root``, ``:nth-of-type``, ``:nth-last-of-type``, ``:first-of-type``, ``:last-of-type``, ``:only-of-type``
63
+
64
+ Multiple selectors can be concatenated, like this: ``P.quote[author~='Torvalds']``,
65
+ in which case elements matching *all* the selectors are returned. Furthermore, such
66
+ concatenations can be *combined* by joining them with spaces and combinators.
67
+ This invokes the regular CSS behaviour of matching parts of the combination in
68
+ sequence, starting off each part from the elements returned by the preceeding part.
69
+
70
+ For the ``:nth-*`` pseudoclasses, the ``an+b`` syntax is partially
71
+ supported, specifically a and b must be non-negative and only a is
72
+ optional (this differs from the CSS std.) Also, ``odd`` and ``even``
73
+ are supported, e.g. ``table tr:nth-child(odd)`` gives you every
74
+ other row of table starting with the first one.
75
+
76
+ For further documentation of CSS selectors, refer to the W3C CSS standard. [1]_
77
+
78
+ The original version of this module was ported from Prototype.
79
+
80
+ **Note:** This module is currently experimental and API stability cannot be
81
+ fully guaranteed. The implementation is scheduled to be replaced with a new
82
+ faster version (now in development) during the MochiKit 1.5 development
83
+ cycle.
84
+
85
+ **Note:** Due to how Internet Explorer handles node attributes, some attribute
86
+ selectors may not work as expected. In particular ``a[title]`` will not work
87
+ as all ``A`` elements in the Internet Explorer DOM model have a title attribute
88
+ regardless of whether it's specified in the markup or not.
89
+
90
+
91
+ API Reference
92
+ =============
93
+
94
+ Functions
95
+ ---------
96
+
97
+ :mochidef:`findDocElements(expression[, ...])`:
98
+
99
+ Performs a selection on the active document. Equivalent
100
+ to ``findChildElements(MochiKit.DOM.currentDocument(), [expression, ...])``
101
+
102
+ *Availability*:
103
+ Available in MochiKit 1.4+
104
+
105
+
106
+ :mochidef:`findChildElements(element, expressions)`:
107
+
108
+ Traverses the child nodes of ``element`` and returns the subset
109
+ of those that match any of the selector expressions in ``expressions``.
110
+
111
+ Each expression can be a combination of simple expressions, by concatenating
112
+ them with spaces or combinators. In that case, normal CSS rules apply, each
113
+ simple expression is evaluated in turn and the results of that one is used
114
+ as the scope for the succeeding expression (see :mochiref:`Selector.findElements`).
115
+ Finally, the results of the last simple expression is returned as the search result.
116
+
117
+ *Availability*:
118
+ Available in MochiKit 1.4+
119
+
120
+ :mochidef:`$$(expression[, ...])`:
121
+
122
+ An alias to ``findDocElements``.
123
+
124
+ *Availability*:
125
+ Available in MochiKit 1.4+
126
+
127
+ Constructors
128
+ -------------
129
+
130
+ :mochidef:`Selector(simpleExpression)`:
131
+
132
+ An object storing the parsed version of a simple CSS selector expression
133
+ and providing functions for executing searches.
134
+
135
+ *Simple* means that the expression is not a combination of expressions,
136
+ i.e. it does not contain any spaces.
137
+
138
+ Usually the user would not instantiate or use this object directly, but
139
+ heres how::
140
+
141
+ var selector = new MochiKit.Selector.Selector('#someelementid');
142
+ var searchResults = selector.findElements(rootElement);
143
+
144
+ *Deprecated*:
145
+ Use :mochiref:`findChildElements` instead. The Selector class will be
146
+ removed in version 1.5.
147
+
148
+ *Availability*:
149
+ Available in MochiKit 1.4+
150
+
151
+ :mochidef:`Selector.findElements(scope[, axis=""])`:
152
+
153
+ Performs a search on ``scope``. The value of axis controls what relatives
154
+ of ``scope`` are considered.
155
+
156
+ ``scope``:
157
+ A DOM node that acts as a starting point for the search.
158
+
159
+ ``axis``:
160
+ One of ``">"``, ``"+"``, ``"~"`` or the empty string (default).
161
+ If the empty string, all descendant nodes of ``scope`` are tested against
162
+ the expression. If ``>`` only direct child nodes of ``scope`` are tested,
163
+ if ``+`` only the next sibling (if any) of ``scope`` is tested and if
164
+ ``~`` all succeeding siblings of ``scope`` are tested.
165
+
166
+ *Deprecated*:
167
+ Use :mochiref:`findChildElements` instead. The Selector class will be
168
+ removed in version 1.5.
169
+
170
+ *Availability*:
171
+ Available in MochiKit 1.4+
172
+
173
+
174
+ See Also
175
+ ========
176
+
177
+ .. [1] CSS Selectors Level 3 (Last Call, oct. 2006):
178
+ http://www.w3.org/TR/2005/WD-css3-selectors-20051215/
179
+
180
+
181
+ Authors
182
+ =======
183
+
184
+ - Arnar Birgisson <arnarbi@gmail.com>
185
+ - Thomas Herve <therve@gmail.com>
186
+ - Originally ported from Prototype <http://prototype.conio.net/>
187
+
188
+
189
+ Copyright
190
+ =========
191
+
192
+ Copyright 2005 Bob Ippolito <bob@redivi.com>. This program is
193
+ dual-licensed free software; you can redistribute it and/or modify it
194
+ under the terms of the `MIT License`_ or the `Academic Free License
195
+ v2.1`_.
196
+
197
+ .. _`MIT License`: http://www.opensource.org/licenses/mit-license.php
198
+ .. _`Academic Free License v2.1`: http://www.opensource.org/licenses/afl-2.1.php
199
+
200
+ Based on Prototype, (c) 2005 Sam Stephenson, available under the `Prototype
201
+ license`_
202
+
203
+ .. _`Prototype license`: http://dev.rubyonrails.org/browser/spinoffs/prototype/LICENSE?rev=3362