old_sql 1.16.0 → 1.17.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.
- data/README.md +24 -13
- data/app/controllers/old_sql/report_controller.rb +3 -17
- data/app/views/layouts/old_sql/chart.html.erb +11 -0
- data/app/views/old_sql/report/chart.html.erb +8 -25
- data/lib/generators/old_sql/templates/user_design_template.csv +2 -3
- data/lib/generators/old_sql/templates/user_old_sql_demo_chart_design.yml +18 -9
- data/lib/old_sql/report_design/chart.rb +2 -2
- data/lib/old_sql/report_design/chart_item.rb +4 -4
- data/lib/old_sql/report_design/chart_parser.rb +2 -2
- data/public/javascripts/old_sql/chart.js +33 -0
- metadata +5 -265
- data/public/javascripts/old_sql/MochiKit-1.4.2/Changes +0 -362
- data/public/javascripts/old_sql/MochiKit-1.4.2/LICENSE.txt +0 -69
- data/public/javascripts/old_sql/MochiKit-1.4.2/MANIFEST +0 -179
- data/public/javascripts/old_sql/MochiKit-1.4.2/META.json +0 -17
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Async.html +0 -814
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Base.html +0 -1703
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Color.html +0 -755
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/DOM.html +0 -1197
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/DateTime.html +0 -168
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/DragAndDrop.html +0 -187
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Format.html +0 -300
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Iter.html +0 -524
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Logging.html +0 -420
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/LoggingPane.html +0 -142
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Position.html +0 -38
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Selector.html +0 -240
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Signal.html +0 -508
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Sortable.html +0 -244
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Style.html +0 -385
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/VersionHistory.html +0 -384
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/Visual.html +0 -1161
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/html/MochiKit/index.html +0 -447
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/js/toc.js +0 -113
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Async.rst +0 -767
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Base.rst +0 -1445
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Color.rst +0 -651
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/DOM.rst +0 -1143
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/DateTime.rst +0 -145
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/DragAndDrop.rst +0 -197
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Format.rst +0 -258
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Iter.rst +0 -454
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Logging.rst +0 -348
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/LoggingPane.rst +0 -128
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Position.rst +0 -26
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Selector.rst +0 -203
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Signal.rst +0 -498
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Sortable.rst +0 -186
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Style.rst +0 -353
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/VersionHistory.rst +0 -362
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/Visual.rst +0 -895
- data/public/javascripts/old_sql/MochiKit-1.4.2/doc/rst/MochiKit/index.rst +0 -83
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/ajax_tables.css +0 -69
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/ajax_tables.js +0 -401
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/domains.json +0 -10
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/domains.xml +0 -40
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/ajax_tables/index.html +0 -96
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/color_wheel/color_wheel.css +0 -4
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/color_wheel/color_wheel.js +0 -95
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/color_wheel/index.html +0 -31
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/dnd_sortable.css +0 -23
- 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 +0 -54
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable2_test.html +0 -150
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable3_test.html +0 -42
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable4_test.html +0 -90
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable5_test.html +0 -29
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable_test.html +0 -38
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/dnd_sortable/sortable_tree_test.html +0 -189
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/draggable/draggable.css +0 -28
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/draggable/draggable.js +0 -73
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/draggable/index.html +0 -38
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_bigslide.html +0 -36
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_blind.html +0 -65
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_blindslide.html +0 -31
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_combi.css +0 -18
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_fadeappear.html +0 -61
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_grow_shrink.html +0 -38
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_onload.html +0 -67
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_queue.html +0 -67
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_queue_limit.html +0 -30
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_scroll.html +0 -483
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/effects_slide.html +0 -62
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/effects/full.html +0 -71
- 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 +0 -150
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/interpreter/index.html +0 -88
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/interpreter/interpreter.css +0 -54
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/interpreter/interpreter.js +0 -373
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/key_events/index.html +0 -78
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/key_events/key_events.css +0 -5
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/key_events/key_events.js +0 -85
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/logging_pane/index.html +0 -46
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/logging_pane/logging_pane.css +0 -78
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/logging_pane/logging_pane.js +0 -11
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mochiregexp/index.html +0 -74
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mochiregexp/mochiregexp.css +0 -73
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mochiregexp/mochiregexp.js +0 -125
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mouse_events/index.html +0 -88
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mouse_events/mouse_events.css +0 -17
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/mouse_events/mouse_events.js +0 -59
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/rounded_corners/index.html +0 -28
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/rounded_corners/rounded_corners.css +0 -3
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/rounded_corners/rounded_corners.js +0 -19
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_boxes.html +0 -45
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_full.html +0 -119
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_ghost.html +0 -40
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_hoverclass.html +0 -43
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_scroll.html +0 -91
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/dnd_snap.html +0 -54
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/index.html +0 -93
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/simple_dnd/simple_dnd.css +0 -64
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/sortable_tables/index.html +0 -71
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/sortable_tables/sortable_tables.css +0 -66
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/sortable_tables/sortable_tables.js +0 -203
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/SyntaxHighlighter.css +0 -177
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/Tests.html +0 -339
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushCSharp.js +0 -30
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushDelphi.js +0 -31
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushJScript.js +0 -22
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushPhp.js +0 -23
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushPython.js +0 -71
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushSql.js +0 -40
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushVb.js +0 -29
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shBrushXml.js +0 -61
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/lib/SyntaxHighlighter/shCore.js +0 -622
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/view-source.css +0 -1
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/view-source.html +0 -19
- data/public/javascripts/old_sql/MochiKit-1.4.2/examples/view-source/view-source.js +0 -70
- 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 +0 -130
- data/public/javascripts/old_sql/MochiKit-1.4.2/include/css/general.css +0 -48
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Async.js +0 -682
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Base.js +0 -1489
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Color.js +0 -863
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/DOM.js +0 -1256
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/DateTime.js +0 -222
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/DragAndDrop.js +0 -793
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Format.js +0 -304
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Iter.js +0 -844
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Logging.js +0 -315
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/LoggingPane.js +0 -353
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/MochiKit.js +0 -188
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/MockDOM.js +0 -115
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Position.js +0 -236
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Selector.js +0 -415
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Signal.js +0 -897
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Sortable.js +0 -589
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Style.js +0 -594
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Test.js +0 -162
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/Visual.js +0 -2026
- data/public/javascripts/old_sql/MochiKit-1.4.2/lib/MochiKit/__package__.js +0 -18
- data/public/javascripts/old_sql/MochiKit-1.4.2/packed/MochiKit/MochiKit.js +0 -7829
- data/public/javascripts/old_sql/MochiKit-1.4.2/packed/MochiKit/__package__.js +0 -6
- data/public/javascripts/old_sql/MochiKit-1.4.2/packed/MochiKit/customize.html +0 -251
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/FakeJSAN.js +0 -40
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/SimpleTest/SimpleTest.js +0 -381
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/SimpleTest/TestRunner.js +0 -159
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/SimpleTest/test.css +0 -28
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/cli.js +0 -6
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/index.html +0 -25
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/standalone.js +0 -16
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Base.js +0 -577
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Color.js +0 -137
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_DateTime.js +0 -52
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_DragAndDrop.js +0 -30
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Format.js +0 -89
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Iter.js +0 -186
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Logging.js +0 -88
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Async.html +0 -408
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Async.json +0 -1
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Base.html +0 -34
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Color.html +0 -84
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DOM-Safari.html +0 -48
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DOM.html +0 -363
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DateTime.html +0 -39
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DragAndDrop.html +0 -54
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Format.html +0 -39
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Iter.html +0 -38
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-JSAN.html +0 -32
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Logging.html +0 -40
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-MochiKit.html +0 -18
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Selector.html +0 -295
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Signal.html +0 -43
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Style.html +0 -223
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-Visual.html +0 -197
- data/public/javascripts/old_sql/MochiKit-1.4.2/tests/test_Signal.js +0 -481
- data/public/javascripts/old_sql/plotkit-0.9.1/COPYING +0 -28
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/Base.js +0 -406
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/Canvas.js +0 -683
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/EasyPlot.js +0 -161
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/Layout.js +0 -756
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/PlotKit.js +0 -151
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/PlotKit_Packed.js +0 -2177
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/SVG.js +0 -705
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/SweetCanvas.js +0 -348
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/SweetSVG.js +0 -247
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/dummy.svg +0 -9
- data/public/javascripts/old_sql/plotkit-0.9.1/PlotKit/excanvas.js +0 -723
- data/public/javascripts/old_sql/plotkit-0.9.1/README +0 -1
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/MochiKitAdditions.html +0 -2
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/MochiKitAdditions.txt +0 -2
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Base.html +0 -302
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Base.txt +0 -139
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Canvas.html +0 -172
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Canvas.txt +0 -81
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.EasyPlot.html +0 -155
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.EasyPlot.txt +0 -50
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Layout.html +0 -428
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Layout.txt +0 -330
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.QuickStart.html +0 -368
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.QuickStart.txt +0 -256
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Renderer.html +0 -436
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.Renderer.txt +0 -299
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SVG.html +0 -159
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SVG.txt +0 -64
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SweetCanvas.html +0 -131
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SweetCanvas.txt +0 -34
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SweetSVG.html +0 -131
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.SweetSVG.txt +0 -34
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.html +0 -334
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/PlotKit.txt +0 -151
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/SVGCanvasCompat.html +0 -304
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/SVGCanvasCompat.txt +0 -144
- 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 +0 -62
- data/public/javascripts/old_sql/plotkit-0.9.1/doc/generate.py +0 -37
- 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 +0 -58
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/axis.html +0 -31
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/basic.html +0 -25
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/basic.js +0 -143
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/debug.html +0 -56
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/demo-svg.html +0 -58
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/demo-svg.js +0 -133
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/demo.html +0 -57
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/demo.js +0 -136
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/dynamic.html +0 -161
- 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 +0 -38
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/labels.html +0 -43
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/prototype_compat.html +0 -28
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart-easy.html +0 -29
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart-horiz.html +0 -53
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart-neg.html +0 -29
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart-svg.html +0 -61
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/quickstart.html +0 -57
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/sample.txt +0 -6
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/svg-sweet.html +0 -29
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/svg-sweet.js +0 -141
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/svg.html +0 -26
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/svg.js +0 -147
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/sweet.html +0 -24
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/sweet.js +0 -89
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/tests.css +0 -66
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/testsvg.html +0 -20
- data/public/javascripts/old_sql/plotkit-0.9.1/tests/testsvg.js +0 -31
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
.. title:: MochiKit.Sortable - sortable with drag and drop lists
|
|
2
|
-
|
|
3
|
-
Name
|
|
4
|
-
====
|
|
5
|
-
|
|
6
|
-
MochiKit.Sortable - sortable with drag and drop lists
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Synopsis
|
|
10
|
-
========
|
|
11
|
-
|
|
12
|
-
::
|
|
13
|
-
|
|
14
|
-
<ul id="dnd_sortable">
|
|
15
|
-
<li>mochibot.com</li>
|
|
16
|
-
<li>pythonmac.org</li>
|
|
17
|
-
<li>undefined.org</li>
|
|
18
|
-
<li>python.org</li>
|
|
19
|
-
</ul>
|
|
20
|
-
<script type="text/javascript">
|
|
21
|
-
MochiKit.Sortable.Sortable.create('dnd_sortable');
|
|
22
|
-
</script>
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
Description
|
|
26
|
-
===========
|
|
27
|
-
|
|
28
|
-
MochiKit.Sortable add a new Sortable object to manipulate easily
|
|
29
|
-
drag&drop in lists.
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
Dependencies
|
|
33
|
-
============
|
|
34
|
-
|
|
35
|
-
- :mochiref:`MochiKit.Base`
|
|
36
|
-
- :mochiref:`MochiKit.Iter`
|
|
37
|
-
- :mochiref:`MochiKit.DOM`
|
|
38
|
-
- :mochiref:`MochiKit.Color`
|
|
39
|
-
- :mochiref:`MochiKit.Visual`
|
|
40
|
-
- :mochiref:`MochiKit.Signal`
|
|
41
|
-
- :mochiref:`MochiKit.DragAndDrop`
|
|
42
|
-
|
|
43
|
-
Overview
|
|
44
|
-
========
|
|
45
|
-
|
|
46
|
-
MochiKit.Sortable mainly contains the Sortable object offering
|
|
47
|
-
facilities to manipulate a list and drag its items to reorder it. It
|
|
48
|
-
can also be serialized for being send to server. It is ported from
|
|
49
|
-
Scriptaculous_.
|
|
50
|
-
|
|
51
|
-
.. _Scriptaculous: http://script.aculo.us
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
API Reference
|
|
55
|
-
=============
|
|
56
|
-
|
|
57
|
-
Objects defined
|
|
58
|
-
---------------
|
|
59
|
-
|
|
60
|
-
:mochidef:`SortableObserver`:
|
|
61
|
-
|
|
62
|
-
Observer for DragAndDrop object. You normally don't have to access
|
|
63
|
-
this, only for customization purpose.
|
|
64
|
-
|
|
65
|
-
*Availability*:
|
|
66
|
-
Available in MochiKit 1.4+
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
:mochidef:`Sortable.create(element [, options])`:
|
|
70
|
-
|
|
71
|
-
Create a new Sortable. Usually you'll call it with a UL element,
|
|
72
|
-
but it can be customized with options to use something else.
|
|
73
|
-
|
|
74
|
-
You have the following options:
|
|
75
|
-
|
|
76
|
-
================= ==================
|
|
77
|
-
element element
|
|
78
|
-
tag 'li'
|
|
79
|
-
dropOnEmpty false
|
|
80
|
-
overlap 'vertical'
|
|
81
|
-
constraint 'vertical'
|
|
82
|
-
containment element
|
|
83
|
-
handle false
|
|
84
|
-
only false
|
|
85
|
-
hoverclass null
|
|
86
|
-
ghosting false
|
|
87
|
-
scroll false
|
|
88
|
-
scrollSensitivity 20
|
|
89
|
-
scrollSpeed 15
|
|
90
|
-
format /^[^_]*_(.*)$/
|
|
91
|
-
onChange MochiKit.Base.noop
|
|
92
|
-
onUpdate MochiKit.Base.noop
|
|
93
|
-
tree false
|
|
94
|
-
treeTag 'ul'
|
|
95
|
-
================= ==================
|
|
96
|
-
|
|
97
|
-
``tag``:
|
|
98
|
-
Name of the tag used to make the draggable elements. It matches all
|
|
99
|
-
the childNodes of the Sortable element with this tag.
|
|
100
|
-
|
|
101
|
-
``only``:
|
|
102
|
-
Class or array of classes used to filter the children, combined with
|
|
103
|
-
the tag criteria.
|
|
104
|
-
|
|
105
|
-
``format``:
|
|
106
|
-
Regular expression which serves as a match filter for serialization,
|
|
107
|
-
on children' ids. For example, with the default value, you'll get
|
|
108
|
-
['1', '2', '3', '4'] with ids ['sort_1', 'sort_2', 'sort_3', 'sort_4'].
|
|
109
|
-
|
|
110
|
-
``onChange``:
|
|
111
|
-
Callback called when an element moves between others in the Sortable.
|
|
112
|
-
It's called for *each* movements, even if you don't release the mouse.
|
|
113
|
-
|
|
114
|
-
``onUpdate``:
|
|
115
|
-
Callback called when the order changes in the Sortable. It's called
|
|
116
|
-
only if the Sortable is modified, after you dropped an element.
|
|
117
|
-
|
|
118
|
-
``tree``:
|
|
119
|
-
Option for creating a Sortable tree. It's an experimental
|
|
120
|
-
setting, that can be very slow even with a few elements. You
|
|
121
|
-
can customize its behaviour with the ``treeTag`` option, that
|
|
122
|
-
defines the node used to make branches in your tree (that
|
|
123
|
-
contains leaves).
|
|
124
|
-
|
|
125
|
-
Other options are passed to the Draggables and Droppables objects created.
|
|
126
|
-
Refer to :mochiref:`MochiKit.DragAndDrop` for more information.
|
|
127
|
-
|
|
128
|
-
A bug with Internet Explorer rendering engine can cause a problem with the
|
|
129
|
-
default effect used on start (the symptom being that the rows vanish).
|
|
130
|
-
If you encounter this problem, pass :mochiref:`MochiKit.Base.noop`
|
|
131
|
-
as the ``starteffect`` option.
|
|
132
|
-
|
|
133
|
-
*Availability*:
|
|
134
|
-
Available in MochiKit 1.4+
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
:mochidef:`Sortable.destroy(element)`:
|
|
138
|
-
|
|
139
|
-
Destroy a previously created sortable. It prevents further use of
|
|
140
|
-
the Sortable functionnality on the element, unless recreated.
|
|
141
|
-
|
|
142
|
-
*Availability*:
|
|
143
|
-
Available in MochiKit 1.4+
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
:mochidef:`Sortable.serialize(element [, options])`:
|
|
147
|
-
|
|
148
|
-
Serialize the content of a Sortable. Useful to send this content
|
|
149
|
-
through a XMLHTTPRequest. The options overrides the ones of the Sortable
|
|
150
|
-
only for the serialization.
|
|
151
|
-
|
|
152
|
-
====== ==========================================
|
|
153
|
-
tag tag from the Sortable
|
|
154
|
-
only only from the Sortable
|
|
155
|
-
name id of the element
|
|
156
|
-
format format of the Sortable or /^[^_]*_(.*)$
|
|
157
|
-
====== ==========================================
|
|
158
|
-
|
|
159
|
-
*Availability*:
|
|
160
|
-
Available in MochiKit 1.4+
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
Authors
|
|
164
|
-
=======
|
|
165
|
-
|
|
166
|
-
- Thomas Herve <therve@gmail.com>
|
|
167
|
-
- Bob Ippolito <bob@redivi.com>
|
|
168
|
-
- Originally adapted from Script.aculo.us <http://script.aculo.us/>
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
Copyright
|
|
172
|
-
=========
|
|
173
|
-
|
|
174
|
-
Copyright 2005 Bob Ippolito <bob@redivi.com>. This program is
|
|
175
|
-
dual-licensed free software; you can redistribute it and/or modify it
|
|
176
|
-
under the terms of the `MIT License`_ or the `Academic Free License
|
|
177
|
-
v2.1`_.
|
|
178
|
-
|
|
179
|
-
.. _`MIT License`: http://www.opensource.org/licenses/mit-license.php
|
|
180
|
-
.. _`Academic Free License v2.1`: http://www.opensource.org/licenses/afl-2.1.php
|
|
181
|
-
|
|
182
|
-
Portions adapted from `Scriptaculous`_ are available under the terms
|
|
183
|
-
of the `MIT License`_.
|
|
184
|
-
|
|
185
|
-
.. _`Apache License, Version 2.0`: http://www.apache.org/licenses/LICENSE-2.0.html
|
|
186
|
-
|
|
@@ -1,353 +0,0 @@
|
|
|
1
|
-
.. title:: MochiKit.Style - painless Style manipulation API
|
|
2
|
-
|
|
3
|
-
Name
|
|
4
|
-
====
|
|
5
|
-
|
|
6
|
-
MochiKit.Style - painless Style manipulation API
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Synopsis
|
|
10
|
-
========
|
|
11
|
-
|
|
12
|
-
::
|
|
13
|
-
|
|
14
|
-
var messagePos = getElementPosition('message');
|
|
15
|
-
var messageSize = getElementDimensions('message');
|
|
16
|
-
|
|
17
|
-
var notifyPos = new MochiKit.Style.Coordinates(
|
|
18
|
-
messagePos.x + messageSize.w + 10,
|
|
19
|
-
messagePos.y);
|
|
20
|
-
|
|
21
|
-
setElementPosition('notify', notifyPos);
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
Description
|
|
25
|
-
===========
|
|
26
|
-
|
|
27
|
-
Refactored from :mochiref:`MochiKit.DOM`.
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
Dependencies
|
|
31
|
-
============
|
|
32
|
-
|
|
33
|
-
- :mochiref:`MochiKit.Base`
|
|
34
|
-
- :mochiref:`MochiKit.DOM`
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Overview
|
|
38
|
-
========
|
|
39
|
-
|
|
40
|
-
Refactored from :mochiref:`MochiKit.DOM`.
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
Element Visibility
|
|
44
|
-
------------------
|
|
45
|
-
|
|
46
|
-
The :mochiref:`hideElement` and :mochiref:`showElement` functions are
|
|
47
|
-
provided as a convenience, but only work for elements that are
|
|
48
|
-
``display: block``. For a general solution to showing, hiding, and
|
|
49
|
-
checking the explicit visibility of elements, we recommend using a
|
|
50
|
-
solution that involves a little CSS. Here's an example::
|
|
51
|
-
|
|
52
|
-
<style type="text/css">
|
|
53
|
-
.invisible { display: none; }
|
|
54
|
-
</style>
|
|
55
|
-
|
|
56
|
-
<script type="text/javascript">
|
|
57
|
-
function toggleVisible(elem) {
|
|
58
|
-
toggleElementClass("invisible", elem);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
function makeVisible(elem) {
|
|
62
|
-
removeElementClass(elem, "invisible");
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
function makeInvisible(elem) {
|
|
66
|
-
addElementClass(elem, "invisible");
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
function isVisible(elem) {
|
|
70
|
-
// you may also want to check for
|
|
71
|
-
// getElement(elem).style.display == "none"
|
|
72
|
-
return !hasElementClass(elem, "invisible");
|
|
73
|
-
};
|
|
74
|
-
</script>
|
|
75
|
-
|
|
76
|
-
MochiKit doesn't ship with such a solution, because there is no
|
|
77
|
-
reliable and portable method for adding CSS rules on the fly with
|
|
78
|
-
JavaScript.
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
API Reference
|
|
82
|
-
=============
|
|
83
|
-
|
|
84
|
-
Functions
|
|
85
|
-
---------
|
|
86
|
-
|
|
87
|
-
:mochidef:`getStyle(element, cssSelector)`:
|
|
88
|
-
|
|
89
|
-
Looks up a CSS property for the given element. The element can be
|
|
90
|
-
specified as either a string with the element's ID or the element
|
|
91
|
-
object itself.
|
|
92
|
-
|
|
93
|
-
``cssSelector``:
|
|
94
|
-
The CSS selector, e.g. ``background-color``.
|
|
95
|
-
|
|
96
|
-
*Availability*:
|
|
97
|
-
Available in MochiKit 1.4+
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
:mochidef:`setStyle(element, styles)`:
|
|
101
|
-
|
|
102
|
-
Set CSS properties on a the given element. The element can be
|
|
103
|
-
specified as either a string with the element's ID or the element
|
|
104
|
-
object itself.
|
|
105
|
-
|
|
106
|
-
``styles``:
|
|
107
|
-
Dictionnary holding CSS properties to set, e.g.
|
|
108
|
-
``{'background-color': 'red', 'opacity': 0.5}``.
|
|
109
|
-
|
|
110
|
-
*Availability*:
|
|
111
|
-
Available in MochiKit 1.4+
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
:mochidef:`setOpacity(element, opacity)`:
|
|
115
|
-
|
|
116
|
-
Sets ``opacity`` for ``element``. Valid ``opacity`` values range
|
|
117
|
-
from 0 (invisible) to 1 (opaque). ``element`` is looked up with
|
|
118
|
-
:mochiref:`getElement`, so string identifiers are also acceptable.
|
|
119
|
-
|
|
120
|
-
*Availability*:
|
|
121
|
-
Available in MochiKit 1.4+
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
:mochidef:`getElementDimensions(element[, contentSize=false])`:
|
|
125
|
-
|
|
126
|
-
Return the absolute pixel width and height of ``element`` as an object with
|
|
127
|
-
``w`` and ``h`` properties, or ``undefined`` if ``element`` is not in the
|
|
128
|
-
document. The size will include padding and border, but not margins, unless
|
|
129
|
-
``contentSize`` is set to true, in which case the size will be only the
|
|
130
|
-
content size, without padding and border. ``element`` may be specified as
|
|
131
|
-
a string to be looked up with :mochiref:`getElement`, a DOM element, or
|
|
132
|
-
trivially as an object with ``w`` and/or ``h`` properties.
|
|
133
|
-
|
|
134
|
-
*Availability*:
|
|
135
|
-
Available in MochiKit 1.4+
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
:mochidef:`setElementDimensions(element, dimensions[, units='px'])`:
|
|
139
|
-
|
|
140
|
-
Sets the dimensions of ``element`` in the document from an object
|
|
141
|
-
with ``w`` and ``h`` properties.
|
|
142
|
-
|
|
143
|
-
Warning: IE in quirks-mode seems to behave strange when you set
|
|
144
|
-
the height off an element containing text to 0. You can workaround this
|
|
145
|
-
by setting the value of visibly/display.
|
|
146
|
-
|
|
147
|
-
``element``:
|
|
148
|
-
A reference to the DOM element to update (if a string is
|
|
149
|
-
given, :mochiref:`getElement(node)` will be used to locate the
|
|
150
|
-
node)
|
|
151
|
-
|
|
152
|
-
``dimensions``:
|
|
153
|
-
An object with ``w`` and ``h`` properties. You can also specify only
|
|
154
|
-
one property.
|
|
155
|
-
|
|
156
|
-
``units``:
|
|
157
|
-
Optionally set the units to use, default is ``px``
|
|
158
|
-
|
|
159
|
-
*Availability*:
|
|
160
|
-
Available in MochiKit 1.4+
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
:mochidef:`getElementPosition(element[, relativeTo={x: 0, y: 0}])`:
|
|
164
|
-
|
|
165
|
-
Return the absolute pixel position of ``element`` in the document
|
|
166
|
-
as an object with ``x`` and ``y`` properties, or ``undefined`` if
|
|
167
|
-
``element`` is not in the document. ``element`` may be specified
|
|
168
|
-
as a string to be looked up with :mochiref:`getElement`, a DOM
|
|
169
|
-
element, or trivially as an object with ``x`` and/or ``y``
|
|
170
|
-
properties.
|
|
171
|
-
|
|
172
|
-
If ``relativeTo`` is given, then its coordinates are subtracted
|
|
173
|
-
from the absolute position of ``element``, e.g.::
|
|
174
|
-
|
|
175
|
-
var elemPos = getElementPosition(elem);
|
|
176
|
-
var anotherElemPos = getElementPosition(anotherElem);
|
|
177
|
-
var relPos = getElementPosition(elem, anotherElem);
|
|
178
|
-
assert( relPos.x == (elemPos.x - anotherElemPos.x) );
|
|
179
|
-
assert( relPos.y == (elemPos.y - anotherElemPos.y) );
|
|
180
|
-
|
|
181
|
-
``relativeTo`` may be specified as a string to be looked up with
|
|
182
|
-
:mochiref:`getElement`, a DOM element, or trivially as an object
|
|
183
|
-
with ``x`` and/or ``y`` properties.
|
|
184
|
-
|
|
185
|
-
*Availability*:
|
|
186
|
-
Available in MochiKit 1.4+
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
:mochidef:`setElementPosition(element, position[, units='px'])`:
|
|
190
|
-
|
|
191
|
-
Sets the absolute position of ``element`` in the document from an
|
|
192
|
-
object with ``x`` and ``y`` properties.
|
|
193
|
-
|
|
194
|
-
``element``:
|
|
195
|
-
A reference to the DOM element to update (if a string is
|
|
196
|
-
given, :mochiref:`getElement(node)` will be used to locate the
|
|
197
|
-
node)
|
|
198
|
-
|
|
199
|
-
``position``:
|
|
200
|
-
An object with ``x`` and ``y`` properties. You can also specify only
|
|
201
|
-
one property.
|
|
202
|
-
|
|
203
|
-
``units``:
|
|
204
|
-
Optionally set the units to use, default is ``px``
|
|
205
|
-
|
|
206
|
-
*Availability*:
|
|
207
|
-
Available in MochiKit 1.4+
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
:mochidef:`makePositioned(element)`:
|
|
211
|
-
|
|
212
|
-
Ensure that ``element.style.position`` is set to ``"relative"`` if it
|
|
213
|
-
is not set or is ``"static"``. If ``element`` is a
|
|
214
|
-
string, then it will be looked up with :mochiref:`getElement`.
|
|
215
|
-
|
|
216
|
-
*Availability*:
|
|
217
|
-
Available in MochiKit 1.4.1+
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
:mochidef:`undoPositioned(element)`:
|
|
221
|
-
|
|
222
|
-
Restore the setting of ``element.style.position`` set by
|
|
223
|
-
:mochiref:`makePositioned(element)`. If ``element`` is a string, then
|
|
224
|
-
it will be looked up with :mochiref:`getElement`.
|
|
225
|
-
|
|
226
|
-
*Availability*:
|
|
227
|
-
Available in MochiKit 1.4.1+
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
:mochidef:`makeClipping(element)`:
|
|
231
|
-
|
|
232
|
-
Ensure that ``element.style.overflow = 'hidden'``. If ``element`` is a
|
|
233
|
-
string, then it will be looked up with :mochiref:`getElement`.
|
|
234
|
-
|
|
235
|
-
Returns the original values of ``overflow``, ``overflow-y`` and
|
|
236
|
-
``overflow-y`` so that they may be restored with
|
|
237
|
-
:mochiref:`undoClipping(element, overflow)`.
|
|
238
|
-
|
|
239
|
-
*Availability*:
|
|
240
|
-
Available in MochiKit 1.4.1+
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
:mochidef:`undoClipping(element, overflow)`:
|
|
244
|
-
|
|
245
|
-
Restore the setting of ``element.style.overflow`` set by
|
|
246
|
-
:mochiref:`makeClipping(element)`. If ``element`` is a string, then
|
|
247
|
-
it will be looked up with :mochiref:`getElement`.
|
|
248
|
-
|
|
249
|
-
*Availability*:
|
|
250
|
-
Available in MochiKit 1.4.1+
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
:mochidef:`setDisplayForElement(display, element[, ...])`:
|
|
254
|
-
|
|
255
|
-
Change the ``style.display`` for the given element(s). Usually
|
|
256
|
-
used as the partial forms:
|
|
257
|
-
|
|
258
|
-
- :mochiref:`showElement(element, ...)`
|
|
259
|
-
- :mochiref:`hideElement(element, ...)`
|
|
260
|
-
|
|
261
|
-
Elements are looked up with :mochiref:`getElement`, so string
|
|
262
|
-
identifiers are acceptable.
|
|
263
|
-
|
|
264
|
-
For information about the caveats of using a ``style.display``
|
|
265
|
-
based show/hide mechanism, and a CSS based alternative, see
|
|
266
|
-
`Element Visibility`_.
|
|
267
|
-
|
|
268
|
-
*Availability*:
|
|
269
|
-
Available in MochiKit 1.4+
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
:mochidef:`showElement(element, ...)`:
|
|
273
|
-
|
|
274
|
-
Partial form of :mochiref:`setDisplayForElement`, specifically::
|
|
275
|
-
|
|
276
|
-
partial(setDisplayForElement, "block")
|
|
277
|
-
|
|
278
|
-
For information about the caveats of using a ``style.display``
|
|
279
|
-
based show/hide mechanism, and a CSS based alternative, see
|
|
280
|
-
`Element Visibility`_.
|
|
281
|
-
|
|
282
|
-
*Availability*:
|
|
283
|
-
Available in MochiKit 1.4+
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
:mochidef:`hideElement(element, ...)`:
|
|
287
|
-
|
|
288
|
-
Partial form of :mochiref:`setDisplayForElement`, specifically::
|
|
289
|
-
|
|
290
|
-
partial(setDisplayForElement, "none")
|
|
291
|
-
|
|
292
|
-
For information about the caveats of using a ``style.display``
|
|
293
|
-
based show/hide mechanism, and a CSS based alternative, see
|
|
294
|
-
`Element Visibility`_.
|
|
295
|
-
|
|
296
|
-
*Availability*:
|
|
297
|
-
Available in MochiKit 1.4+
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
:mochidef:`getViewportDimensions()`:
|
|
301
|
-
|
|
302
|
-
Return the pixel width and height of the viewport as an object
|
|
303
|
-
with ``w`` and ``h`` properties.
|
|
304
|
-
|
|
305
|
-
*Availability*:
|
|
306
|
-
Available in MochiKit 1.4+
|
|
307
|
-
|
|
308
|
-
:mochidef:`getViewportPosition()`:
|
|
309
|
-
|
|
310
|
-
Return the pixel position of the viewport inside the window, as a
|
|
311
|
-
:mochiref:`Coordinates` object.
|
|
312
|
-
|
|
313
|
-
*Availability*:
|
|
314
|
-
Available in MochiKit 1.4+
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
Objects
|
|
318
|
-
-------
|
|
319
|
-
|
|
320
|
-
:mochidef:`Coordinates(x, y)`:
|
|
321
|
-
|
|
322
|
-
Constructs an object with ``x`` and ``y`` properties. ``obj.toString()``
|
|
323
|
-
returns something like ``{x: 0, y: 42}`` for debugging.
|
|
324
|
-
|
|
325
|
-
*Availability*:
|
|
326
|
-
Available in MochiKit 1.4+
|
|
327
|
-
|
|
328
|
-
:mochidef:`Dimensions(w, h)`:
|
|
329
|
-
|
|
330
|
-
Constructs an object with ``w`` and ``h`` properties. ``obj.toString()``
|
|
331
|
-
returns something like ``{w: 0, h: 42}`` for debugging.
|
|
332
|
-
|
|
333
|
-
*Availability*:
|
|
334
|
-
Available in MochiKit 1.4+
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
Authors
|
|
338
|
-
=======
|
|
339
|
-
|
|
340
|
-
- Bob Ippolito <bob@redivi.com>
|
|
341
|
-
- Beau Hartshorne <beau@hartshornesoftware.com>
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
Copyright
|
|
345
|
-
=========
|
|
346
|
-
|
|
347
|
-
Copyright 2005-2006 Bob Ippolito <bob@redivi.com>, and Beau Hartshorne
|
|
348
|
-
<beau@hartshornesoftware.com>. This program is dual-licensed free
|
|
349
|
-
software; you can redistribute it and/or modify it under the terms of
|
|
350
|
-
the `MIT License`_ or the `Academic Free License v2.1`_.
|
|
351
|
-
|
|
352
|
-
.. _`MIT License`: http://www.opensource.org/licenses/mit-license.php
|
|
353
|
-
.. _`Academic Free License v2.1`: http://www.opensource.org/licenses/afl-2.1.php
|