old_sql 1.12.0 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- data/public/javascripts/old_sql/MochiKit-1.4.2/Changes +362 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/LICENSE.txt +69 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/MANIFEST +179 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/META.json +17 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Async.html +814 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Base.html +1703 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Color.html +755 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/DOM.html +1197 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/DateTime.html +168 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/DragAndDrop.html +187 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Format.html +300 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Iter.html +524 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Logging.html +420 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/LoggingPane.html +142 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Position.html +38 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Selector.html +240 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Signal.html +508 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Sortable.html +244 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Style.html +385 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/VersionHistory.html +384 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Visual.html +1161 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/index.html +447 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/js/toc.js +113 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Async.rst +767 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Base.rst +1445 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Color.rst +651 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/DOM.rst +1143 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/DateTime.rst +145 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/DragAndDrop.rst +197 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Format.rst +258 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Iter.rst +454 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Logging.rst +348 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/LoggingPane.rst +128 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Position.rst +26 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Selector.rst +203 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Signal.rst +498 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Sortable.rst +186 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Style.rst +353 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/VersionHistory.rst +362 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Visual.rst +895 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/index.rst +83 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/ajax_tables.css +69 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/ajax_tables.js +401 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/domains.json +10 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/domains.xml +40 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/index.html +96 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/color_wheel/color_wheel.css +4 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/color_wheel/color_wheel.js +95 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/color_wheel/index.html +31 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/dnd_sortable.css +23 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/dropmarker.png +0 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/icon.png +0 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/index.html +54 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable2_test.html +150 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable3_test.html +42 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable4_test.html +90 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable5_test.html +29 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable_test.html +38 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable_tree_test.html +189 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/draggable/draggable.css +28 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/draggable/draggable.js +73 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/draggable/index.html +38 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_bigslide.html +36 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_blind.html +65 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_blindslide.html +31 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_combi.css +18 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_fadeappear.html +61 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_grow_shrink.html +38 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_onload.html +67 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_queue.html +67 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_queue_limit.html +30 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_scroll.html +483 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_slide.html +62 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/full.html +71 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/icon.png +0 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/index.html +150 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/interpreter/index.html +88 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/interpreter/interpreter.css +54 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/interpreter/interpreter.js +373 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/key_events/index.html +78 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/key_events/key_events.css +5 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/key_events/key_events.js +85 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/logging_pane/index.html +46 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/logging_pane/logging_pane.css +78 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/logging_pane/logging_pane.js +11 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mochiregexp/index.html +74 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mochiregexp/mochiregexp.css +73 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mochiregexp/mochiregexp.js +125 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mouse_events/index.html +88 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mouse_events/mouse_events.css +17 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mouse_events/mouse_events.js +59 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/rounded_corners/index.html +28 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/rounded_corners/rounded_corners.css +3 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/rounded_corners/rounded_corners.js +19 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_boxes.html +45 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_full.html +119 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_ghost.html +40 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_hoverclass.html +43 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_scroll.html +91 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_snap.html +54 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/index.html +93 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/simple_dnd.css +64 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/sortable_tables/index.html +71 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/sortable_tables/sortable_tables.css +66 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/sortable_tables/sortable_tables.js +203 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/SyntaxHighlighter.css +177 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/Tests.html +339 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushCSharp.js +30 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushDelphi.js +31 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushJScript.js +22 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushPhp.js +23 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushPython.js +71 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushSql.js +40 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushVb.js +29 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushXml.js +61 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shCore.js +622 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/view-source.css +1 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/view-source.html +19 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/view-source.js +70 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/include/_img/bg_docheader.gif +0 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/include/_img/g_bullet.gif +0 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/include/_img/g_logo_doc.gif +0 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/include/css/documentation.css +130 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/include/css/general.css +48 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Async.js +682 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Base.js +1489 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Color.js +863 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/DOM.js +1256 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/DateTime.js +222 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/DragAndDrop.js +793 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Format.js +304 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Iter.js +844 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Logging.js +315 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/LoggingPane.js +353 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/MochiKit.js +188 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/MockDOM.js +115 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Position.js +236 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Selector.js +415 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Signal.js +897 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Sortable.js +589 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Style.js +594 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Test.js +162 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Visual.js +2026 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/__package__.js +18 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/packed/MochiKit/MochiKit.js +7829 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/packed/MochiKit/__package__.js +6 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/packed/MochiKit/customize.html +251 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/FakeJSAN.js +40 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/SimpleTest/SimpleTest.js +381 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/SimpleTest/TestRunner.js +159 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/SimpleTest/test.css +28 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/cli.js +6 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/index.html +25 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/standalone.js +16 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Base.js +577 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Color.js +137 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_DateTime.js +52 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_DragAndDrop.js +30 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Format.js +89 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Iter.js +186 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Logging.js +88 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Async.html +408 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Async.json +1 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Base.html +34 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Color.html +84 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DOM-Safari.html +48 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DOM.html +363 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DateTime.html +39 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DragAndDrop.html +54 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Format.html +39 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Iter.html +38 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-JSAN.html +32 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Logging.html +40 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-MochiKit.html +18 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Selector.html +295 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Signal.html +43 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Style.html +223 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Visual.html +197 -0
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Signal.js +481 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/COPYING +28 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/Base.js +406 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/Canvas.js +683 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/EasyPlot.js +161 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/Layout.js +756 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/PlotKit.js +151 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/PlotKit_Packed.js +2177 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/SVG.js +705 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/SweetCanvas.js +348 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/SweetSVG.js +247 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/dummy.svg +9 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/excanvas.js +723 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/README +1 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/MochiKitAdditions.html +2 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/MochiKitAdditions.txt +2 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Base.html +302 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Base.txt +139 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Canvas.html +172 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Canvas.txt +81 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.EasyPlot.html +155 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.EasyPlot.txt +50 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Layout.html +428 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Layout.txt +330 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.QuickStart.html +368 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.QuickStart.txt +256 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Renderer.html +436 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Renderer.txt +299 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SVG.html +159 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SVG.txt +64 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SweetCanvas.html +131 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SweetCanvas.txt +34 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SweetSVG.html +131 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SweetSVG.txt +34 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.html +334 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.txt +151 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/SVGCanvasCompat.html +304 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/SVGCanvasCompat.txt +144 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/barsample.png +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/black.png +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/blue.png +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/cyan.png +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/doc.css +62 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/generate.py +37 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/green.png +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/orange.png +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/piesample.png +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/purple.png +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/red.png +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/scripts/custom_rhino.jar +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/scripts/pack.py +58 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/axis.html +31 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/basic.html +25 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/basic.js +143 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/debug.html +56 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/demo-svg.html +58 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/demo-svg.js +133 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/demo.html +57 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/demo.js +136 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/dynamic.html +161 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/firefox.png +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/konqueror.png +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/mozilla.ico +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/msie.gif +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/opera.ico +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/img/safari.gif +0 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/labels-img.html +38 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/labels.html +43 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/prototype_compat.html +28 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart-easy.html +29 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart-horiz.html +53 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart-neg.html +29 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart-svg.html +61 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart.html +57 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/sample.txt +6 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/svg-sweet.html +29 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/svg-sweet.js +141 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/svg.html +26 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/svg.js +147 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/sweet.html +24 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/sweet.js +89 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/tests.css +66 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/testsvg.html +20 -0
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/testsvg.js +31 -0
- metadata +264 -2
@@ -0,0 +1,96 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
2
|
+
<!--
|
3
|
+
|
4
|
+
Using a made-up xmlns..
|
5
|
+
|
6
|
+
-->
|
7
|
+
<html xmlns:mochi="http://mochikit.com/examples/ajax_tables">
|
8
|
+
<head>
|
9
|
+
<title>Sortable Tables from Scratch with MochiKit</title>
|
10
|
+
<link href="ajax_tables.css" rel="stylesheet" type="text/css" />
|
11
|
+
<script type="text/javascript" src="../../lib/MochiKit/MochiKit.js"></script>
|
12
|
+
<script type="text/javascript" src="ajax_tables.js"></script>
|
13
|
+
</head>
|
14
|
+
<body>
|
15
|
+
<h1>
|
16
|
+
Sortable Ajax Tables in JSON and XML with MochiKit
|
17
|
+
</h1>
|
18
|
+
<div>
|
19
|
+
<div>
|
20
|
+
<p>
|
21
|
+
This is an example of how one might use <a href="http://mochikit.com/">MochiKit</a> to do
|
22
|
+
sortable tables from data given by the server in either JSON
|
23
|
+
or XML format. It uses
|
24
|
+
<a href="../../doc/html/lib/MochiKit/Async.html">MochiKit.Async</a>
|
25
|
+
to fetch the data, and
|
26
|
+
<a href="../../doc/html/lib/MochiKit/DOM.html">MochiKit.DOM</a>
|
27
|
+
to display it.
|
28
|
+
</p>
|
29
|
+
<p>
|
30
|
+
Includes a micro implementation of something
|
31
|
+
<a href="http://www.zope.org/Wikis/DevSite/Projects/ZPT/FrontPage">TAL</a>-esque
|
32
|
+
(called "MochiTAL" in the source, using a mochi: namespace).
|
33
|
+
For a more detailed description of what happens under the
|
34
|
+
covers, view the <a href="ajax_tables.js" class="view-source">ajax_tables.js</a>
|
35
|
+
source and look at the comments.
|
36
|
+
</p>
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
<div>
|
40
|
+
View Source: [
|
41
|
+
<a href="index.html" class="view-source">index.html</a> |
|
42
|
+
<a href="ajax_tables.js" class="view-source">ajax_tables.js</a> |
|
43
|
+
<a href="domains.json" class="view-source">domains.json</a> |
|
44
|
+
<a href="domains.xml" class="view-source">domains.xml</a>
|
45
|
+
]
|
46
|
+
</div>
|
47
|
+
<div>
|
48
|
+
Load data: [
|
49
|
+
<a href="domains.json" mochi:dataformat="json">domains.json</a>
|
50
|
+
| <a href="domains.xml" mochi:dataformat="xml">domains.xml</a>
|
51
|
+
]
|
52
|
+
(current format: <span class="mochi-template" mochi:content="format">loading</span>)
|
53
|
+
</div>
|
54
|
+
<table id="sortable_table" class="datagrid">
|
55
|
+
<thead>
|
56
|
+
<tr>
|
57
|
+
<th mochi:sortcolumn="domain_name str">Domain Name</th>
|
58
|
+
<th mochi:sortcolumn="create_date isoDate">Creation Date</th>
|
59
|
+
<th mochi:sortcolumn="expiry_date isoDate">Expiry Date</th>
|
60
|
+
<th mochi:sortcolumn="organization_name istr">Organization Name</th>
|
61
|
+
</tr>
|
62
|
+
</thead>
|
63
|
+
<tfoot class="invisible">
|
64
|
+
<tr>
|
65
|
+
<td colspan="0"></td>
|
66
|
+
</tr>
|
67
|
+
</tfoot>
|
68
|
+
<tbody class="mochi-template">
|
69
|
+
<tr mochi:repeat="item domains">
|
70
|
+
<td mochi:content="item.domain_name">mochibot.com</td>
|
71
|
+
<td mochi:content="item.create_date">2005-02-10</td>
|
72
|
+
<td mochi:content="item.expiry_date">2007-02-10</td>
|
73
|
+
<td mochi:content="item.organization_name">Jameson Hsu</td>
|
74
|
+
</tr>
|
75
|
+
<tr class="mochi-example">
|
76
|
+
<td>pythonmac.org</td>
|
77
|
+
<td>2003-09-24</td>
|
78
|
+
<td>2006-09-24</td>
|
79
|
+
<td>Bob Ippolito</td>
|
80
|
+
</tr>
|
81
|
+
<tr class="mochi-example">
|
82
|
+
<td>undefined.org</td>
|
83
|
+
<td>2000-01-10</td>
|
84
|
+
<td>2006-01-10</td>
|
85
|
+
<td>Robert J Ippolito</td>
|
86
|
+
</tr>
|
87
|
+
<tr class="mochi-example">
|
88
|
+
<td>python.org</td>
|
89
|
+
<td>1995-03-27</td>
|
90
|
+
<td>2007-03-28</td>
|
91
|
+
<td>Python Software Foundation</td>
|
92
|
+
</tr>
|
93
|
+
</tbody>
|
94
|
+
</table>
|
95
|
+
</body>
|
96
|
+
</html>
|
@@ -0,0 +1,95 @@
|
|
1
|
+
var radius = 225;
|
2
|
+
var twoPI = Math.PI * 2;
|
3
|
+
var amplification = 10;
|
4
|
+
|
5
|
+
var calcAlpha = function (target, lightness) {
|
6
|
+
return Math.max(1.0 - (Math.abs(lightness - target) * amplification), 0);
|
7
|
+
};
|
8
|
+
|
9
|
+
var makeColorDiv = function (name) {
|
10
|
+
var c = Color.fromName(name);
|
11
|
+
var hsl = c.asHSL();
|
12
|
+
var r = hsl.s * radius;
|
13
|
+
var e = DIV({"style": {
|
14
|
+
"color": Color.fromHSL(hsl).toString(),
|
15
|
+
"width": "100px",
|
16
|
+
"height": "30px",
|
17
|
+
"position": "absolute",
|
18
|
+
"verticalAlign": "middle",
|
19
|
+
"textAlign": "center",
|
20
|
+
"left": Math.floor((Math.cos(hsl.h * twoPI) * r) - 50) + "px",
|
21
|
+
"top": Math.floor((Math.sin(hsl.h * twoPI) * r)) + "px"
|
22
|
+
}},
|
23
|
+
name
|
24
|
+
);
|
25
|
+
// hsl.a = 0;
|
26
|
+
return [c, e];
|
27
|
+
};
|
28
|
+
|
29
|
+
var colorWheelOnLoad = function () {
|
30
|
+
var seenColors = {};
|
31
|
+
var colors = Color.namedColors();
|
32
|
+
var colorDivs = [];
|
33
|
+
for (var k in colors) {
|
34
|
+
var val = colors[k];
|
35
|
+
if (val in seenColors) {
|
36
|
+
continue;
|
37
|
+
}
|
38
|
+
colorDivs.push(makeColorDiv(k));
|
39
|
+
}
|
40
|
+
swapDOM(
|
41
|
+
"color_wheel",
|
42
|
+
DIV(null, map(itemgetter(1), colorDivs))
|
43
|
+
);
|
44
|
+
var colorCanary = DIV({"style":{"color": "blue"}}, "");
|
45
|
+
try {
|
46
|
+
colorCanary.style.color = "rgba(100,100,100,0.5)";
|
47
|
+
} catch (e) {
|
48
|
+
// IE passtastic
|
49
|
+
}
|
50
|
+
var colorFunc;
|
51
|
+
// Check for CSS3 HSL support
|
52
|
+
if (colorCanary.style.color == "blue") {
|
53
|
+
var bgColor = Color.fromBackground();
|
54
|
+
colorFunc = function (color, alpha) {
|
55
|
+
return bgColor.blendedColor(color, alpha).toHexString();
|
56
|
+
};
|
57
|
+
} else {
|
58
|
+
colorFunc = function (color, alpha) {
|
59
|
+
return color.colorWithAlpha(alpha).toRGBString();
|
60
|
+
}
|
61
|
+
}
|
62
|
+
// Per-frame animation
|
63
|
+
var intervalFunc = function (cycle, timeout) {
|
64
|
+
var target = 0.5 + (0.5 * Math.sin(Math.PI * (cycle / 180)));
|
65
|
+
for (var i = 0; i < colorDivs.length; i++) {
|
66
|
+
var cd = colorDivs[i];
|
67
|
+
var color = cd[0];
|
68
|
+
var alpha = calcAlpha(target, color.asHSL().l);
|
69
|
+
var style = cd[1].style;
|
70
|
+
if (alpha == 0) {
|
71
|
+
style.display = "none";
|
72
|
+
} else {
|
73
|
+
style.display ="";
|
74
|
+
style.color = colorFunc(color, alpha);
|
75
|
+
}
|
76
|
+
}
|
77
|
+
callLater(timeout, arguments.callee, cycle + 2, timeout);
|
78
|
+
};
|
79
|
+
// < 5 fps
|
80
|
+
intervalFunc(0, 1/5);
|
81
|
+
};
|
82
|
+
|
83
|
+
addLoadEvent(colorWheelOnLoad);
|
84
|
+
|
85
|
+
// rewrite the view-source links
|
86
|
+
addLoadEvent(function () {
|
87
|
+
var elems = getElementsByTagAndClassName("A", "view-source");
|
88
|
+
var page = "color_wheel/";
|
89
|
+
for (var i = 0; i < elems.length; i++) {
|
90
|
+
var elem = elems[i];
|
91
|
+
var href = elem.href.split(/\//).pop();
|
92
|
+
elem.target = "_blank";
|
93
|
+
elem.href = "../view-source/view-source.html#" + page + href;
|
94
|
+
}
|
95
|
+
});
|
@@ -0,0 +1,31 @@
|
|
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.Color</title>
|
5
|
+
<link href="color_wheel.css" rel="stylesheet" type="text/css" />
|
6
|
+
<script type="text/javascript" src="../../lib/MochiKit/MochiKit.js"></script>
|
7
|
+
<script type="text/javascript" src="color_wheel.js"></script>
|
8
|
+
</head>
|
9
|
+
<body>
|
10
|
+
<h1>Color Wheel</h1>
|
11
|
+
<div id="docs">
|
12
|
+
Animated visualization of all the CSS3 colors by:
|
13
|
+
hue (angle), saturation (distance), luminance (time/alpha).
|
14
|
+
<br />
|
15
|
+
Uses <a href="http://mochikit.com/">MochiKit</a>'s
|
16
|
+
<a href="../../doc/html/lib/MochiKit/Color.html">MochiKit.Color</a>,
|
17
|
+
<a href="../../doc/html/lib/MochiKit/DOM.html">MochiKit.DOM</a>,
|
18
|
+
and <a href="../../doc/html/lib/MochiKit/Async.html">MochiKit.Async</a>.
|
19
|
+
</div>
|
20
|
+
<div id="source">
|
21
|
+
View Source: [
|
22
|
+
<a href="index.html" class="view-source">index.html</a> |
|
23
|
+
<a href="color_wheel.js" class="view-source">color_wheel.js</a>
|
24
|
+
]
|
25
|
+
</div>
|
26
|
+
|
27
|
+
<div id="color_wheel_container">
|
28
|
+
<div id="color_wheel" />
|
29
|
+
</div>
|
30
|
+
</body>
|
31
|
+
</html>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
h1 {
|
2
|
+
font-size: 2em;
|
3
|
+
color: #4B4545;
|
4
|
+
text-align: center;
|
5
|
+
}
|
6
|
+
|
7
|
+
#dnd_sortable {
|
8
|
+
margin: 0;
|
9
|
+
margin-top: 10px;
|
10
|
+
padding: 0;
|
11
|
+
list-style-type: none;
|
12
|
+
width: 250px;
|
13
|
+
}
|
14
|
+
|
15
|
+
#dnd_sortable li {
|
16
|
+
margin: 0;
|
17
|
+
margin-bottom: 4px;
|
18
|
+
padding: 5px;
|
19
|
+
border: 1px solid #888;
|
20
|
+
cursor: move;
|
21
|
+
text-align: center;
|
22
|
+
}
|
23
|
+
|
Binary file
|
@@ -0,0 +1,54 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>Drag and Drop Sortable Tables with MochiKit</title>
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
+
<link href="dnd_sortable.css" rel="stylesheet" type="text/css" />
|
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
|
+
</head>
|
13
|
+
<body>
|
14
|
+
<h1>
|
15
|
+
Drag and Drop Sortable Tables with MochiKit
|
16
|
+
</h1>
|
17
|
+
<p>
|
18
|
+
View Source: [
|
19
|
+
<a href="index.html" class="view-source">index.html</a>
|
20
|
+
]
|
21
|
+
</p>
|
22
|
+
<ul id="dnd_sortable">
|
23
|
+
<li>mochibot.com</li>
|
24
|
+
<li>pythonmac.org</li>
|
25
|
+
<li>undefined.org</li>
|
26
|
+
<li>python.org</li>
|
27
|
+
</ul>
|
28
|
+
<p>
|
29
|
+
<a onclick="validate()">Validate order choice</a>
|
30
|
+
</p>
|
31
|
+
<script type="text/javascript">
|
32
|
+
MochiKit.Sortable.Sortable.create('dnd_sortable');
|
33
|
+
|
34
|
+
validate = function () {
|
35
|
+
var children = MochiKit.DOM.getElement("dnd_sortable").childNodes;
|
36
|
+
var res = '';
|
37
|
+
for (var i = 0; i < children.length; i++) {
|
38
|
+
res += children[i].firstChild.nodeValue + ' ';
|
39
|
+
}
|
40
|
+
alert(res);
|
41
|
+
}
|
42
|
+
</script>
|
43
|
+
<p>
|
44
|
+
<ul>
|
45
|
+
<li><a href="sortable_test.html">Test 1</a></li>
|
46
|
+
<li><a href="sortable2_test.html">Test 2</a></li>
|
47
|
+
<li><a href="sortable3_test.html">Test 3</a></li>
|
48
|
+
<li><a href="sortable4_test.html">Test 4</a></li>
|
49
|
+
<li><a href="sortable5_test.html">Test 5</a></li>
|
50
|
+
<li><a href="sortable_tree_test.html">Test tree</a></li>
|
51
|
+
</ul>
|
52
|
+
</p>
|
53
|
+
</body>
|
54
|
+
</html>
|
@@ -0,0 +1,150 @@
|
|
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 Sortable ghosting 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/Signal.js"></script>
|
11
|
+
<script type="text/javascript" src="../../lib/MochiKit/DragAndDrop.js"></script>
|
12
|
+
<script type="text/javascript" src="../../lib/MochiKit/Sortable.js"></script>
|
13
|
+
<style>
|
14
|
+
ul.testlist {
|
15
|
+
list-style-type:none;
|
16
|
+
margin:0;
|
17
|
+
padding:0;
|
18
|
+
}
|
19
|
+
ul.testlist li {
|
20
|
+
width:200px;
|
21
|
+
font:12px Verdana;
|
22
|
+
padding:4px;
|
23
|
+
cursor:move;
|
24
|
+
}
|
25
|
+
ul.testlist li.over {
|
26
|
+
background-color:#fcb;
|
27
|
+
}
|
28
|
+
ul.testlist li img {
|
29
|
+
float:left;
|
30
|
+
margin-right:8px;
|
31
|
+
}
|
32
|
+
div.dropmarker {
|
33
|
+
height:6px;
|
34
|
+
width:200px;
|
35
|
+
background: url(dropmarker.png) left top;
|
36
|
+
margin-top:-3px;
|
37
|
+
margin-left:-5px;
|
38
|
+
z-index:1000;
|
39
|
+
overflow: hidden;
|
40
|
+
}
|
41
|
+
#testlist4 li {
|
42
|
+
float:left;
|
43
|
+
}
|
44
|
+
</style>
|
45
|
+
</head>
|
46
|
+
<body>
|
47
|
+
<h1>script.aculo.us Sortable ghosting functional test file</h1>
|
48
|
+
|
49
|
+
<h2>Ghosting</h2>
|
50
|
+
|
51
|
+
<ul id="testlist" class="testlist">
|
52
|
+
<li id="item_1"><img src="icon.png" alt=""/> Lorem ipsum dolor</li>
|
53
|
+
<li id="item_2"><img src="icon.png" alt=""/> sit amet</li>
|
54
|
+
<li id="item_3"><img src="icon.png" alt=""/> consectetur adipisicing</li>
|
55
|
+
<li id="item_4"><img src="icon.png" alt=""/> elit</li>
|
56
|
+
<li id="item_5"><img src="icon.png" alt=""/> sed do eiusmod</li>
|
57
|
+
<li id="item_6"><img src="icon.png" alt=""/> tempor incididunt</li>
|
58
|
+
<li id="item_7"><img src="icon.png" alt=""/> ut labore et dolore</li>
|
59
|
+
<li id="item_8"><img src="icon.png" alt=""/> magna aliqua</li>
|
60
|
+
</ul>
|
61
|
+
|
62
|
+
<p id="testlist_serialize">(waiting for onChange)</p>
|
63
|
+
|
64
|
+
<script type="text/javascript" language="javascript" charset="utf-8">
|
65
|
+
// <![CDATA[
|
66
|
+
MochiKit.Sortable.Sortable.create('testlist',{ghosting:true,constraint:false,hoverclass:'over',
|
67
|
+
onUpdate:function(sortable){alert(MochiKit.Sortable.Sortable.serialize(sortable))},
|
68
|
+
onChange:function(element){$('testlist_serialize').innerHTML = MochiKit.Sortable.Sortable.serialize(element.parentNode)}
|
69
|
+
});
|
70
|
+
// ]]>
|
71
|
+
</script>
|
72
|
+
|
73
|
+
<h2>No ghosting</h2>
|
74
|
+
|
75
|
+
<ul id="testlist2" class="testlist">
|
76
|
+
<li id="item_9"><img src="icon.png" alt=""/> Lorem ipsum dolor</li>
|
77
|
+
<li id="item_10"><img src="icon.png" alt=""/> sit amet</li>
|
78
|
+
<li id="item_11"><img src="icon.png" alt=""/> consectetur adipisicing</li>
|
79
|
+
<li id="item_12"><img src="icon.png" alt=""/> elit</li>
|
80
|
+
<li id="item_13"><img src="icon.png" alt=""/> sed do eiusmod</li>
|
81
|
+
<li id="item_14"><img src="icon.png" alt=""/> tempor incididunt</li>
|
82
|
+
<li id="item_15"><img src="icon.png" alt=""/> ut labore et dolore</li>
|
83
|
+
<li id="item_16"><img src="icon.png" alt=""/> magna aliqua</li>
|
84
|
+
</ul>
|
85
|
+
|
86
|
+
<p id="testlist2_serialize">(waiting for onChange)</p>
|
87
|
+
|
88
|
+
<script type="text/javascript" language="javascript" charset="utf-8">
|
89
|
+
// <![CDATA[
|
90
|
+
MochiKit.Sortable.Sortable.create('testlist2',{ghosting:false,constraint:false,hoverclass:'over',
|
91
|
+
onUpdate:function(sortable){alert(MochiKit.Sortable.Sortable.serialize(sortable))},
|
92
|
+
onChange:function(element){$('testlist2_serialize').innerHTML = MochiKit.Sortable.Sortable.serialize(element.parentNode)}
|
93
|
+
});
|
94
|
+
// ]]>
|
95
|
+
</script>
|
96
|
+
|
97
|
+
<h2>Ghosting (inside position:relative container)</h2>
|
98
|
+
<div style="position:relative;left:100px;top:-5px;">
|
99
|
+
<ul id="testlist3" class="testlist">
|
100
|
+
<li id="item_17"><img src="icon.png" alt=""/> Lorem ipsum dolor</li>
|
101
|
+
<li id="item_18"><img src="icon.png" alt=""/> sit amet</li>
|
102
|
+
<li id="item_19"><img src="icon.png" alt=""/> consectetur adipisicing</li>
|
103
|
+
<li id="item_20"><img src="icon.png" alt=""/> elit</li>
|
104
|
+
<li id="item_21"><img src="icon.png" alt=""/> sed do eiusmod</li>
|
105
|
+
<li id="item_22"><img src="icon.png" alt=""/> tempor incididunt</li>
|
106
|
+
<li id="item_23"><img src="icon.png" alt=""/> ut labore et dolore</li>
|
107
|
+
<li id="item_24"><img src="icon.png" alt=""/> magna aliqua</li>
|
108
|
+
</ul>
|
109
|
+
</div>
|
110
|
+
<p id="testlist3_serialize">(waiting for onChange)</p>
|
111
|
+
|
112
|
+
<script type="text/javascript" language="javascript" charset="utf-8">
|
113
|
+
// <![CDATA[
|
114
|
+
MochiKit.Sortable.Sortable.create('testlist3',{ghosting:true,constraint:false,
|
115
|
+
onUpdate:function(sortable){alert(MochiKit.Sortable.Sortable.serialize(sortable))},
|
116
|
+
onChange:function(element){$('testlist3_serialize').innerHTML = MochiKit.Sortable.Sortable.serialize(element.parentNode)}
|
117
|
+
});
|
118
|
+
// ]]>
|
119
|
+
</script>
|
120
|
+
|
121
|
+
|
122
|
+
<h2>Ghosting (inside position:relative container)</h2>
|
123
|
+
<div style="position:relative;left:100px;top:-5px;">
|
124
|
+
<ul id="testlist4" class="testlist">
|
125
|
+
<li id="item_417"><img src="icon.png" alt=""/> Lorem ipsum dolor</li>
|
126
|
+
<li id="item_418"><img src="icon.png" alt=""/> sit amet</li>
|
127
|
+
<li id="item_419"><img src="icon.png" alt=""/> consectetur adipisicing</li>
|
128
|
+
<li id="item_420"><img src="icon.png" alt=""/> elit</li>
|
129
|
+
<li id="item_421"><img src="icon.png" alt=""/> sed do eiusmod</li>
|
130
|
+
<li id="item_422"><img src="icon.png" alt=""/> tempor incididunt</li>
|
131
|
+
<li id="item_423"><img src="icon.png" alt=""/> ut labore et dolore</li>
|
132
|
+
<li id="item_424"><img src="icon.png" alt=""/> magna aliqua</li>
|
133
|
+
</ul>
|
134
|
+
</div>
|
135
|
+
<p id="testlist4_serialize">(waiting for onChange)</p>
|
136
|
+
|
137
|
+
<script type="text/javascript" language="javascript" charset="utf-8">
|
138
|
+
// <![CDATA[
|
139
|
+
MochiKit.Sortable.Sortable.create('testlist4',{overlap:'horizontal',ghosting:true,constraint:false,
|
140
|
+
onUpdate:function(sortable){alert(MochiKit.Sortable.Sortable.serialize(sortable))},
|
141
|
+
onChange:function(element){$('testlist4_serialize').innerHTML = MochiKit.Sortable.Sortable.serialize(element.parentNode)}
|
142
|
+
});
|
143
|
+
// ]]>
|
144
|
+
</script>
|
145
|
+
|
146
|
+
|
147
|
+
<div id="debug"></div>
|
148
|
+
|
149
|
+
</body>
|
150
|
+
</html>
|
@@ -0,0 +1,42 @@
|
|
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 sortable 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/Signal.js"></script>
|
11
|
+
<script type="text/javascript" src="../../lib/MochiKit/DragAndDrop.js"></script>
|
12
|
+
<script type="text/javascript" src="../../lib/MochiKit/Sortable.js"></script>
|
13
|
+
<style type="text/css" media="screen">
|
14
|
+
ul { height: 100px; border:1px dotted #888; }
|
15
|
+
</style>
|
16
|
+
</head>
|
17
|
+
<body>
|
18
|
+
<h1>script.aculo.us Sortable two-lists w/ dropOnEmpty functional test file</h1>
|
19
|
+
|
20
|
+
<ul id="thelist1">
|
21
|
+
<li id="thelist1_1">Hey there! I'm item#1/1</li>
|
22
|
+
<li id="thelist1_2">Hey there! I'm item#1/2</li>
|
23
|
+
<li id="thelist1_3">Hey there! I'm item#1/3</li>
|
24
|
+
</ul>
|
25
|
+
|
26
|
+
<ul id="thelist2">
|
27
|
+
</ul>
|
28
|
+
|
29
|
+
<script type="text/javascript" language="javascript" charset="utf-8">
|
30
|
+
// <![CDATA[
|
31
|
+
MochiKit.Sortable.Sortable.create('thelist1',{containment:['thelist1','thelist2'], dropOnEmpty:true});
|
32
|
+
MochiKit.Sortable.Sortable.create('thelist2',{containment:['thelist1','thelist2'], dropOnEmpty:true});
|
33
|
+
// ]]>
|
34
|
+
</script>
|
35
|
+
|
36
|
+
<a href="#" onclick="alert(MochiKit.Sortable.Sortable.serialize('thelist1'));return false;">Serialize sortable1</a>
|
37
|
+
<a href="#" onclick="alert(MochiKit.Sortable.Sortable.serialize('thelist2'));return false;">Serialize sortable2</a>
|
38
|
+
|
39
|
+
<div id="debug"></div>
|
40
|
+
|
41
|
+
</body>
|
42
|
+
</html>
|
@@ -0,0 +1,90 @@
|
|
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 sortable 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/Signal.js"></script>
|
11
|
+
<script type="text/javascript" src="../../lib/MochiKit/DragAndDrop.js"></script>
|
12
|
+
<script type="text/javascript" src="../../lib/MochiKit/Sortable.js"></script>
|
13
|
+
<style type="text/css" media="screen">
|
14
|
+
ul.sortablelist {
|
15
|
+
list-style-image:none;
|
16
|
+
list-style-type:none;
|
17
|
+
margin-top:5px;
|
18
|
+
margin:0px;
|
19
|
+
padding:0px;
|
20
|
+
}
|
21
|
+
|
22
|
+
ul.sortabledemo li {
|
23
|
+
padding:0px;
|
24
|
+
margin:0px;
|
25
|
+
}
|
26
|
+
|
27
|
+
span.handle {
|
28
|
+
background-color: #E8A400;
|
29
|
+
color:white;
|
30
|
+
cursor: move;
|
31
|
+
}
|
32
|
+
|
33
|
+
li.green {
|
34
|
+
background-color: #ECF3E1;
|
35
|
+
border:1px solid #C5DEA1;
|
36
|
+
cursor: move;
|
37
|
+
}
|
38
|
+
|
39
|
+
li.orange {
|
40
|
+
border:1px solid #E8A400;
|
41
|
+
background-color: #FFF4D8;
|
42
|
+
}
|
43
|
+
</style>
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
<h1>script.aculo.us: Two floating sortables with containment and dropOnEmpty</h1>
|
47
|
+
|
48
|
+
<div style="height:200px;">
|
49
|
+
<div style="float:left;">
|
50
|
+
<h3>This is the first list</h3>
|
51
|
+
<ul class="sortabledemo" id="firstlist" style="height:150px;width:200px;">
|
52
|
+
<li class="green" id="firstlist_firstlist1">Item 1 from first list.</li>
|
53
|
+
<li class="green" id="firstlist_firstlist2">Item 2 from first list.</li>
|
54
|
+
<li class="green" id="firstlist_firstlist3">Item 3 from first list.</li>
|
55
|
+
</ul>
|
56
|
+
</div>
|
57
|
+
<div style="float:left;">
|
58
|
+
<h3>And now the second list</h3>
|
59
|
+
<ul class="sortabledemo" id="secondlist" style="height:150px;width:200px;">
|
60
|
+
<li class="orange" id="secondlist_secondlist1">
|
61
|
+
<span class="handle">DRAG HERE</span> Item 1 from second list.
|
62
|
+
</li>
|
63
|
+
<li class="orange" id="secondlist_secondlist2">
|
64
|
+
<span class="handle">DRAG HERE</span> Item 2 from second list.
|
65
|
+
</li>
|
66
|
+
<li class="orange" id="secondlist_secondlist3">
|
67
|
+
<span class="handle">DRAG HERE</span> Item 3 from second list.
|
68
|
+
</li>
|
69
|
+
</ul>
|
70
|
+
</div>
|
71
|
+
</div>
|
72
|
+
|
73
|
+
<hr style="clear:both" />
|
74
|
+
|
75
|
+
<pre id="firstlist_debug"></pre>
|
76
|
+
<pre id="secondlist_debug"></pre>
|
77
|
+
|
78
|
+
<script type="text/javascript">
|
79
|
+
// <![CDATA[
|
80
|
+
MochiKit.Sortable.Sortable.create("firstlist",
|
81
|
+
{dropOnEmpty:true,containment:["firstlist","secondlist"],constraint:false,
|
82
|
+
onChange:function(){$('firstlist_debug').innerHTML = MochiKit.Sortable.Sortable.serialize('firstlist') }});
|
83
|
+
MochiKit.Sortable.Sortable.create("secondlist",
|
84
|
+
{dropOnEmpty:true,handle:'handle',containment:["firstlist","secondlist"],constraint:false,
|
85
|
+
onChange:function(){$('secondlist_debug').innerHTML = MochiKit.Sortable.Sortable.serialize('secondlist') }});
|
86
|
+
// ]]>
|
87
|
+
</script>
|
88
|
+
|
89
|
+
</body>
|
90
|
+
</html>
|
@@ -0,0 +1,29 @@
|
|
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>MochiKit sortable 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/DragAndDrop.js"></script>
|
9
|
+
<script type="text/javascript" src="../../lib/MochiKit/Sortable.js"></script>
|
10
|
+
</head>
|
11
|
+
<body>
|
12
|
+
|
13
|
+
<div id="container_div">
|
14
|
+
|
15
|
+
</div>
|
16
|
+
|
17
|
+
<script type="text/javascript" language="javascript" charset="utf-8">
|
18
|
+
// <![CDATA[
|
19
|
+
var ul = UL(null,
|
20
|
+
LI(null, "blah1"),
|
21
|
+
LI(null, "blah2"));
|
22
|
+
appendChildNodes('container_div', ul);
|
23
|
+
|
24
|
+
MochiKit.Sortable.Sortable.create(ul, { onUpdate: function() { alert(MochiKit.Sortable.Sortable.serialize(ul)); } });
|
25
|
+
// ]]>
|
26
|
+
</script>
|
27
|
+
|
28
|
+
</body>
|
29
|
+
</html>
|