compass-jquery-plugin 0.3.1.1 → 0.3.2.pre.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +4 -0
- data/{LICENSE → LICENSE.md} +1 -1
- data/{README.textile → README.md} +122 -71
- data/Rakefile +2 -47
- data/VERSION.yml +5 -4
- data/lib/jquery/gridify/grid_finder.rb +9 -1
- data/lib/jquery/gridify/grid_options.rb +16 -2
- data/lib/jquery/gridify/grid_view.rb +7 -1
- data/lib/jquery/jqgrid/jqgrid.rb +13 -2
- data/lib/jquery/jqgrid.rb +4 -4
- data/lib/jquery/jqtouch.rb +3 -3
- data/lib/jquery/{jrails.rb → jquery.rb} +1 -1
- data/lib/jquery/secret_sauce/controller/ui_dialog_controls.rb +13 -13
- data/lib/jquery/secret_sauce/controller/ui_grid_controls.rb +18 -18
- data/lib/jquery/secret_sauce/helpers/ui_dialog_helper.rb +5 -5
- data/lib/jquery/secret_sauce/model/find_for_grid.rb +41 -41
- data/lib/jquery/secret_sauce.rb +8 -8
- data/lib/jquery.rb +18 -11
- data/lib/jquery_ui_theme.rb +3 -3
- data/templates/dynatree/jquery/dynatree/aero/icons.png +0 -0
- data/templates/dynatree/jquery/dynatree/aero/{ltWait.gif → loading.gif} +0 -0
- data/templates/dynatree/jquery/dynatree/aero.scss +235 -130
- data/templates/dynatree/jquery/dynatree/aqua/icons.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/{ltWait.gif → loading.gif} +0 -0
- data/templates/dynatree/jquery/dynatree/aqua.scss +235 -130
- data/templates/dynatree/jquery/dynatree/crystal/icons.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/{ltWait.gif → loading.gif} +0 -0
- data/templates/dynatree/jquery/dynatree/crystal.scss +235 -130
- data/templates/dynatree/jquery/dynatree/xp/icons.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/{ltWait.gif → loading.gif} +0 -0
- data/templates/dynatree/jquery/dynatree/xp.scss +72 -88
- data/templates/dynatree/jquery.dynatree.js +86 -60
- data/templates/dynatree/jquery.dynatree.min.js +47 -47
- data/templates/dynatree/manifest.rb +8 -139
- data/templates/ical/jquery/ical.scss +12 -2
- data/templates/ical/jquery.ical.js +3195 -2380
- data/templates/ical/jquery.ical.min.js +209 -199
- data/templates/jqgrid/i18n/jqgrid/locale-fa.js +139 -119
- data/templates/jqgrid/i18n/jqgrid/locale-fa.min.js +5 -5
- data/templates/jqgrid/i18n/jqgrid/locale-sr.js +8 -8
- data/templates/jqgrid/i18n/jqgrid/locale-sr.min.js +3 -3
- data/templates/jqgrid/jquery/jqGrid.scss +13 -16
- data/templates/jqgrid/jquery.jqGrid.js +3493 -3326
- data/templates/jqgrid/jquery.jqGrid.min.js +427 -425
- data/templates/{jrails/config/initializers/jrails.rb → jquery/config/initializers/jquery.rb} +5 -4
- data/templates/{jrails → jquery}/haml.js +2 -2
- data/templates/{jrails → jquery}/haml.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-af.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-af.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ar.js +6 -7
- data/templates/jquery/i18n/jquery.ui/datepicker-ar.min.js +2 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-az.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-az.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-bg.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-bg.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-bs.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-bs.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ca.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ca.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-cs.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-cs.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-da.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-da.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-de.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-de.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-el.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-el.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-en-GB.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-en-GB.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-eo.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-eo.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-es.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-es.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-et.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-et.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-eu.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-eu.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-fa.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-fa.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-fi.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-fi.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-fo.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-fo.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-fr-CH.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-fr-CH.min.js +0 -0
- data/templates/jquery/i18n/jquery.ui/datepicker-fr.js +25 -0
- data/templates/jquery/i18n/jquery.ui/datepicker-fr.min.js +2 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-gl.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-gl.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-he.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-he.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-hr.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-hr.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-hu.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-hu.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-hy.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-hy.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-id.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-id.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-is.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-is.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-it.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-it.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ja.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ja.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ko.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ko.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-kz.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-kz.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-lt.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-lt.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-lv.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-lv.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ms.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ms.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-nl.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-nl.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-no.js +2 -2
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-no.min.js +1 -1
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-pl.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-pl.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-pt-BR.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-pt-BR.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-pt.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-pt.min.js +0 -0
- data/templates/jquery/i18n/jquery.ui/datepicker-rm.js +21 -0
- data/templates/jquery/i18n/jquery.ui/datepicker-rm.min.js +2 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ro.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ro.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ru.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ru.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sk.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sk.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sl.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sl.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sq.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sq.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sr-SR.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sr-SR.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sr.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sr.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sv.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sv.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ta.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ta.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-th.js +1 -1
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-th.min.js +1 -1
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-tr.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-tr.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-uk.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-uk.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-vi.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-vi.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-zh-CN.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-zh-CN.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-zh-HK.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-zh-HK.min.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-zh-TW.js +0 -0
- data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-zh-TW.min.js +0 -0
- data/templates/{jrails → jquery}/jquery/ui/_theme.scss +19 -17
- data/templates/{jrails → jquery}/jquery/ui/base/ui-anim_basic_16x16.gif +0 -0
- data/templates/{jrails → jquery}/jquery/ui/base/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/base/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/base/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/base/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/base/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/base/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/base/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/base/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/base/ui-icons_222222_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/base/ui-icons_2e83ff_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/base/ui-icons_454545_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/base/ui-icons_888888_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/base/ui-icons_cd0a0a_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/base.scss +1 -1
- data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-anim_basic_16x16.gif +0 -0
- data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-bg_diagonals-thick_8_333333_40x40.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-bg_flat_65_ffffff_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-bg_glass_40_111111_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-bg_glass_55_1c1c1c_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-bg_highlight-hard_40_aaaaaa_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-bg_highlight-soft_50_aaaaaa_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-bg_inset-hard_45_cd0a0a_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-bg_inset-hard_55_ffeb80_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-icons_222222_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-icons_4ca300_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-icons_bbbbbb_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-icons_ededed_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-icons_ffcf29_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-icons_ffffff_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/black-tie.scss +1 -1
- data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-anim_basic_16x16.gif +0 -0
- data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-bg_diagonals-thick_75_f3d8d8_40x40.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-bg_dots-small_65_a6a6a6_2x2.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-bg_flat_0_333333_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-bg_flat_65_ffffff_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-bg_glass_55_fbf8ee_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-bg_highlight-hard_100_eeeeee_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-bg_highlight-hard_100_f6f6f6_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-bg_highlight-soft_15_cc0000_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-icons_004276_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-icons_cc0000_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-icons_ffffff_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/blitzer.scss +1 -1
- data/templates/{jrails → jquery}/jquery/ui/contextMenu/cut.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/contextMenu/door.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/contextMenu/page_white_copy.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/contextMenu/page_white_delete.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/contextMenu/page_white_edit.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/page_white_new.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/contextMenu/page_white_paste.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/contextMenu.scss +2 -0
- data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-anim_basic_16x16.gif +0 -0
- data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-bg_diagonals-thick_90_eeeeee_40x40.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-bg_flat_15_cd0a0a_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-bg_glass_100_e4f1fb_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-bg_glass_50_3baae3_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-bg_glass_80_d7ebf9_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-bg_highlight-hard_100_f2f5f7_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-bg_highlight-hard_70_000000_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-bg_highlight-soft_100_deedf7_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-bg_highlight-soft_25_ffef8f_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-icons_2694e8_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-icons_2e83ff_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-icons_3d80b3_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-icons_72a7cf_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-icons_ffffff_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/cupertino.scss +1 -1
- data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-anim_basic_16x16.gif +0 -0
- data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-bg_flat_30_cccccc_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-bg_glass_40_ffc73d_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-bg_highlight-hard_20_0972a5_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-bg_highlight-soft_33_003147_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-bg_highlight-soft_35_222222_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-bg_highlight-soft_44_444444_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-bg_loop_25_000000_21x21.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-icons_222222_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-icons_4b8e0b_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-icons_a83300_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-icons_cccccc_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-icons_ffffff_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/dark-hive.scss +1 -1
- data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-anim_basic_16x16.gif +0 -0
- data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-bg_diagonals-thick_15_0b3e6f_40x40.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-bg_dots-medium_30_0b58a2_4x4.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-bg_dots-small_20_333333_2x2.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-bg_dots-small_30_a32d00_2x2.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-bg_dots-small_40_00498f_2x2.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-bg_flat_40_292929_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-bg_gloss-wave_20_111111_500x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-icons_00498f_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-icons_98d2fb_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-icons_9ccdfc_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-icons_ffffff_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/dot-luv.scss +1 -1
- data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-anim_basic_16x16.gif +0 -0
- data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-bg_flat_0_eeeeee_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-bg_flat_55_994d53_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-bg_flat_55_fafafa_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-bg_gloss-wave_30_3d3644_500x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-bg_highlight-soft_100_dcd9de_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-bg_highlight-soft_100_eae6ea_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-bg_highlight-soft_25_30273a_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-bg_highlight-soft_45_5f5964_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-icons_454545_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-icons_734d99_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-icons_8d78a5_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-icons_a8a3ae_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-icons_ebccce_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-icons_ffffff_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/eggplant.scss +1 -1
- data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-anim_basic_16x16.gif +0 -0
- data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-bg_diagonals-small_25_c5ddfc_40x40.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-bg_diagonals-thick_20_e69700_40x40.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-bg_diagonals-thick_22_1484e6_40x40.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-bg_diagonals-thick_26_2293f7_40x40.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-bg_flat_0_e69700_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-bg_flat_0_e6b900_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-bg_highlight-soft_100_f9f9f9_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-bg_inset-hard_100_eeeeee_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-icons_0a82eb_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-icons_0b54d5_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-icons_5fa5e3_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-icons_fcdd4a_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-icons_ffffff_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/excite-bike.scss +1 -1
- data/templates/{jrails → jquery}/jquery/ui/farbtastic/marker.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/farbtastic/mask.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/farbtastic/wheel.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/farbtastic.scss +0 -0
- data/templates/{jrails → jquery}/jquery/ui/flash_messages/flash-check.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/flash_messages/flash-error-bg.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/flash_messages/flash-error.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/flash_messages/flash-notice-bg.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/flash_messages/flash-warning-bg.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/flash_messages/flash-warning.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/flick/ui-anim_basic_16x16.gif +0 -0
- data/templates/{jrails → jquery}/jquery/ui/flick/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/flick/ui-bg_flat_0_eeeeee_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/flick/ui-bg_flat_55_ffffff_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/flick/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/flick/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/flick/ui-bg_highlight-soft_100_f6f6f6_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/flick/ui-bg_highlight-soft_25_0073ea_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/flick/ui-bg_highlight-soft_50_dddddd_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/flick/ui-icons_0073ea_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/flick/ui-icons_454545_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/flick/ui-icons_666666_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/flick/ui-icons_ff0084_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/flick/ui-icons_ffffff_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/flick.scss +1 -1
- data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-anim_basic_16x16.gif +0 -0
- data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-bg_diagonals-small_40_db4865_40x40.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-bg_diagonals-small_50_93c3cd_40x40.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-bg_diagonals-small_50_ff3853_40x40.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-bg_diagonals-small_75_ccd232_40x40.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-bg_dots-medium_80_ffff38_4x4.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-bg_dots-small_35_35414f_2x2.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-bg_flat_75_ba9217_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-bg_white-lines_85_f7f7ba_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-icons_454545_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-icons_88a206_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-icons_c02669_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-icons_e1e463_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-icons_ffeb33_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-icons_ffffff_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/hot-sneaks.scss +1 -1
- data/templates/{jrails → jquery}/jquery/ui/humanity/ui-anim_basic_16x16.gif +0 -0
- data/templates/{jrails → jquery}/jquery/ui/humanity/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/humanity/ui-bg_glass_100_f5f0e5_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/humanity/ui-bg_glass_25_cb842e_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/humanity/ui-bg_glass_70_ede4d4_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/humanity/ui-bg_highlight-hard_100_f4f0ec_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/humanity/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/humanity/ui-bg_highlight-hard_75_f5f5b5_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/humanity/ui-bg_inset-soft_100_f4f0ec_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/humanity/ui-icons_c47a23_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/humanity/ui-icons_cb672b_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/humanity/ui-icons_f08000_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/humanity/ui-icons_f35f07_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/humanity/ui-icons_ff7519_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/humanity/ui-icons_ffffff_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/humanity.scss +1 -1
- data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-anim_basic_16x16.gif +0 -0
- data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-bg_diagonals-small_0_aaaaaa_40x40.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-bg_diagonals-thick_15_444444_40x40.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-bg_diagonals-thick_95_ffdc2e_40x40.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-bg_glass_55_fbf5d0_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-bg_highlight-hard_30_285c00_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-bg_highlight-soft_33_3a8104_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-bg_highlight-soft_50_4eb305_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-bg_highlight-soft_60_4ca20b_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-bg_inset-soft_10_285c00_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-icons_4eb305_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-icons_72b42d_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-icons_cd0a0a_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-icons_ffffff_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/le-frog.scss +1 -1
- data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-anim_basic_16x16.gif +0 -0
- data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-bg_glass_15_5f391b_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-bg_gloss-wave_20_1c160d_500x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-bg_gloss-wave_25_453326_500x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-bg_gloss-wave_30_44372c_500x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-bg_highlight-soft_20_201913_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-bg_highlight-soft_20_619226_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-bg_inset-soft_10_201913_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-icons_222222_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-icons_9bcc60_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-icons_add978_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-icons_e3ddc9_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-icons_f1fd86_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-icons_ffffff_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/mint-choc.scss +1 -1
- data/templates/{jrails → jquery}/jquery/ui/overcast/ui-anim_basic_16x16.gif +0 -0
- data/templates/{jrails → jquery}/jquery/ui/overcast/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/overcast/ui-bg_flat_0_eeeeee_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/overcast/ui-bg_flat_55_c0402a_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/overcast/ui-bg_flat_55_eeeeee_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/overcast/ui-bg_glass_100_f8f8f8_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/overcast/ui-bg_glass_35_dddddd_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/overcast/ui-bg_glass_60_eeeeee_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/overcast/ui-bg_inset-hard_75_999999_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/overcast/ui-bg_inset-soft_50_c9c9c9_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/overcast/ui-icons_3383bb_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/overcast/ui-icons_454545_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/overcast/ui-icons_70b2e1_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/overcast/ui-icons_999999_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/overcast/ui-icons_fbc856_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/overcast.scss +1 -1
- data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-anim_basic_16x16.gif +0 -0
- data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-bg_diagonal-maze_20_6e4f1c_10x10.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-bg_diagonal-maze_40_000000_10x10.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-bg_fine-grain_10_eceadf_60x60.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-bg_fine-grain_10_f8f7f6_60x60.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-bg_fine-grain_15_eceadf_60x60.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-bg_fine-grain_15_f7f3de_60x60.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-bg_fine-grain_15_ffffff_60x60.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-bg_fine-grain_65_654b24_60x60.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-bg_fine-grain_68_b83400_60x60.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-icons_222222_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-icons_3572ac_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-icons_8c291d_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-icons_b83400_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-icons_fbdb93_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-icons_ffffff_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/pepper-grinder.scss +1 -1
- data/templates/{jrails → jquery}/jquery/ui/redmond/ui-anim_basic_16x16.gif +0 -0
- data/templates/{jrails → jquery}/jquery/ui/redmond/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/redmond/ui-bg_flat_55_fbec88_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/redmond/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/redmond/ui-bg_glass_85_dfeffc_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/redmond/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/redmond/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/redmond/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/redmond/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/redmond/ui-icons_217bc0_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/redmond/ui-icons_2e83ff_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/redmond/ui-icons_469bdd_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/redmond/ui-icons_6da8d5_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/redmond/ui-icons_cd0a0a_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/redmond/ui-icons_d8e7f3_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/redmond/ui-icons_f9bd01_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/redmond.scss +1 -1
- data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-anim_basic_16x16.gif +0 -0
- data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-icons_222222_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-icons_2e83ff_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-icons_454545_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-icons_888888_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-icons_cd0a0a_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/smoothness.scss +1 -1
- data/templates/{jrails → jquery}/jquery/ui/south-street/ui-anim_basic_16x16.gif +0 -0
- data/templates/{jrails → jquery}/jquery/ui/south-street/ui-bg_glass_55_fcf0ba_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/south-street/ui-bg_gloss-wave_100_ece8da_500x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/south-street/ui-bg_highlight-hard_100_f5f3e5_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/south-street/ui-bg_highlight-hard_100_fafaf4_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/south-street/ui-bg_highlight-hard_15_459e00_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/south-street/ui-bg_highlight-hard_95_cccccc_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/south-street/ui-bg_highlight-soft_25_67b021_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/south-street/ui-bg_highlight-soft_95_ffedad_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/south-street/ui-bg_inset-soft_15_2b2922_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/south-street/ui-icons_808080_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/south-street/ui-icons_847e71_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/south-street/ui-icons_8dc262_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/south-street/ui-icons_cd0a0a_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/south-street/ui-icons_eeeeee_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/south-street/ui-icons_ffffff_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/south-street.scss +1 -1
- data/templates/{jrails → jquery}/jquery/ui/start/ui-anim_basic_16x16.gif +0 -0
- data/templates/{jrails → jquery}/jquery/ui/start/ui-bg_flat_55_999999_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/start/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/start/ui-bg_glass_45_0078ae_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/start/ui-bg_glass_55_f8da4e_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/start/ui-bg_glass_75_79c9ec_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/start/ui-bg_gloss-wave_45_e14f1c_500x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/start/ui-bg_gloss-wave_50_6eac2c_500x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/start/ui-bg_gloss-wave_75_2191c0_500x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/start/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/start/ui-icons_0078ae_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/start/ui-icons_056b93_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/start/ui-icons_d8e7f3_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/start/ui-icons_e0fdff_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/start/ui-icons_f5e175_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/start/ui-icons_f7a50d_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/start/ui-icons_fcd113_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/start.scss +1 -1
- data/templates/{jrails → jquery}/jquery/ui/sunny/ui-anim_basic_16x16.gif +0 -0
- data/templates/{jrails → jquery}/jquery/ui/sunny/ui-bg_diagonals-medium_20_d34d17_40x40.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/sunny/ui-bg_flat_30_cccccc_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/sunny/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/sunny/ui-bg_gloss-wave_45_817865_500x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/sunny/ui-bg_gloss-wave_60_fece2f_500x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/sunny/ui-bg_gloss-wave_70_ffdd57_500x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/sunny/ui-bg_gloss-wave_90_fff9e5_500x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/sunny/ui-bg_highlight-soft_100_feeebd_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/sunny/ui-bg_inset-soft_30_ffffff_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/sunny/ui-icons_3d3d3d_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/sunny/ui-icons_bd7b00_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/sunny/ui-icons_d19405_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/sunny/ui-icons_eb990f_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/sunny/ui-icons_ed9f26_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/sunny/ui-icons_fadc7a_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/sunny/ui-icons_ffe180_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/sunny.scss +1 -1
- data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-anim_basic_16x16.gif +0 -0
- data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-bg_diamond_10_4f4221_10x8.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-bg_diamond_20_372806_10x8.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-bg_diamond_25_675423_10x8.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-bg_diamond_25_d5ac5d_10x8.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-bg_diamond_8_261803_10x8.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-bg_diamond_8_443113_10x8.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-bg_flat_75_ddd4b0_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-icons_070603_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-icons_e8e2b5_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-icons_e9cd86_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-icons_efec9f_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-icons_f2ec64_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-icons_f9f2bd_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-icons_ff7519_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/swanky-purse.scss +1 -1
- data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/buttonbg.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/icon_color_arrow.gif +0 -0
- data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/menuhoverbg.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_black_matte.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_black_tie.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_blitzer.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_cupertino.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_dark_hive.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_dot_luv.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_eggplant.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_excite_bike.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_flick.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_hot_sneaks.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_humanity.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_le_frog.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_mint_choco.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_overcast.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_pepper_grinder.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_smoothness.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_south_street.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_start_menu.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_sunny.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_swanky_purse.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_trontastic.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_ui_dark.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_ui_light.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_windoze.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-anim_basic_16x16.gif +0 -0
- data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-bg_diagonals-small_50_262626_40x40.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-bg_flat_0_303030_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-bg_flat_0_4c4c4c_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-bg_glass_40_0a0a0a_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-bg_glass_55_f1fbe5_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-bg_glass_60_000000_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-bg_gloss-wave_55_000000_500x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-bg_gloss-wave_85_9fda58_500x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-bg_gloss-wave_95_f6ecd5_500x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-icons_000000_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-icons_1f1f1f_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-icons_9fda58_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-icons_b8ec79_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-icons_cd0a0a_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-icons_ffffff_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/trontastic.scss +1 -1
- data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-anim_basic_16x16.gif +0 -0
- data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-bg_flat_30_cccccc_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-bg_glass_20_555555_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-bg_glass_40_0078a3_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-bg_glass_40_ffc73d_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-bg_inset-soft_25_000000_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-bg_inset-soft_30_f58400_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-icons_222222_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-icons_4b8e0b_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-icons_a83300_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-icons_cccccc_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-icons_ffffff_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/ui-darkness.scss +1 -1
- data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-anim_basic_16x16.gif +0 -0
- data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-bg_flat_10_000000_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-icons_222222_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-icons_228ef1_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-icons_ef8c08_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-icons_ffd27a_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-icons_ffffff_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/ui-lightness.scss +1 -1
- data/templates/{jrails → jquery}/jquery/ui/vader/ui-anim_basic_16x16.gif +0 -0
- data/templates/{jrails → jquery}/jquery/ui/vader/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/vader/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/vader/ui-bg_gloss-wave_16_121212_500x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/vader/ui-bg_highlight-hard_15_888888_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/vader/ui-bg_highlight-hard_55_555555_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/vader/ui-bg_highlight-soft_35_adadad_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/vader/ui-bg_highlight-soft_60_dddddd_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/vader/ui-bg_inset-soft_15_121212_1x100.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/vader/ui-icons_666666_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/vader/ui-icons_aaaaaa_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/vader/ui-icons_bbbbbb_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/vader/ui-icons_c98000_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/vader/ui-icons_cccccc_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/vader/ui-icons_cd0a0a_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/vader/ui-icons_f29a00_256x240.png +0 -0
- data/templates/{jrails → jquery}/jquery/ui/vader.scss +1 -1
- data/templates/{jrails → jquery}/jquery-ui.js +518 -342
- data/templates/jquery/jquery-ui.min.js +830 -0
- data/templates/{jrails → jquery}/jquery.bgiframe.js +0 -0
- data/templates/{jrails → jquery}/jquery.bgiframe.min.js +0 -0
- data/templates/{jrails → jquery}/jquery.compat-1.3.js +0 -0
- data/templates/{jrails → jquery}/jquery.compat-1.3.min.js +0 -0
- data/templates/{jrails → jquery}/jquery.contextMenu.js +8 -8
- data/templates/{jrails → jquery}/jquery.contextMenu.min.js +4 -4
- data/templates/{jrails → jquery}/jquery.cookie.js +0 -0
- data/templates/{jrails → jquery}/jquery.cookie.min.js +0 -0
- data/templates/{jrails → jquery}/jquery.farbtastic.js +0 -0
- data/templates/{jrails → jquery}/jquery.farbtastic.min.js +0 -0
- data/templates/{jrails → jquery}/jquery.flash_messages.js +0 -0
- data/templates/{jrails → jquery}/jquery.flash_messages.min.js +0 -0
- data/templates/{jrails → jquery}/jquery.form.js +0 -0
- data/templates/{jrails → jquery}/jquery.form.min.js +0 -0
- data/templates/{jrails → jquery}/jquery.haml.js +0 -0
- data/templates/{jrails → jquery}/jquery.haml.min.js +0 -0
- data/templates/jquery/jquery.history.js +194 -0
- data/templates/jquery/jquery.history.min.js +5 -0
- data/templates/{jrails → jquery}/jquery.hotkeys.js +0 -0
- data/templates/{jrails → jquery}/jquery.hotkeys.min.js +0 -0
- data/templates/{jrails → jquery}/jquery.js +0 -0
- data/templates/{jrails → jquery}/jquery.layout.js +0 -0
- data/templates/{jrails → jquery}/jquery.layout.min.js +0 -0
- data/templates/{jrails → jquery}/jquery.metadata.js +0 -0
- data/templates/{jrails → jquery}/jquery.metadata.min.js +0 -0
- data/templates/{jrails → jquery}/jquery.min.js +0 -0
- data/templates/{jrails → jquery}/jquery.pngFix.js +0 -0
- data/templates/{jrails → jquery}/jquery.pngFix.min.js +0 -0
- data/templates/{jrails → jquery}/jquery.sparkline.js +609 -388
- data/templates/jquery/jquery.sparkline.min.js +36 -0
- data/templates/{jrails → jquery}/jquery.themeswitchertool.js +0 -0
- data/templates/{jrails → jquery}/jquery.themeswitchertool.min.js +0 -0
- data/templates/{jrails → jquery}/jquery.tmpl.js +0 -0
- data/templates/{jrails → jquery}/jquery.tmpl.min.js +0 -0
- data/templates/{jrails → jquery}/jquery.tmplPlus.js +0 -0
- data/templates/{jrails → jquery}/jquery.tmplPlus.min.js +0 -0
- data/templates/{jrails → jquery}/jrails.js +0 -0
- data/templates/{jrails → jquery}/jrails.min.js +0 -0
- data/templates/{jrails → jquery}/lib/tasks/haml.rake +0 -0
- data/templates/{jrails → jquery}/manifest.rb +8 -3
- data/templates/{jrails → jquery}/partials/_flash_messages.scss +0 -0
- data/templates/mobile/jquery/mobile/_base.scss +1069 -934
- data/templates/mobile/jquery/mobile/default.scss +119 -91
- data/templates/mobile/jquery/mobile/valencia.scss +3 -1
- data/templates/mobile/jquery.mobile.js +692 -365
- data/templates/mobile/jquery.mobile.min.js +2 -2
- metadata +703 -834
- data/.document +0 -3
- data/.loadpath +0 -5
- data/.project +0 -18
- data/gem_tasks/dynatree.rake +0 -77
- data/gem_tasks/emulators.rake +0 -57
- data/gem_tasks/ical.rake +0 -85
- data/gem_tasks/jqgrid.rake +0 -119
- data/gem_tasks/jqtouch.rake +0 -167
- data/gem_tasks/jrails.rake +0 -366
- data/gem_tasks/jstree.rake +0 -98
- data/gem_tasks/mobile.rake +0 -156
- data/gem_tasks/ribbon.rake +0 -78
- data/gem_tasks/rubygems.rake +0 -18
- data/gem_tasks/secret_sauce.rake +0 -64
- data/gem_tasks/tools.rake +0 -66
- data/lib/google-compiler-20100917.jar +0 -0
- data/lib/js.jar +0 -0
- data/lib/jslint-check.js +0 -36
- data/lib/jslint.js +0 -5500
- data/lib/yuicompressor-2.4.2.jar +0 -0
- data/spec/compass-jquery-plugin_spec.rb +0 -7
- data/spec/spec.opts +0 -1
- data/spec/spec_helper.rb +0 -9
- data/templates/dynatree/jquery/dynatree/aero/cbChecked.png +0 -0
- data/templates/dynatree/jquery/dynatree/aero/cbChecked_hover.png +0 -0
- data/templates/dynatree/jquery/dynatree/aero/cbIntermediate.png +0 -0
- data/templates/dynatree/jquery/dynatree/aero/cbIntermediate_hover.png +0 -0
- data/templates/dynatree/jquery/dynatree/aero/cbUnchecked.png +0 -0
- data/templates/dynatree/jquery/dynatree/aero/cbUnchecked_hover.png +0 -0
- data/templates/dynatree/jquery/dynatree/aero/collapsed.png +0 -0
- data/templates/dynatree/jquery/dynatree/aero/collapsed_hover.png +0 -0
- data/templates/dynatree/jquery/dynatree/aero/copy_here.png +0 -0
- data/templates/dynatree/jquery/dynatree/aero/customDoc1.png +0 -0
- data/templates/dynatree/jquery/dynatree/aero/customFolder1.png +0 -0
- data/templates/dynatree/jquery/dynatree/aero/doc_with_children.png +0 -0
- data/templates/dynatree/jquery/dynatree/aero/document.png +0 -0
- data/templates/dynatree/jquery/dynatree/aero/drop_accept.png +0 -0
- data/templates/dynatree/jquery/dynatree/aero/drop_here.png +0 -0
- data/templates/dynatree/jquery/dynatree/aero/drop_reject.png +0 -0
- data/templates/dynatree/jquery/dynatree/aero/drop_sibling_here.png +0 -0
- data/templates/dynatree/jquery/dynatree/aero/empty.png +0 -0
- data/templates/dynatree/jquery/dynatree/aero/expanded.png +0 -0
- data/templates/dynatree/jquery/dynatree/aero/expanded_hover.png +0 -0
- data/templates/dynatree/jquery/dynatree/aero/folder.png +0 -0
- data/templates/dynatree/jquery/dynatree/aero/folder_docs.png +0 -0
- data/templates/dynatree/jquery/dynatree/aero/folder_images.png +0 -0
- data/templates/dynatree/jquery/dynatree/aero/folder_page.png +0 -0
- data/templates/dynatree/jquery/dynatree/aero/ltDoc.png +0 -0
- data/templates/dynatree/jquery/dynatree/aero/ltError.png +0 -0
- data/templates/dynatree/jquery/dynatree/aero/move_here.png +0 -0
- data/templates/dynatree/jquery/dynatree/aero/rbChecked.png +0 -0
- data/templates/dynatree/jquery/dynatree/aero/rbChecked_hover.png +0 -0
- data/templates/dynatree/jquery/dynatree/aero/rbIntermediate.png +0 -0
- data/templates/dynatree/jquery/dynatree/aero/rbIntermediate_hover.png +0 -0
- data/templates/dynatree/jquery/dynatree/aero/rbUnchecked.png +0 -0
- data/templates/dynatree/jquery/dynatree/aero/rbUnchecked_hover.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/cbChecked.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/cbChecked_hover.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/cbIntermediate.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/cbIntermediate_hover.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/cbUnchecked.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/cbUnchecked_hover.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/collapsed.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/collapsed_hover.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/copy_here.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/customDoc1.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/customFolder1.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/doc_with_children.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/document.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/drop_accept.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/drop_here.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/drop_reject.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/drop_sibling_here.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/empty.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/expanded.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/expanded_hover.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/folder.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/folder_docs.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/folder_images.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/folder_open.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/folder_page.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/ltDoc.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/ltError.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/move_here.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/rbChecked.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/rbChecked_hover.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/rbIntermediate.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/rbIntermediate_hover.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/rbUnchecked.png +0 -0
- data/templates/dynatree/jquery/dynatree/aqua/rbUnchecked_hover.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/cbChecked.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/cbChecked_hover.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/cbIntermediate.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/cbIntermediate_hover.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/cbUnchecked.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/cbUnchecked_hover.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/collapsed.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/collapsed_hover.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/copy_here.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/customDoc1.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/customFolder1.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/doc_with_children.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/document.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/drop_accept.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/drop_here.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/drop_reject.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/drop_sibling_here.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/empty.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/expanded.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/expanded_hover.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/folder.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/folder_docs.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/folder_images.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/folder_open.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/folder_page.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/ltDoc.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/ltError.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/move_here.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/rbChecked.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/rbChecked_hover.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/rbIntermediate.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/rbIntermediate_hover.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/rbUnchecked.png +0 -0
- data/templates/dynatree/jquery/dynatree/crystal/rbUnchecked_hover.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/cbChecked.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/cbChecked_hover.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/cbIntermediate.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/cbIntermediate_hover.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/cbUnchecked.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/cbUnchecked_hover.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/copy_here.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/customDoc1.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/customFolder1.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/drop_accept.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/drop_here.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/drop_reject.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/drop_sibling_here.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/ltD_ne.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/ltD_nes.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/ltDoc.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/ltError.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/ltFld.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/ltFld_o.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/ltL_.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/ltL_ne.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/ltL_nes.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/ltL_ns.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/ltM_ne.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/ltM_nes.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/ltP_ne.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/ltP_nes.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/move_here.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/rbChecked.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/rbChecked_hover.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/rbIntermediate.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/rbIntermediate_hover.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/rbUnchecked.png +0 -0
- data/templates/dynatree/jquery/dynatree/xp/rbUnchecked_hover.png +0 -0
- data/templates/jrails/i18n/jquery.ui/datepicker-ar.min.js +0 -2
- data/templates/jrails/i18n/jquery.ui/datepicker-fr.js +0 -23
- data/templates/jrails/i18n/jquery.ui/datepicker-fr.min.js +0 -2
- data/templates/jrails/jquery-ui.min.js +0 -825
- data/templates/jrails/jquery.sparkline.min.js +0 -31
@@ -2,7 +2,7 @@
|
|
2
2
|
*
|
3
3
|
* jquery.sparkline.js
|
4
4
|
*
|
5
|
-
* v1.
|
5
|
+
* v1.6
|
6
6
|
* (c) Splunk, Inc
|
7
7
|
* Contact: Gareth Watts (gareth@splunk.com)
|
8
8
|
* http://omnipotent.net/jquery.sparkline/
|
@@ -54,10 +54,24 @@
|
|
54
54
|
* $('#sparkline1').sparkline([1,4,6,6,8,5,3,5])
|
55
55
|
* $('#sparkline2').sparkline([1,4,6,null,null,5,3,5])
|
56
56
|
*
|
57
|
+
* Values can also be specified in an HTML comment, or as a values attribute:
|
58
|
+
* <p>Sparkline: <span class="sparkline"><!--1,4,6,6,8,5,3,5 --></span></p>
|
59
|
+
* <p>Sparkline: <span class="sparkline" values="1,4,6,6,8,5,3,5"></span></p>
|
60
|
+
* $('.sparkline').sparkline();
|
61
|
+
*
|
57
62
|
* For line charts, x values can also be specified:
|
58
63
|
* <p>Sparkline: <span class="sparkline">1:1,2.7:4,3.4:6,5:6,6:8,8.7:5,9:3,10:5</span></p>
|
59
64
|
* $('#sparkline1').sparkline([ [1,1], [2.7,4], [3.4,6], [5,6], [6,8], [8.7,5], [9,3], [10,5] ])
|
60
65
|
*
|
66
|
+
* By default, options should be passed in as teh second argument to the sparkline function:
|
67
|
+
* $('.sparkline').sparkline([1,2,3,4], {type: 'bar'})
|
68
|
+
*
|
69
|
+
* Options can also be set by passing them on the tag itself. This feature is disabled by default though
|
70
|
+
* as there's a slight performance overhead:
|
71
|
+
* $('.sparkline').sparkline([1,2,3,4], {enableTagOptions: true})
|
72
|
+
* <p>Sparkline: <span class="sparkline" sparkType="bar" sparkBarColor="red">loading</span></p>
|
73
|
+
* Prefix all options supplied as tag attribute with "spark" (configurable by setting tagOptionPrefix)
|
74
|
+
*
|
61
75
|
* Supported options:
|
62
76
|
* lineColor - Color of the line used for the chart
|
63
77
|
* fillColor - Color used to fill in the chart - Set to '' or false for a transparent chart
|
@@ -71,6 +85,9 @@
|
|
71
85
|
* composite - If true then don't erase any existing chart attached to the tag, but draw
|
72
86
|
* another chart over the top - Note that width and height are ignored if an
|
73
87
|
* existing chart is detected.
|
88
|
+
* tagValuesAttribute - Name of tag attribute to check for data values - Defaults to 'values'
|
89
|
+
* enableTagOptions - Whether to check tags for sparkline options
|
90
|
+
* tagOptionPrefix - Prefix used for options supplied as tag attributes - Defaults to 'spark'
|
74
91
|
*
|
75
92
|
* There are 7 types of sparkline, selected by supplying a "type" option of 'line' (default),
|
76
93
|
* 'bar', 'tristate', 'bullet', 'discrete', 'pie' or 'box'
|
@@ -84,6 +101,7 @@
|
|
84
101
|
* normalRangeMax - If set draws a filled horizontal bar between these two values marking the "normal"
|
85
102
|
* or expected range of values
|
86
103
|
* normalRangeColor - Color to use for the above bar
|
104
|
+
* drawNormalOnTop - Draw the normal range above the chart fill color if true
|
87
105
|
* defaultPixelsPerValue - Defaults to 3 pixels of width for each value in the chart
|
88
106
|
*
|
89
107
|
* bar - Bar chart. Options:
|
@@ -152,15 +170,118 @@
|
|
152
170
|
|
153
171
|
(function($) {
|
154
172
|
|
173
|
+
/*
|
174
|
+
* Default configuration settings
|
175
|
+
*/
|
176
|
+
var defaults = {
|
177
|
+
// Settings common to most/all chart types
|
178
|
+
common: {
|
179
|
+
type : 'line',
|
180
|
+
lineColor : '#00f',
|
181
|
+
fillColor : '#cdf',
|
182
|
+
defaultPixelsPerValue : 3,
|
183
|
+
width : 'auto',
|
184
|
+
height : 'auto',
|
185
|
+
composite : false,
|
186
|
+
tagValuesAttribute: 'values',
|
187
|
+
tagOptionsPrefix: 'spark',
|
188
|
+
enableTagOptions: false
|
189
|
+
},
|
190
|
+
// Defaults for line charts
|
191
|
+
line: {
|
192
|
+
spotColor : '#f80',
|
193
|
+
spotRadius : 1.5,
|
194
|
+
minSpotColor : '#f80',
|
195
|
+
maxSpotColor : '#f80',
|
196
|
+
lineWidth: 1,
|
197
|
+
normalRangeMin : undefined,
|
198
|
+
normalRangeMax : undefined,
|
199
|
+
normalRangeColor : '#ccc',
|
200
|
+
drawNormalOnTop: false,
|
201
|
+
chartRangeMin : undefined,
|
202
|
+
chartRangeMax : undefined,
|
203
|
+
chartRangeMinX : undefined,
|
204
|
+
chartRangeMaxX : undefined
|
205
|
+
},
|
206
|
+
// Defaults for bar charts
|
207
|
+
bar: {
|
208
|
+
barColor : '#00f',
|
209
|
+
negBarColor : '#f44',
|
210
|
+
zeroColor: undefined,
|
211
|
+
nullColor: undefined,
|
212
|
+
zeroAxis : undefined,
|
213
|
+
barWidth : 4,
|
214
|
+
barSpacing : 1,
|
215
|
+
chartRangeMax: undefined,
|
216
|
+
chartRangeMin: undefined,
|
217
|
+
chartRangeClip: false,
|
218
|
+
colorMap : undefined
|
219
|
+
},
|
220
|
+
// Defaults for tristate charts
|
221
|
+
tristate: {
|
222
|
+
barWidth : 4,
|
223
|
+
barSpacing : 1,
|
224
|
+
posBarColor: '#6f6',
|
225
|
+
negBarColor : '#f44',
|
226
|
+
zeroBarColor : '#999',
|
227
|
+
colorMap : {}
|
228
|
+
},
|
229
|
+
// Defaults for discrete charts
|
230
|
+
discrete: {
|
231
|
+
lineHeight: 'auto',
|
232
|
+
thresholdColor: undefined,
|
233
|
+
thresholdValue : 0,
|
234
|
+
chartRangeMax: undefined,
|
235
|
+
chartRangeMin: undefined,
|
236
|
+
chartRangeClip: false
|
237
|
+
},
|
238
|
+
// Defaults for bullet charts
|
239
|
+
bullet: {
|
240
|
+
targetColor : 'red',
|
241
|
+
targetWidth : 3, // width of the target bar in pixels
|
242
|
+
performanceColor : 'blue',
|
243
|
+
rangeColors : ['#D3DAFE', '#A8B6FF', '#7F94FF' ],
|
244
|
+
base : undefined // set this to a number to change the base start number
|
245
|
+
},
|
246
|
+
// Defaults for pie charts
|
247
|
+
pie: {
|
248
|
+
sliceColors : ['#f00', '#0f0', '#00f']
|
249
|
+
},
|
250
|
+
// Defaults for box plots
|
251
|
+
box: {
|
252
|
+
raw: false,
|
253
|
+
boxLineColor: 'black',
|
254
|
+
boxFillColor: '#cdf',
|
255
|
+
whiskerColor: 'black',
|
256
|
+
outlierLineColor: '#333',
|
257
|
+
outlierFillColor: 'white',
|
258
|
+
medianColor: 'red',
|
259
|
+
showOutliers: true,
|
260
|
+
outlierIQR: 1.5,
|
261
|
+
spotRadius: 1.5,
|
262
|
+
target: undefined,
|
263
|
+
targetColor: '#4a2',
|
264
|
+
chartRangeMax: undefined,
|
265
|
+
chartRangeMin: undefined
|
266
|
+
}
|
267
|
+
};
|
268
|
+
|
155
269
|
// Provide a cross-browser interface to a few simple drawing primitives
|
270
|
+
var VCanvas_base, VCanvas_canvas, VCanvas_vml;
|
156
271
|
$.fn.simpledraw = function(width, height, use_existing) {
|
157
|
-
if (use_existing && this[0].
|
158
|
-
|
159
|
-
|
272
|
+
if (use_existing && this[0].VCanvas) {
|
273
|
+
return this[0].VCanvas;
|
274
|
+
}
|
275
|
+
if (width === undefined) {
|
276
|
+
width=$(this).innerWidth();
|
277
|
+
}
|
278
|
+
if (height === undefined) {
|
279
|
+
height=$(this).innerHeight();
|
280
|
+
}
|
160
281
|
if ($.browser.hasCanvas) {
|
161
|
-
return new
|
282
|
+
return new VCanvas_canvas(width, height, this);
|
162
283
|
} else if ($.browser.msie) {
|
163
|
-
return new
|
284
|
+
return new VCanvas_vml(width, height, this);
|
164
285
|
} else {
|
165
286
|
return false;
|
166
287
|
}
|
@@ -168,24 +289,25 @@
|
|
168
289
|
|
169
290
|
var pending = [];
|
170
291
|
|
171
|
-
|
172
|
-
|
173
|
-
type : 'line',
|
174
|
-
lineColor : '#00f',
|
175
|
-
fillColor : '#cdf',
|
176
|
-
defaultPixelsPerValue : 3,
|
177
|
-
width : 'auto',
|
178
|
-
height : 'auto',
|
179
|
-
composite : false
|
180
|
-
}, options ? options : {});
|
181
|
-
|
292
|
+
|
293
|
+
$.fn.sparkline = function(uservalues, userOptions) {
|
182
294
|
return this.each(function() {
|
295
|
+
var options = new $.fn.sparkline.options(this, userOptions);
|
183
296
|
var render = function() {
|
184
|
-
var values
|
297
|
+
var values, width, height;
|
298
|
+
if (uservalues==='html' || uservalues===undefined) {
|
299
|
+
var vals = this.getAttribute(options.get('tagValuesAttribute'));
|
300
|
+
if (vals===undefined || vals===null) {
|
301
|
+
vals = $(this).html();
|
302
|
+
}
|
303
|
+
values = vals.replace(/(^\s*<!--)|(-->\s*$)|\s+/g, '').split(',');
|
304
|
+
} else {
|
305
|
+
values = uservalues;
|
306
|
+
}
|
185
307
|
|
186
|
-
|
187
|
-
if (options.height == 'auto') {
|
188
|
-
if (!options.composite || !this.
|
308
|
+
width = options.get('width')=='auto' ? values.length*options.get('defaultPixelsPerValue') : options.get('width');
|
309
|
+
if (options.get('height') == 'auto') {
|
310
|
+
if (!options.get('composite') || !this.VCanvas) {
|
189
311
|
// must be a better way to get the line height
|
190
312
|
var tmp = document.createElement('span');
|
191
313
|
tmp.innerHTML = 'a';
|
@@ -194,13 +316,13 @@
|
|
194
316
|
$(tmp).remove();
|
195
317
|
}
|
196
318
|
} else {
|
197
|
-
height = options.height;
|
319
|
+
height = options.get('height');
|
198
320
|
}
|
199
321
|
|
200
|
-
$.fn.sparkline[options.type].call(this, values, options, width, height);
|
201
|
-
}
|
322
|
+
$.fn.sparkline[options.get('type')].call(this, values, options, width, height);
|
323
|
+
};
|
202
324
|
// jQuery 1.3.0 completely changed the meaning of :hidden :-/
|
203
|
-
if (($(this).html() && $(this).is(':hidden')) || ($.fn.jquery < "1.3.0" && $(this).parents().is(':hidden'))) {
|
325
|
+
if (($(this).html() && $(this).is(':hidden')) || ($.fn.jquery < "1.3.0" && $(this).parents().is(':hidden')) || !$(this).parents('body').length) {
|
204
326
|
pending.push([this, render]);
|
205
327
|
} else {
|
206
328
|
render.call(this);
|
@@ -208,6 +330,8 @@
|
|
208
330
|
});
|
209
331
|
};
|
210
332
|
|
333
|
+
$.fn.sparkline.defaults = defaults;
|
334
|
+
|
211
335
|
|
212
336
|
$.sparkline_display_visible = function() {
|
213
337
|
for (var i=pending.length-1; i>=0; i--) {
|
@@ -219,25 +343,99 @@
|
|
219
343
|
}
|
220
344
|
};
|
221
345
|
|
222
|
-
$.fn.sparkline.line = function(values, options, width, height) {
|
223
|
-
var options = $.extend({
|
224
|
-
spotColor : '#f80',
|
225
|
-
spotRadius : 1.5,
|
226
|
-
minSpotColor : '#f80',
|
227
|
-
maxSpotColor : '#f80',
|
228
|
-
lineWidth: 1,
|
229
|
-
normalRangeMin : undefined,
|
230
|
-
normalRangeMax : undefined,
|
231
|
-
normalRangeColor : '#ccc',
|
232
|
-
chartRangeMin : undefined,
|
233
|
-
chartRangeMax : undefined,
|
234
|
-
chartRangeMinX : undefined,
|
235
|
-
chartRangeMaxX : undefined
|
236
|
-
}, options ? options : {});
|
237
346
|
|
347
|
+
/**
|
348
|
+
* User option handler
|
349
|
+
*/
|
350
|
+
var UNSET_OPTION = {};
|
351
|
+
var normalizeValue = function(val) {
|
352
|
+
switch(val) {
|
353
|
+
case 'undefined':
|
354
|
+
val = undefined;
|
355
|
+
break;
|
356
|
+
case 'null':
|
357
|
+
val = null;
|
358
|
+
break;
|
359
|
+
case 'true':
|
360
|
+
val = true;
|
361
|
+
break;
|
362
|
+
case 'false':
|
363
|
+
val = false;
|
364
|
+
break;
|
365
|
+
default:
|
366
|
+
var nf = parseFloat(val);
|
367
|
+
if (val == nf) {
|
368
|
+
val = nf;
|
369
|
+
}
|
370
|
+
}
|
371
|
+
return val;
|
372
|
+
};
|
373
|
+
$.fn.sparkline.options = function(tag, userOptions) {
|
374
|
+
var extendedOptions;
|
375
|
+
this.userOptions = userOptions = userOptions || {};
|
376
|
+
this.tag = tag;
|
377
|
+
this.tagValCache = {};
|
378
|
+
var defaults = $.fn.sparkline.defaults;
|
379
|
+
var base = defaults.common;
|
380
|
+
this.tagOptionsPrefix = userOptions.enableTagOptions && (userOptions.tagOptionsPrefix || base.tagOptionsPrefix);
|
381
|
+
|
382
|
+
var tagOptionType = this.getTagSetting('type');
|
383
|
+
if (tagOptionType === UNSET_OPTION) {
|
384
|
+
extendedOptions = defaults[userOptions.type || base.type];
|
385
|
+
} else {
|
386
|
+
extendedOptions = defaults[tagOptionType];
|
387
|
+
}
|
388
|
+
this.mergedOptions = $.extend({}, base, extendedOptions, userOptions);
|
389
|
+
};
|
390
|
+
|
391
|
+
|
392
|
+
$.fn.sparkline.options.prototype.getTagSetting = function(key) {
|
393
|
+
var val, i, prefix = this.tagOptionsPrefix;
|
394
|
+
if (prefix === false || prefix === undefined) {
|
395
|
+
return UNSET_OPTION;
|
396
|
+
}
|
397
|
+
if (this.tagValCache.hasOwnProperty(key)) {
|
398
|
+
val = this.tagValCache.key;
|
399
|
+
} else {
|
400
|
+
val = this.tag.getAttribute(prefix + key);
|
401
|
+
if (val === undefined || val === null) {
|
402
|
+
val = UNSET_OPTION;
|
403
|
+
} else if (val.substr(0, 1) == '[') {
|
404
|
+
val = val.substr(1, val.length-2).split(',');
|
405
|
+
for(i=val.length; i--;) {
|
406
|
+
val[i] = normalizeValue(val[i].replace(/(^\s*)|(\s*$)/g, ''));
|
407
|
+
}
|
408
|
+
} else if (val.substr(0, 1) == '{') {
|
409
|
+
var pairs= val.substr(1, val.length-2).split(',');
|
410
|
+
val = {};
|
411
|
+
for(i=pairs.length; i--;) {
|
412
|
+
var keyval = pairs[i].split(':', 2);
|
413
|
+
val[keyval[0].replace(/(^\s*)|(\s*$)/g, '')] = normalizeValue(keyval[1].replace(/(^\s*)|(\s*$)/g, ''));
|
414
|
+
}
|
415
|
+
} else {
|
416
|
+
val = normalizeValue(val);
|
417
|
+
}
|
418
|
+
this.tagValCache.key = val;
|
419
|
+
}
|
420
|
+
return val;
|
421
|
+
};
|
422
|
+
|
423
|
+
$.fn.sparkline.options.prototype.get = function(key) {
|
424
|
+
var tagOption = this.getTagSetting(key);
|
425
|
+
if (tagOption !== UNSET_OPTION) {
|
426
|
+
return tagOption;
|
427
|
+
}
|
428
|
+
return this.mergedOptions[key];
|
429
|
+
};
|
430
|
+
|
431
|
+
|
432
|
+
/**
|
433
|
+
* Line charts
|
434
|
+
*/
|
435
|
+
$.fn.sparkline.line = function(values, options, width, height) {
|
238
436
|
var xvalues = [], yvalues = [], yminmax = [];
|
239
|
-
for (i=0; i<values.length; i++) {
|
240
|
-
var
|
437
|
+
for (var i=0; i<values.length; i++) {
|
438
|
+
var val = values[i];
|
241
439
|
var isstr = typeof(values[i])=='string';
|
242
440
|
var isarray = typeof(values[i])=='object' && values[i] instanceof Array;
|
243
441
|
var sp = isstr && values[i].split(':');
|
@@ -246,21 +444,21 @@
|
|
246
444
|
yvalues.push(Number(sp[1]));
|
247
445
|
yminmax.push(Number(sp[1]));
|
248
446
|
} else if (isarray) {
|
249
|
-
xvalues.push(
|
250
|
-
yvalues.push(
|
251
|
-
yminmax.push(
|
447
|
+
xvalues.push(val[0]);
|
448
|
+
yvalues.push(val[1]);
|
449
|
+
yminmax.push(val[1]);
|
252
450
|
} else {
|
253
451
|
xvalues.push(i);
|
254
452
|
if (values[i]===null || values[i]=='null') {
|
255
453
|
yvalues.push(null);
|
256
454
|
} else {
|
257
|
-
yvalues.push(Number(
|
258
|
-
yminmax.push(Number(
|
455
|
+
yvalues.push(Number(val));
|
456
|
+
yminmax.push(Number(val));
|
259
457
|
}
|
260
458
|
}
|
261
459
|
}
|
262
|
-
if (options.xvalues) {
|
263
|
-
xvalues = options.xvalues;
|
460
|
+
if (options.get('xvalues')) {
|
461
|
+
xvalues = options.get('xvalues');
|
264
462
|
}
|
265
463
|
|
266
464
|
var maxy = Math.max.apply(Math, yminmax);
|
@@ -269,30 +467,33 @@
|
|
269
467
|
var minyval = miny;
|
270
468
|
|
271
469
|
var maxx = Math.max.apply(Math, xvalues);
|
272
|
-
var maxxval = maxx;
|
273
470
|
var minx = Math.min.apply(Math, xvalues);
|
274
|
-
var minxval = minx;
|
275
471
|
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
472
|
+
var normalRangeMin = options.get('normalRangeMin');
|
473
|
+
var normalRangeMax = options.get('normalRangeMax');
|
474
|
+
|
475
|
+
if (normalRangeMin!==undefined) {
|
476
|
+
if (normalRangeMin<miny) {
|
477
|
+
miny = normalRangeMin;
|
478
|
+
}
|
479
|
+
if (normalRangeMax>maxy) {
|
480
|
+
maxy = normalRangeMax;
|
481
|
+
}
|
281
482
|
}
|
282
|
-
if (options.chartRangeMin
|
283
|
-
miny = options.chartRangeMin;
|
483
|
+
if (options.get('chartRangeMin')!==undefined && (options.get('chartRangeClip') || options.get('chartRangeMin')<miny)) {
|
484
|
+
miny = options.get('chartRangeMin');
|
284
485
|
}
|
285
|
-
if (options.chartRangeMax
|
286
|
-
maxy = options.chartRangeMax;
|
486
|
+
if (options.get('chartRangeMax')!==undefined && (options.get('chartRangeClip') || options.get('chartRangeMax')>maxy)) {
|
487
|
+
maxy = options.get('chartRangeMax');
|
287
488
|
}
|
288
|
-
if (options.chartRangeMinX
|
289
|
-
minx = options.chartRangeMinX;
|
489
|
+
if (options.get('chartRangeMinX')!==undefined && (options.get('chartRangeClipX') || options.get('chartRangeMinX')<minx)) {
|
490
|
+
minx = options.get('chartRangeMinX');
|
290
491
|
}
|
291
|
-
if (options.chartRangeMaxX
|
292
|
-
maxx = options.chartRangeMaxX;
|
492
|
+
if (options.get('chartRangeMaxX')!==undefined && (options.get('chartRangeClipX') || options.get('chartRangeMaxX')>maxx)) {
|
493
|
+
maxx = options.get('chartRangeMaxX');
|
293
494
|
}
|
294
|
-
var rangex = maxx-minx
|
295
|
-
var rangey = maxy-miny
|
495
|
+
var rangex = maxx-minx === 0 ? 1 : maxx-minx;
|
496
|
+
var rangey = maxy-miny === 0 ? 1 : maxy-miny;
|
296
497
|
var vl = yvalues.length-1;
|
297
498
|
|
298
499
|
if (vl<1) {
|
@@ -300,44 +501,56 @@
|
|
300
501
|
return;
|
301
502
|
}
|
302
503
|
|
303
|
-
var target = $(this).simpledraw(width, height, options.composite);
|
504
|
+
var target = $(this).simpledraw(width, height, options.get('composite'));
|
304
505
|
if (target) {
|
305
506
|
var canvas_width = target.pixel_width;
|
306
507
|
var canvas_height = target.pixel_height;
|
307
508
|
var canvas_top = 0;
|
308
509
|
var canvas_left = 0;
|
309
510
|
|
310
|
-
|
311
|
-
|
511
|
+
var spotRadius = options.get('spotRadius');
|
512
|
+
if (spotRadius && (canvas_width < (spotRadius*4) || canvas_height < (spotRadius*4))) {
|
513
|
+
spotRadius = 0;
|
312
514
|
}
|
313
|
-
if (
|
515
|
+
if (spotRadius) {
|
314
516
|
// adjust the canvas size as required so that spots will fit
|
315
|
-
if (options.minSpotColor || (options.spotColor && yvalues[vl]==miny))
|
316
|
-
canvas_height -= Math.ceil(
|
317
|
-
|
318
|
-
|
319
|
-
|
517
|
+
if (options.get('minSpotColor') || (options.get('spotColor') && yvalues[vl]==miny)) {
|
518
|
+
canvas_height -= Math.ceil(spotRadius);
|
519
|
+
}
|
520
|
+
if (options.get('maxSpotColor') || (options.get('spotColor') && yvalues[vl]==maxy)) {
|
521
|
+
canvas_height -= Math.ceil(spotRadius);
|
522
|
+
canvas_top += Math.ceil(spotRadius);
|
320
523
|
}
|
321
|
-
if (options.minSpotColor || options.maxSpotColor && (yvalues[0]==miny || yvalues[0]==maxy)) {
|
322
|
-
canvas_left += Math.ceil(
|
323
|
-
canvas_width -= Math.ceil(
|
524
|
+
if (options.get('minSpotColor') || options.get('maxSpotColor') && (yvalues[0]==miny || yvalues[0]==maxy)) {
|
525
|
+
canvas_left += Math.ceil(spotRadius);
|
526
|
+
canvas_width -= Math.ceil(spotRadius);
|
527
|
+
}
|
528
|
+
if (options.get('spotColor') || (options.get('minSpotColor') || options.get('maxSpotColor') && (yvalues[vl]==miny||yvalues[vl]==maxy))) {
|
529
|
+
canvas_width -= Math.ceil(spotRadius);
|
324
530
|
}
|
325
|
-
if (options.spotColor || (options.minSpotColor || options.maxSpotColor && (yvalues[vl]==miny||yvalues[vl]==maxy)))
|
326
|
-
canvas_width -= Math.ceil(options.spotRadius);
|
327
531
|
}
|
328
532
|
|
329
533
|
|
330
534
|
canvas_height--;
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
535
|
+
|
536
|
+
var drawNormalRange = function() {
|
537
|
+
if (normalRangeMin!==undefined) {
|
538
|
+
var ytop = canvas_top+Math.round(canvas_height-(canvas_height*((normalRangeMax-miny)/rangey)));
|
539
|
+
var height = Math.round((canvas_height*(normalRangeMax-normalRangeMin))/rangey);
|
540
|
+
target.drawRect(canvas_left, ytop, canvas_width, height, undefined, options.get('normalRangeColor'));
|
541
|
+
}
|
542
|
+
};
|
543
|
+
|
544
|
+
if (!options.get('drawNormalOnTop')) {
|
545
|
+
drawNormalRange();
|
335
546
|
}
|
336
547
|
|
337
548
|
var path = [];
|
338
549
|
var paths = [path];
|
339
|
-
|
340
|
-
|
550
|
+
var x, y, vlen=yvalues.length;
|
551
|
+
for(i=0; i<vlen; i++) {
|
552
|
+
x=xvalues[i];
|
553
|
+
y=yvalues[i];
|
341
554
|
if (y===null) {
|
342
555
|
if (i) {
|
343
556
|
if (yvalues[i-1]!==null) {
|
@@ -346,8 +559,12 @@
|
|
346
559
|
}
|
347
560
|
}
|
348
561
|
} else {
|
349
|
-
if (y < miny)
|
350
|
-
|
562
|
+
if (y < miny) {
|
563
|
+
y=miny;
|
564
|
+
}
|
565
|
+
if (y > maxy) {
|
566
|
+
y=maxy;
|
567
|
+
}
|
351
568
|
if (!path.length) {
|
352
569
|
// previous value was null
|
353
570
|
path.push([canvas_left+Math.round((x-minx)*(canvas_width/rangex)), canvas_top+canvas_height]);
|
@@ -355,13 +572,17 @@
|
|
355
572
|
path.push([canvas_left+Math.round((x-minx)*(canvas_width/rangex)), canvas_top+Math.round(canvas_height-(canvas_height*((y-miny)/rangey)))]);
|
356
573
|
}
|
357
574
|
}
|
358
|
-
|
575
|
+
var lineshapes = [];
|
576
|
+
var fillshapes = [];
|
577
|
+
var plen=paths.length;
|
578
|
+
for(i=0; i<plen; i++) {
|
359
579
|
path = paths[i];
|
360
|
-
if (!path.length)
|
580
|
+
if (!path.length) {
|
361
581
|
continue; // last value was null
|
362
|
-
|
582
|
+
}
|
583
|
+
if (options.get('fillColor')) {
|
363
584
|
path.push([path[path.length-1][0], canvas_top+canvas_height-1]);
|
364
|
-
|
585
|
+
fillshapes.push(path.slice(0));
|
365
586
|
path.pop();
|
366
587
|
}
|
367
588
|
// if there's only a single point in this path, then we want to display it as a vertical line
|
@@ -370,44 +591,50 @@
|
|
370
591
|
// else we want the first value
|
371
592
|
path[0] = [ path[0][0], path[1][1] ];
|
372
593
|
}
|
373
|
-
|
594
|
+
lineshapes.push(path);
|
374
595
|
}
|
375
|
-
|
376
|
-
|
596
|
+
|
597
|
+
// draw the fill first, then optionally the normal range, then the line on top of that
|
598
|
+
plen = fillshapes.length;
|
599
|
+
for(i=0; i<plen; i++) {
|
600
|
+
target.drawShape(fillshapes[i], undefined, options.get('fillColor'));
|
601
|
+
}
|
602
|
+
|
603
|
+
if (options.get('drawNormalOnTop')) {
|
604
|
+
drawNormalRange();
|
605
|
+
}
|
606
|
+
|
607
|
+
plen = lineshapes.length;
|
608
|
+
for(i=0; i<plen; i++) {
|
609
|
+
target.drawShape(lineshapes[i], options.get('lineColor'), undefined, options.get('lineWidth'));
|
610
|
+
}
|
611
|
+
|
612
|
+
if (spotRadius && options.get('spotColor')) {
|
613
|
+
target.drawCircle(canvas_left+Math.round(xvalues[xvalues.length-1]*(canvas_width/rangex)), canvas_top+Math.round(canvas_height-(canvas_height*((yvalues[vl]-miny)/rangey))), spotRadius, undefined, options.get('spotColor'));
|
377
614
|
}
|
378
615
|
if (maxy!=minyval) {
|
379
|
-
if (
|
380
|
-
|
381
|
-
target.drawCircle(canvas_left+Math.round((x-minx)*(canvas_width/rangex)), canvas_top+Math.round(canvas_height-(canvas_height*((minyval-miny)/rangey))),
|
616
|
+
if (spotRadius && options.get('minSpotColor')) {
|
617
|
+
x = xvalues[$.inArray(minyval, yvalues)];
|
618
|
+
target.drawCircle(canvas_left+Math.round((x-minx)*(canvas_width/rangex)), canvas_top+Math.round(canvas_height-(canvas_height*((minyval-miny)/rangey))), spotRadius, undefined, options.get('minSpotColor'));
|
382
619
|
}
|
383
|
-
if (
|
384
|
-
|
385
|
-
target.drawCircle(canvas_left+Math.round((x-minx)*(canvas_width/rangex)), canvas_top+Math.round(canvas_height-(canvas_height*((maxyval-miny)/rangey))),
|
620
|
+
if (spotRadius && options.get('maxSpotColor')) {
|
621
|
+
x = xvalues[$.inArray(maxyval, yvalues)];
|
622
|
+
target.drawCircle(canvas_left+Math.round((x-minx)*(canvas_width/rangex)), canvas_top+Math.round(canvas_height-(canvas_height*((maxyval-miny)/rangey))), spotRadius, undefined, options.get('maxSpotColor'));
|
386
623
|
}
|
387
624
|
}
|
625
|
+
|
388
626
|
} else {
|
389
627
|
// Remove the tag contents if sparklines aren't supported
|
390
628
|
this.innerHTML = '';
|
391
629
|
}
|
392
630
|
};
|
393
631
|
|
632
|
+
|
633
|
+
/**
|
634
|
+
* Bar charts
|
635
|
+
*/
|
394
636
|
$.fn.sparkline.bar = function(values, options, width, height) {
|
395
|
-
|
396
|
-
type : 'bar',
|
397
|
-
barColor : '#00f',
|
398
|
-
negBarColor : '#f44',
|
399
|
-
zeroColor: undefined,
|
400
|
-
nullColor: undefined,
|
401
|
-
zeroAxis : undefined,
|
402
|
-
barWidth : 4,
|
403
|
-
barSpacing : 1,
|
404
|
-
chartRangeMax: undefined,
|
405
|
-
chartRangeMin: undefined,
|
406
|
-
chartRangeClip: false,
|
407
|
-
colorMap : undefined
|
408
|
-
}, options ? options : {});
|
409
|
-
|
410
|
-
var width = (values.length * options.barWidth) + ((values.length-1) * options.barSpacing);
|
637
|
+
width = (values.length * options.get('barWidth')) + ((values.length-1) * options.get('barSpacing'));
|
411
638
|
var num_values = [];
|
412
639
|
for(var i=0, vlen=values.length; i<vlen; i++) {
|
413
640
|
if (values[i]=='null' || values[i]===null) {
|
@@ -417,56 +644,65 @@
|
|
417
644
|
num_values.push(Number(values[i]));
|
418
645
|
}
|
419
646
|
}
|
420
|
-
var max = Math.max.apply(Math, num_values)
|
421
|
-
|
422
|
-
if (options.chartRangeMin
|
423
|
-
min = options.chartRangeMin;
|
647
|
+
var max = Math.max.apply(Math, num_values),
|
648
|
+
min = Math.min.apply(Math, num_values);
|
649
|
+
if (options.get('chartRangeMin')!==undefined && (options.get('chartRangeClip') || options.get('chartRangeMin')<min)) {
|
650
|
+
min = options.get('chartRangeMin');
|
651
|
+
}
|
652
|
+
if (options.get('chartRangeMax')!==undefined && (options.get('chartRangeClip') || options.get('chartRangeMax')>max)) {
|
653
|
+
max = options.get('chartRangeMax');
|
424
654
|
}
|
425
|
-
|
426
|
-
|
655
|
+
var zeroAxis = options.get('zeroAxis');
|
656
|
+
if (zeroAxis === undefined) {
|
657
|
+
zeroAxis = min<0;
|
427
658
|
}
|
428
|
-
|
429
|
-
var range = max-min == 0 ? 1 : max-min;
|
659
|
+
var range = max-min === 0 ? 1 : max-min;
|
430
660
|
|
431
|
-
|
432
|
-
|
433
|
-
|
661
|
+
var colorMapByIndex, colorMapByValue;
|
662
|
+
if ($.isArray(options.get('colorMap'))) {
|
663
|
+
colorMapByIndex = options.get('colorMap');
|
664
|
+
colorMapByValue = null;
|
434
665
|
} else {
|
435
|
-
|
436
|
-
|
666
|
+
colorMapByIndex = null;
|
667
|
+
colorMapByValue = options.get('colorMap');
|
437
668
|
}
|
438
669
|
|
439
|
-
var target = $(this).simpledraw(width, height, options.composite);
|
670
|
+
var target = $(this).simpledraw(width, height, options.get('composite'));
|
440
671
|
if (target) {
|
441
|
-
var
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
for(
|
446
|
-
var x = i*(options.barWidth+options.barSpacing)
|
447
|
-
|
672
|
+
var color,
|
673
|
+
canvas_height = target.pixel_height,
|
674
|
+
yzero = min<0 && zeroAxis ? canvas_height-Math.round(canvas_height * (Math.abs(min)/range))-1 : canvas_height-1;
|
675
|
+
|
676
|
+
for(i=values.length; i--;) {
|
677
|
+
var x = i*(options.get('barWidth')+options.get('barSpacing')),
|
678
|
+
y,
|
679
|
+
val = values[i];
|
448
680
|
if (val===null) {
|
449
|
-
if (options.nullColor) {
|
450
|
-
color = options.nullColor;
|
451
|
-
val = (
|
452
|
-
|
453
|
-
|
681
|
+
if (options.get('nullColor')) {
|
682
|
+
color = options.get('nullColor');
|
683
|
+
val = (zeroAxis && min<0) ? 0 : min;
|
684
|
+
height = 1;
|
685
|
+
y = (zeroAxis && min<0) ? yzero : canvas_height - height;
|
454
686
|
} else {
|
455
687
|
continue;
|
456
688
|
}
|
457
689
|
} else {
|
458
|
-
if (val < min)
|
459
|
-
|
460
|
-
|
461
|
-
if (
|
462
|
-
|
463
|
-
|
690
|
+
if (val < min) {
|
691
|
+
val=min;
|
692
|
+
}
|
693
|
+
if (val > max) {
|
694
|
+
val=max;
|
695
|
+
}
|
696
|
+
color = (val < 0) ? options.get('negBarColor') : options.get('barColor');
|
697
|
+
if (zeroAxis && min<0) {
|
698
|
+
height = Math.round(canvas_height*((Math.abs(val)/range)))+1;
|
699
|
+
y = (val < 0) ? yzero : yzero-height;
|
464
700
|
} else {
|
465
|
-
|
466
|
-
|
701
|
+
height = Math.round(canvas_height*((val-min)/range))+1;
|
702
|
+
y = canvas_height-height;
|
467
703
|
}
|
468
|
-
if (val
|
469
|
-
color = options.zeroColor;
|
704
|
+
if (val===0 && options.get('zeroColor')!==undefined) {
|
705
|
+
color = options.get('zeroColor');
|
470
706
|
}
|
471
707
|
if (colorMapByValue && colorMapByValue[val]) {
|
472
708
|
color = colorMapByValue[val];
|
@@ -477,7 +713,7 @@
|
|
477
713
|
continue;
|
478
714
|
}
|
479
715
|
}
|
480
|
-
target.drawRect(x, y, options.barWidth-1, height-1, color, color);
|
716
|
+
target.drawRect(x, y, options.get('barWidth')-1, height-1, color, color);
|
481
717
|
}
|
482
718
|
} else {
|
483
719
|
// Remove the tag contents if sparklines aren't supported
|
@@ -485,47 +721,43 @@
|
|
485
721
|
}
|
486
722
|
};
|
487
723
|
|
724
|
+
|
725
|
+
/**
|
726
|
+
* Tristate charts
|
727
|
+
*/
|
488
728
|
$.fn.sparkline.tristate = function(values, options, width, height) {
|
489
729
|
values = $.map(values, Number);
|
490
|
-
|
491
|
-
barWidth : 4,
|
492
|
-
barSpacing : 1,
|
493
|
-
posBarColor: '#6f6',
|
494
|
-
negBarColor : '#f44',
|
495
|
-
zeroBarColor : '#999',
|
496
|
-
colorMap : {}
|
497
|
-
}, options);
|
498
|
-
|
499
|
-
var width = (values.length * options.barWidth) + ((values.length-1) * options.barSpacing);
|
730
|
+
width = (values.length * options.get('barWidth')) + ((values.length-1) * options.get('barSpacing'));
|
500
731
|
|
501
|
-
|
502
|
-
|
503
|
-
|
732
|
+
var colorMapByIndex, colorMapByValue;
|
733
|
+
if ($.isArray(options.get('colorMap'))) {
|
734
|
+
colorMapByIndex = options.get('colorMap');
|
735
|
+
colorMapByValue = null;
|
504
736
|
} else {
|
505
|
-
|
506
|
-
|
737
|
+
colorMapByIndex = null;
|
738
|
+
colorMapByValue = options.get('colorMap');
|
507
739
|
}
|
508
740
|
|
509
|
-
var target = $(this).simpledraw(width, height, options.composite);
|
741
|
+
var target = $(this).simpledraw(width, height, options.get('composite'));
|
510
742
|
if (target) {
|
511
|
-
var
|
512
|
-
|
513
|
-
var half_height = Math.round(canvas_height/2);
|
743
|
+
var canvas_height = target.pixel_height,
|
744
|
+
half_height = Math.round(canvas_height/2);
|
514
745
|
|
515
|
-
for(var i=
|
516
|
-
var x = i*(options.barWidth+options.barSpacing)
|
746
|
+
for(var i=values.length; i--;) {
|
747
|
+
var x = i*(options.get('barWidth')+options.get('barSpacing')),
|
748
|
+
y, color;
|
517
749
|
if (values[i] < 0) {
|
518
|
-
|
519
|
-
|
520
|
-
|
750
|
+
y = half_height;
|
751
|
+
height = half_height-1;
|
752
|
+
color = options.get('negBarColor');
|
521
753
|
} else if (values[i] > 0) {
|
522
|
-
|
523
|
-
|
524
|
-
|
754
|
+
y = 0;
|
755
|
+
height = half_height-1;
|
756
|
+
color = options.get('posBarColor');
|
525
757
|
} else {
|
526
|
-
|
527
|
-
|
528
|
-
|
758
|
+
y = half_height-1;
|
759
|
+
height = 2;
|
760
|
+
color = options.get('zeroBarColor');
|
529
761
|
}
|
530
762
|
if (colorMapByValue && colorMapByValue[values[i]]) {
|
531
763
|
color = colorMapByValue[values[i]];
|
@@ -535,7 +767,7 @@
|
|
535
767
|
if (color===null) {
|
536
768
|
continue;
|
537
769
|
}
|
538
|
-
target.drawRect(x, y, options.barWidth-1, height-1, color, color);
|
770
|
+
target.drawRect(x, y, options.get('barWidth')-1, height-1, color, color);
|
539
771
|
}
|
540
772
|
} else {
|
541
773
|
// Remove the tag contents if sparklines aren't supported
|
@@ -543,43 +775,41 @@
|
|
543
775
|
}
|
544
776
|
};
|
545
777
|
|
778
|
+
|
779
|
+
/**
|
780
|
+
* Discrete charts
|
781
|
+
*/
|
546
782
|
$.fn.sparkline.discrete = function(values, options, width, height) {
|
547
783
|
values = $.map(values, Number);
|
548
|
-
|
549
|
-
lineHeight: 'auto',
|
550
|
-
thresholdColor: undefined,
|
551
|
-
thresholdValue : 0,
|
552
|
-
chartRangeMax: undefined,
|
553
|
-
chartRangeMin: undefined,
|
554
|
-
chartRangeClip: false
|
555
|
-
}, options);
|
556
|
-
|
557
|
-
width = options.width=='auto' ? values.length*2 : width;
|
784
|
+
width = options.get('width')=='auto' ? values.length*2 : width;
|
558
785
|
var interval = Math.floor(width / values.length);
|
559
786
|
|
560
|
-
var target = $(this).simpledraw(width, height, options.composite);
|
787
|
+
var target = $(this).simpledraw(width, height, options.get('composite'));
|
561
788
|
if (target) {
|
562
|
-
var
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
min = options.chartRangeMin;
|
789
|
+
var canvas_height = target.pixel_height,
|
790
|
+
line_height = options.get('lineHeight') == 'auto' ? Math.round(canvas_height * 0.3) : options.get('lineHeight'),
|
791
|
+
pheight = canvas_height - line_height,
|
792
|
+
min = Math.min.apply(Math, values),
|
793
|
+
max = Math.max.apply(Math, values);
|
794
|
+
if (options.get('chartRangeMin')!==undefined && (options.get('chartRangeClip') || options.get('chartRangeMin')<min)) {
|
795
|
+
min = options.get('chartRangeMin');
|
570
796
|
}
|
571
|
-
if (options.chartRangeMax
|
572
|
-
max = options.chartRangeMax;
|
797
|
+
if (options.get('chartRangeMax')!==undefined && (options.get('chartRangeClip') || options.get('chartRangeMax')>max)) {
|
798
|
+
max = options.get('chartRangeMax');
|
573
799
|
}
|
574
800
|
var range = max-min;
|
575
801
|
|
576
|
-
for(var i=
|
802
|
+
for(var i=values.length; i--;) {
|
577
803
|
var val = values[i];
|
578
|
-
if (val < min)
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
804
|
+
if (val < min) {
|
805
|
+
val=min;
|
806
|
+
}
|
807
|
+
if (val > max) {
|
808
|
+
val=max;
|
809
|
+
}
|
810
|
+
var x = (i*interval),
|
811
|
+
ytop = Math.round(pheight-pheight*((val-min)/range));
|
812
|
+
target.drawLine(x, ytop, x, ytop+line_height, (options.get('thresholdColor') && val < options.get('thresholdValue')) ? options.get('thresholdColor') : options.get('lineColor'));
|
583
813
|
}
|
584
814
|
} else {
|
585
815
|
// Remove the tag contents if sparklines aren't supported
|
@@ -588,93 +818,96 @@
|
|
588
818
|
|
589
819
|
};
|
590
820
|
|
821
|
+
|
822
|
+
/**
|
823
|
+
* Bullet charts
|
824
|
+
*/
|
591
825
|
$.fn.sparkline.bullet = function(values, options, width, height) {
|
592
826
|
values = $.map(values, Number);
|
593
827
|
// target, performance, range1, range2, range3
|
594
|
-
var options = $.extend({
|
595
|
-
targetColor : 'red',
|
596
|
-
targetWidth : 3, // width of the target bar in pixels
|
597
|
-
performanceColor : 'blue',
|
598
|
-
rangeColors : ['#D3DAFE', '#A8B6FF', '#7F94FF' ],
|
599
|
-
base : undefined // set this to a number to change the base start number
|
600
|
-
}, options);
|
601
|
-
|
602
828
|
|
603
|
-
width = options.width=='auto' ? '4.0em' : width;
|
829
|
+
width = options.get('width')=='auto' ? '4.0em' : width;
|
604
830
|
|
605
|
-
var target = $(this).simpledraw(width, height, options.composite);
|
831
|
+
var target = $(this).simpledraw(width, height, options.get('composite'));
|
606
832
|
if (target && values.length>1) {
|
607
|
-
var canvas_width = target.pixel_width-Math.ceil(options.targetWidth/2)
|
608
|
-
|
833
|
+
var canvas_width = target.pixel_width-Math.ceil(options.get('targetWidth')/2),
|
834
|
+
canvas_height = target.pixel_height,
|
835
|
+
min = Math.min.apply(Math, values),
|
836
|
+
max = Math.max.apply(Math, values);
|
609
837
|
|
610
|
-
|
611
|
-
|
612
|
-
if (options.base == undefined) {
|
613
|
-
var min = min < 0 ? min : 0;
|
838
|
+
if (options.get('base') === undefined) {
|
839
|
+
min = min < 0 ? min : 0;
|
614
840
|
} else {
|
615
|
-
min = options.base;
|
841
|
+
min = options.get('base');
|
616
842
|
}
|
617
843
|
var range = max-min;
|
618
844
|
|
619
845
|
// draw range values
|
620
|
-
for(i=2, vlen=values.length; i<vlen; i++) {
|
621
|
-
var rangeval =
|
622
|
-
|
623
|
-
target.drawRect(0, 0, rangewidth-1, canvas_height-1, options.rangeColors[i-2], options.rangeColors[i-2]);
|
846
|
+
for(var i=2, vlen=values.length; i<vlen; i++) {
|
847
|
+
var rangeval = values[i],
|
848
|
+
rangewidth = Math.round(canvas_width*((rangeval-min)/range));
|
849
|
+
target.drawRect(0, 0, rangewidth-1, canvas_height-1, options.get('rangeColors')[i-2], options.get('rangeColors')[i-2]);
|
624
850
|
}
|
625
851
|
|
626
852
|
// draw the performance bar
|
627
|
-
var perfval =
|
628
|
-
|
629
|
-
target.drawRect(0, Math.round(canvas_height*0.3), perfwidth-1, Math.round(canvas_height*0.4)-1, options.performanceColor, options.performanceColor);
|
630
|
-
|
631
|
-
// draw the target
|
632
|
-
var targetval =
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
target.drawRect(x, targettop, options.targetWidth-1, targetheight-1, options.targetColor, options.targetColor);
|
853
|
+
var perfval = values[1],
|
854
|
+
perfwidth = Math.round(canvas_width*((perfval-min)/range));
|
855
|
+
target.drawRect(0, Math.round(canvas_height*0.3), perfwidth-1, Math.round(canvas_height*0.4)-1, options.get('performanceColor'), options.get('performanceColor'));
|
856
|
+
|
857
|
+
// draw the target line
|
858
|
+
var targetval = values[0],
|
859
|
+
x = Math.round(canvas_width*((targetval-min)/range)-(options.get('targetWidth')/2)),
|
860
|
+
targettop = Math.round(canvas_height*0.10),
|
861
|
+
targetheight = canvas_height-(targettop*2);
|
862
|
+
target.drawRect(x, targettop, options.get('targetWidth')-1, targetheight-1, options.get('targetColor'), options.get('targetColor'));
|
637
863
|
} else {
|
638
864
|
// Remove the tag contents if sparklines aren't supported
|
639
865
|
this.innerHTML = '';
|
640
866
|
}
|
641
867
|
};
|
642
868
|
|
869
|
+
|
870
|
+
/**
|
871
|
+
* Pie charts
|
872
|
+
*/
|
643
873
|
$.fn.sparkline.pie = function(values, options, width, height) {
|
644
874
|
values = $.map(values, Number);
|
645
|
-
|
646
|
-
sliceColors : ['#f00', '#0f0', '#00f']
|
647
|
-
}, options);
|
875
|
+
width = options.get('width')=='auto' ? height : width;
|
648
876
|
|
649
|
-
|
650
|
-
|
651
|
-
var target = $(this).simpledraw(width, height, options.composite);
|
877
|
+
var target = $(this).simpledraw(width, height, options.get('composite'));
|
652
878
|
if (target && values.length>1) {
|
653
|
-
var canvas_width = target.pixel_width
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
879
|
+
var canvas_width = target.pixel_width,
|
880
|
+
canvas_height = target.pixel_height,
|
881
|
+
radius = Math.floor(Math.min(canvas_width, canvas_height)/2),
|
882
|
+
total = 0,
|
883
|
+
next = 0,
|
884
|
+
circle = 2*Math.PI;
|
885
|
+
|
886
|
+
for(var i=values.length; i--;) {
|
659
887
|
total += values[i];
|
660
|
-
var next = 0;
|
661
|
-
if (options.offset) {
|
662
|
-
next += (2*Math.PI)*(options.offset/360);
|
663
888
|
}
|
664
|
-
|
665
|
-
|
889
|
+
|
890
|
+
if (options.get('offset')) {
|
891
|
+
next += (2*Math.PI)*(options.get('offset')/360);
|
892
|
+
}
|
893
|
+
var vlen = values.length;
|
894
|
+
for(i=0; i<vlen; i++) {
|
666
895
|
var start = next;
|
667
896
|
var end = next;
|
668
897
|
if (total > 0) { // avoid divide by zero
|
669
898
|
end = next + (circle*(values[i]/total));
|
670
899
|
}
|
671
|
-
target.drawPieSlice(radius, radius, radius, start, end, undefined, options.sliceColors[i % options.sliceColors.length]);
|
900
|
+
target.drawPieSlice(radius, radius, radius, start, end, undefined, options.get('sliceColors')[i % options.get('sliceColors').length]);
|
672
901
|
next = end;
|
673
902
|
}
|
674
903
|
}
|
675
904
|
};
|
676
905
|
|
677
|
-
|
906
|
+
|
907
|
+
/**
|
908
|
+
* Box plots
|
909
|
+
*/
|
910
|
+
var quartile = function(values, q) {
|
678
911
|
if (q==2) {
|
679
912
|
var vl2 = Math.floor(values.length/2);
|
680
913
|
return values.length % 2 ? values[vl2] : (values[vl2]+values[vl2+1])/2;
|
@@ -686,69 +919,59 @@
|
|
686
919
|
|
687
920
|
$.fn.sparkline.box = function(values, options, width, height) {
|
688
921
|
values = $.map(values, Number);
|
689
|
-
|
690
|
-
raw: false,
|
691
|
-
boxLineColor: 'black',
|
692
|
-
boxFillColor: '#cdf',
|
693
|
-
whiskerColor: 'black',
|
694
|
-
outlierLineColor: '#333',
|
695
|
-
outlierFillColor: 'white',
|
696
|
-
medianColor: 'red',
|
697
|
-
showOutliers: true,
|
698
|
-
outlierIQR: 1.5,
|
699
|
-
spotRadius: 1.5,
|
700
|
-
target: undefined,
|
701
|
-
targetColor: '#4a2',
|
702
|
-
chartRangeMax: undefined,
|
703
|
-
chartRangeMin: undefined
|
704
|
-
}, options);
|
922
|
+
width = options.get('width')=='auto' ? '4.0em' : width;
|
705
923
|
|
706
|
-
|
924
|
+
var minvalue = options.get('chartRangeMin')===undefined ? Math.min.apply(Math, values) : options.get('chartRangeMin'),
|
925
|
+
maxvalue = options.get('chartRangeMax')===undefined ? Math.max.apply(Math, values) : options.get('chartRangeMax'),
|
926
|
+
target = $(this).simpledraw(width, height, options.get('composite')),
|
927
|
+
vlen = values.length,
|
928
|
+
lwhisker, loutlier, q1, q2, q3, rwhisker, routlier;
|
707
929
|
|
708
|
-
minvalue = options.chartRangeMin==undefined ? Math.min.apply(Math, values) : options.chartRangeMin;
|
709
|
-
maxvalue = options.chartRangeMax==undefined ? Math.max.apply(Math, values) : options.chartRangeMax;
|
710
|
-
var target = $(this).simpledraw(width, height, options.composite);
|
711
930
|
if (target && values.length>1) {
|
712
|
-
var canvas_width = target.pixel_width
|
713
|
-
|
714
|
-
if (options.raw) {
|
715
|
-
if (options.showOutliers && values.length>5) {
|
716
|
-
|
931
|
+
var canvas_width = target.pixel_width,
|
932
|
+
canvas_height = target.pixel_height;
|
933
|
+
if (options.get('raw')) {
|
934
|
+
if (options.get('showOutliers') && values.length>5) {
|
935
|
+
loutlier=values[0]; lwhisker=values[1]; q1=values[2]; q2=values[3]; q3=values[4]; rwhisker=values[5]; routlier=values[6];
|
717
936
|
} else {
|
718
|
-
|
937
|
+
lwhisker=values[0]; q1=values[1]; q2=values[2]; q3=values[3]; rwhisker=values[4];
|
719
938
|
}
|
720
939
|
} else {
|
721
940
|
values.sort(function(a, b) { return a-b; });
|
722
|
-
|
723
|
-
|
724
|
-
|
941
|
+
q1 = quartile(values, 1);
|
942
|
+
q2 = quartile(values, 2);
|
943
|
+
q3 = quartile(values, 3);
|
725
944
|
var iqr = q3-q1;
|
726
|
-
if (options.showOutliers) {
|
727
|
-
|
728
|
-
for(var i=0
|
729
|
-
if (lwhisker
|
945
|
+
if (options.get('showOutliers')) {
|
946
|
+
lwhisker=undefined; rwhisker=undefined;
|
947
|
+
for(var i=0; i<vlen; i++) {
|
948
|
+
if (lwhisker===undefined && values[i] > q1-(iqr*options.get('outlierIQR'))) {
|
730
949
|
lwhisker = values[i];
|
731
|
-
|
950
|
+
}
|
951
|
+
if (values[i] < q3+(iqr*options.get('outlierIQR'))) {
|
732
952
|
rwhisker = values[i];
|
953
|
+
}
|
733
954
|
}
|
734
|
-
|
735
|
-
|
955
|
+
loutlier = values[0];
|
956
|
+
routlier = values[vlen-1];
|
736
957
|
} else {
|
737
|
-
|
738
|
-
|
958
|
+
lwhisker = values[0];
|
959
|
+
rwhisker = values[vlen-1];
|
739
960
|
}
|
740
961
|
}
|
741
962
|
|
742
|
-
var unitsize = canvas_width / (maxvalue-minvalue+1)
|
743
|
-
|
744
|
-
if (options.showOutliers) {
|
745
|
-
canvas_left = Math.ceil(options.spotRadius);
|
746
|
-
canvas_width -= 2*Math.ceil(options.spotRadius);
|
747
|
-
|
748
|
-
if (loutlier < lwhisker)
|
749
|
-
target.drawCircle((loutlier-minvalue)*unitsize+canvas_left, canvas_height/2, options.spotRadius, options.outlierLineColor, options.outlierFillColor);
|
750
|
-
|
751
|
-
|
963
|
+
var unitsize = canvas_width / (maxvalue-minvalue+1),
|
964
|
+
canvas_left = 0;
|
965
|
+
if (options.get('showOutliers')) {
|
966
|
+
canvas_left = Math.ceil(options.get('spotRadius'));
|
967
|
+
canvas_width -= 2*Math.ceil(options.get('spotRadius'));
|
968
|
+
unitsize = canvas_width / (maxvalue-minvalue+1);
|
969
|
+
if (loutlier < lwhisker) {
|
970
|
+
target.drawCircle((loutlier-minvalue)*unitsize+canvas_left, canvas_height/2, options.get('spotRadius'), options.get('outlierLineColor'), options.get('outlierFillColor'));
|
971
|
+
}
|
972
|
+
if (routlier > rwhisker) {
|
973
|
+
target.drawCircle((routlier-minvalue)*unitsize+canvas_left, canvas_height/2, options.get('spotRadius'), options.get('outlierLineColor'), options.get('outlierFillColor'));
|
974
|
+
}
|
752
975
|
}
|
753
976
|
|
754
977
|
// box
|
@@ -757,54 +980,54 @@
|
|
757
980
|
Math.round(canvas_height*0.1),
|
758
981
|
Math.round((q3-q1)*unitsize),
|
759
982
|
Math.round(canvas_height*0.8),
|
760
|
-
options.boxLineColor,
|
761
|
-
options.boxFillColor);
|
983
|
+
options.get('boxLineColor'),
|
984
|
+
options.get('boxFillColor'));
|
762
985
|
// left whisker
|
763
986
|
target.drawLine(
|
764
987
|
Math.round((lwhisker-minvalue)*unitsize+canvas_left),
|
765
988
|
Math.round(canvas_height/2),
|
766
989
|
Math.round((q1-minvalue)*unitsize+canvas_left),
|
767
990
|
Math.round(canvas_height/2),
|
768
|
-
options.lineColor);
|
991
|
+
options.get('lineColor'));
|
769
992
|
target.drawLine(
|
770
993
|
Math.round((lwhisker-minvalue)*unitsize+canvas_left),
|
771
994
|
Math.round(canvas_height/4),
|
772
995
|
Math.round((lwhisker-minvalue)*unitsize+canvas_left),
|
773
996
|
Math.round(canvas_height-canvas_height/4),
|
774
|
-
options.whiskerColor);
|
997
|
+
options.get('whiskerColor'));
|
775
998
|
// right whisker
|
776
999
|
target.drawLine(Math.round((rwhisker-minvalue)*unitsize+canvas_left),
|
777
1000
|
Math.round(canvas_height/2),
|
778
1001
|
Math.round((q3-minvalue)*unitsize+canvas_left),
|
779
1002
|
Math.round(canvas_height/2),
|
780
|
-
options.lineColor);
|
1003
|
+
options.get('lineColor'));
|
781
1004
|
target.drawLine(
|
782
1005
|
Math.round((rwhisker-minvalue)*unitsize+canvas_left),
|
783
1006
|
Math.round(canvas_height/4),
|
784
1007
|
Math.round((rwhisker-minvalue)*unitsize+canvas_left),
|
785
1008
|
Math.round(canvas_height-canvas_height/4),
|
786
|
-
options.whiskerColor);
|
1009
|
+
options.get('whiskerColor'));
|
787
1010
|
// median line
|
788
1011
|
target.drawLine(
|
789
1012
|
Math.round((q2-minvalue)*unitsize+canvas_left),
|
790
1013
|
Math.round(canvas_height*0.1),
|
791
1014
|
Math.round((q2-minvalue)*unitsize+canvas_left),
|
792
1015
|
Math.round(canvas_height*0.9),
|
793
|
-
options.medianColor);
|
794
|
-
if (options.target) {
|
795
|
-
var size = Math.ceil(options.spotRadius);
|
1016
|
+
options.get('medianColor'));
|
1017
|
+
if (options.get('target')) {
|
1018
|
+
var size = Math.ceil(options.get('spotRadius'));
|
796
1019
|
target.drawLine(
|
797
|
-
Math.round((options.target-minvalue)*unitsize+canvas_left),
|
1020
|
+
Math.round((options.get('target')-minvalue)*unitsize+canvas_left),
|
798
1021
|
Math.round((canvas_height/2)-size),
|
799
|
-
Math.round((options.target-minvalue)*unitsize+canvas_left),
|
1022
|
+
Math.round((options.get('target')-minvalue)*unitsize+canvas_left),
|
800
1023
|
Math.round((canvas_height/2)+size),
|
801
|
-
options.targetColor);
|
1024
|
+
options.get('targetColor'));
|
802
1025
|
target.drawLine(
|
803
|
-
Math.round((options.target-minvalue)*unitsize+canvas_left-size),
|
1026
|
+
Math.round((options.get('target')-minvalue)*unitsize+canvas_left-size),
|
804
1027
|
Math.round(canvas_height/2),
|
805
|
-
Math.round((options.target-minvalue)*unitsize+canvas_left+size),
|
1028
|
+
Math.round((options.get('target')-minvalue)*unitsize+canvas_left+size),
|
806
1029
|
Math.round(canvas_height/2),
|
807
|
-
options.targetColor);
|
1030
|
+
options.get('targetColor'));
|
808
1031
|
}
|
809
1032
|
} else {
|
810
1033
|
// Remove the tag contents if sparklines aren't supported
|
@@ -813,39 +1036,30 @@
|
|
813
1036
|
};
|
814
1037
|
|
815
1038
|
|
816
|
-
// IE doesn't provide an indexOf method for arrays :-(
|
817
|
-
if (!Array.prototype.indexOf) {
|
818
|
-
Array.prototype.indexOf = function(entry) {
|
819
|
-
for(var i=0, vlen=this.length; i<vlen; i++) {
|
820
|
-
if (this[i] == entry)
|
821
|
-
return i;
|
822
|
-
}
|
823
|
-
return -1;
|
824
|
-
}
|
825
|
-
}
|
826
|
-
|
827
1039
|
// Setup a very simple "virtual canvas" to make drawing the few shapes we need easier
|
828
1040
|
// This is accessible as $(foo).simpledraw()
|
829
1041
|
|
830
|
-
if ($.browser.msie && !document.namespaces
|
1042
|
+
if ($.browser.msie && !document.namespaces.v) {
|
831
1043
|
document.namespaces.add('v', 'urn:schemas-microsoft-com:vml', '#default#VML');
|
832
1044
|
}
|
833
1045
|
|
834
|
-
if ($.browser.hasCanvas
|
1046
|
+
if ($.browser.hasCanvas === undefined) {
|
835
1047
|
var t = document.createElement('canvas');
|
836
|
-
$.browser.hasCanvas = t.getContext
|
1048
|
+
$.browser.hasCanvas = t.getContext!==undefined;
|
837
1049
|
}
|
838
1050
|
|
839
|
-
|
1051
|
+
VCanvas_base = function(width, height, target) {
|
840
1052
|
};
|
841
1053
|
|
842
|
-
|
1054
|
+
VCanvas_base.prototype = {
|
843
1055
|
init : function(width, height, target) {
|
844
1056
|
this.width = width;
|
845
1057
|
this.height = height;
|
846
1058
|
this.target = target;
|
847
|
-
if (target[0])
|
848
|
-
|
1059
|
+
if (target[0]) {
|
1060
|
+
target=target[0];
|
1061
|
+
}
|
1062
|
+
target.VCanvas = this;
|
849
1063
|
},
|
850
1064
|
|
851
1065
|
drawShape : function(path, lineColor, fillColor, lineWidth) {
|
@@ -877,18 +1091,20 @@
|
|
877
1091
|
}
|
878
1092
|
};
|
879
1093
|
|
880
|
-
|
1094
|
+
VCanvas_canvas = function(width, height, target) {
|
881
1095
|
return this.init(width, height, target);
|
882
1096
|
};
|
883
1097
|
|
884
|
-
|
885
|
-
_super :
|
1098
|
+
VCanvas_canvas.prototype = $.extend(new VCanvas_base(), {
|
1099
|
+
_super : VCanvas_base.prototype,
|
886
1100
|
|
887
1101
|
init : function(width, height, target) {
|
888
1102
|
this._super.init(width, height, target);
|
889
1103
|
this.canvas = document.createElement('canvas');
|
890
|
-
if (target[0])
|
891
|
-
|
1104
|
+
if (target[0]) {
|
1105
|
+
target=target[0];
|
1106
|
+
}
|
1107
|
+
target.VCanvas = this;
|
892
1108
|
$(this.canvas).css({ display:'inline-block', width:width, height:height, verticalAlign:'top' });
|
893
1109
|
this._insert(this.canvas, target);
|
894
1110
|
this.pixel_height = $(this.canvas).height();
|
@@ -900,11 +1116,13 @@
|
|
900
1116
|
|
901
1117
|
_getContext : function(lineColor, fillColor, lineWidth) {
|
902
1118
|
var context = this.canvas.getContext('2d');
|
903
|
-
if (lineColor
|
1119
|
+
if (lineColor !== undefined) {
|
904
1120
|
context.strokeStyle = lineColor;
|
905
|
-
|
906
|
-
|
1121
|
+
}
|
1122
|
+
context.lineWidth = lineWidth===undefined ? 1 : lineWidth;
|
1123
|
+
if (fillColor !== undefined) {
|
907
1124
|
context.fillStyle = fillColor;
|
1125
|
+
}
|
908
1126
|
return context;
|
909
1127
|
},
|
910
1128
|
|
@@ -915,10 +1133,10 @@
|
|
915
1133
|
for(var i=1, plen=path.length; i<plen; i++) {
|
916
1134
|
context.lineTo(path[i][0]+0.5, path[i][1]+0.5); // the 0.5 offset gives us crisp pixel-width lines
|
917
1135
|
}
|
918
|
-
if (lineColor
|
1136
|
+
if (lineColor !== undefined) {
|
919
1137
|
context.stroke();
|
920
1138
|
}
|
921
|
-
if (fillColor
|
1139
|
+
if (fillColor !== undefined) {
|
922
1140
|
context.fill();
|
923
1141
|
}
|
924
1142
|
},
|
@@ -927,10 +1145,10 @@
|
|
927
1145
|
var context = this._getContext(lineColor, fillColor);
|
928
1146
|
context.beginPath();
|
929
1147
|
context.arc(x, y, radius, 0, 2*Math.PI, false);
|
930
|
-
if (lineColor
|
1148
|
+
if (lineColor !== undefined) {
|
931
1149
|
context.stroke();
|
932
1150
|
}
|
933
|
-
if (fillColor
|
1151
|
+
if (fillColor !== undefined) {
|
934
1152
|
context.fill();
|
935
1153
|
}
|
936
1154
|
},
|
@@ -942,7 +1160,7 @@
|
|
942
1160
|
context.arc(x, y, radius, startAngle, endAngle, false);
|
943
1161
|
context.lineTo(x, y);
|
944
1162
|
context.closePath();
|
945
|
-
if (lineColor
|
1163
|
+
if (lineColor !== undefined) {
|
946
1164
|
context.stroke();
|
947
1165
|
}
|
948
1166
|
if (fillColor) {
|
@@ -956,26 +1174,28 @@
|
|
956
1174
|
|
957
1175
|
});
|
958
1176
|
|
959
|
-
|
1177
|
+
VCanvas_vml = function(width, height, target) {
|
960
1178
|
return this.init(width, height, target);
|
961
1179
|
};
|
962
1180
|
|
963
|
-
|
964
|
-
_super :
|
1181
|
+
VCanvas_vml.prototype = $.extend(new VCanvas_base(), {
|
1182
|
+
_super : VCanvas_base.prototype,
|
965
1183
|
|
966
1184
|
init : function(width, height, target) {
|
967
1185
|
this._super.init(width, height, target);
|
968
|
-
if (target[0])
|
969
|
-
|
1186
|
+
if (target[0]) {
|
1187
|
+
target=target[0];
|
1188
|
+
}
|
1189
|
+
target.VCanvas = this;
|
970
1190
|
this.canvas = document.createElement('span');
|
971
1191
|
$(this.canvas).css({ display:'inline-block', position: 'relative', overflow:'hidden', width:width, height:height, margin:'0px', padding:'0px', verticalAlign: 'top'});
|
972
1192
|
this._insert(this.canvas, target);
|
973
1193
|
this.pixel_height = $(this.canvas).height();
|
974
1194
|
this.pixel_width = $(this.canvas).width();
|
975
1195
|
this.canvas.width = this.pixel_width;
|
976
|
-
this.canvas.height = this.pixel_height
|
977
|
-
var groupel = '<v:group coordorigin="0 0" coordsize="'+this.pixel_width+' '+this.pixel_height+'"'
|
978
|
-
|
1196
|
+
this.canvas.height = this.pixel_height;
|
1197
|
+
var groupel = '<v:group coordorigin="0 0" coordsize="'+this.pixel_width+' '+this.pixel_height+'"' +
|
1198
|
+
' style="position:absolute;top:0;left:0;width:'+this.pixel_width+'px;height='+this.pixel_height+'px;"></v:group>';
|
979
1199
|
this.canvas.insertAdjacentHTML('beforeEnd', groupel);
|
980
1200
|
this.group = $(this.canvas).children()[0];
|
981
1201
|
},
|
@@ -986,28 +1206,28 @@
|
|
986
1206
|
vpath[i] = ''+(path[i][0])+','+(path[i][1]);
|
987
1207
|
}
|
988
1208
|
var initial = vpath.splice(0,1);
|
989
|
-
lineWidth = lineWidth
|
990
|
-
var stroke = lineColor
|
991
|
-
var fill = fillColor
|
1209
|
+
lineWidth = lineWidth === undefined ? 1 : lineWidth;
|
1210
|
+
var stroke = lineColor === undefined ? ' stroked="false" ' : ' strokeWeight="'+lineWidth+'" strokeColor="'+lineColor+'" ';
|
1211
|
+
var fill = fillColor === undefined ? ' filled="false"' : ' fillColor="'+fillColor+'" filled="true" ';
|
992
1212
|
var closed = vpath[0] == vpath[vpath.length-1] ? 'x ' : '';
|
993
|
-
var vel = '<v:shape coordorigin="0 0" coordsize="'+this.pixel_width+' '+this.pixel_height+'" '
|
994
|
-
|
995
|
-
|
996
|
-
|
997
|
-
|
998
|
-
|
1213
|
+
var vel = '<v:shape coordorigin="0 0" coordsize="'+this.pixel_width+' '+this.pixel_height+'" ' +
|
1214
|
+
stroke +
|
1215
|
+
fill +
|
1216
|
+
' style="position:absolute;left:0px;top:0px;height:'+this.pixel_height+'px;width:'+this.pixel_width+'px;padding:0px;margin:0px;" ' +
|
1217
|
+
' path="m '+initial+' l '+vpath.join(', ')+' '+closed+'e">' +
|
1218
|
+
' </v:shape>';
|
999
1219
|
this.group.insertAdjacentHTML('beforeEnd', vel);
|
1000
1220
|
},
|
1001
1221
|
|
1002
1222
|
drawCircle : function(x, y, radius, lineColor, fillColor) {
|
1003
1223
|
x -= radius+1;
|
1004
1224
|
y -= radius+1;
|
1005
|
-
var stroke = lineColor
|
1006
|
-
var fill = fillColor
|
1007
|
-
var vel = '<v:oval '
|
1008
|
-
+
|
1009
|
-
+
|
1010
|
-
|
1225
|
+
var stroke = lineColor === undefined ? ' stroked="false" ' : ' strokeWeight="1" strokeColor="'+lineColor+'" ';
|
1226
|
+
var fill = fillColor === undefined ? ' filled="false"' : ' fillColor="'+fillColor+'" filled="true" ';
|
1227
|
+
var vel = '<v:oval ' +
|
1228
|
+
stroke +
|
1229
|
+
fill +
|
1230
|
+
' style="position:absolute;top:'+y+'px; left:'+x+'px; width:'+(radius*2)+'px; height:'+(radius*2)+'px"></v:oval>';
|
1011
1231
|
this.group.insertAdjacentHTML('beforeEnd', vel);
|
1012
1232
|
|
1013
1233
|
},
|
@@ -1027,18 +1247,19 @@
|
|
1027
1247
|
var endy = y + Math.round(Math.sin(endAngle) * radius);
|
1028
1248
|
|
1029
1249
|
// Prevent very small slices from being mistaken as a whole pie
|
1030
|
-
if (startx==endx && starty==endy && (endAngle-startAngle) < Math.PI)
|
1250
|
+
if (startx==endx && starty==endy && (endAngle-startAngle) < Math.PI) {
|
1031
1251
|
return;
|
1252
|
+
}
|
1032
1253
|
|
1033
1254
|
var vpath = [ x-radius, y-radius, x+radius, y+radius, startx, starty, endx, endy ];
|
1034
|
-
var stroke = lineColor
|
1035
|
-
var fill = fillColor
|
1036
|
-
var vel = '<v:shape coordorigin="0 0" coordsize="'+this.pixel_width+' '+this.pixel_height+'" '
|
1037
|
-
|
1038
|
-
|
1039
|
-
|
1040
|
-
|
1041
|
-
|
1255
|
+
var stroke = lineColor === undefined ? ' stroked="false" ' : ' strokeWeight="1" strokeColor="'+lineColor+'" ';
|
1256
|
+
var fill = fillColor === undefined ? ' filled="false"' : ' fillColor="'+fillColor+'" filled="true" ';
|
1257
|
+
var vel = '<v:shape coordorigin="0 0" coordsize="'+this.pixel_width+' '+this.pixel_height+'" ' +
|
1258
|
+
stroke +
|
1259
|
+
fill +
|
1260
|
+
' style="position:absolute;left:0px;top:0px;height:'+this.pixel_height+'px;width:'+this.pixel_width+'px;padding:0px;margin:0px;" ' +
|
1261
|
+
' path="m '+x+','+y+' wa '+vpath.join(', ')+' x e">' +
|
1262
|
+
' </v:shape>';
|
1042
1263
|
this.group.insertAdjacentHTML('beforeEnd', vel);
|
1043
1264
|
},
|
1044
1265
|
|