compass-jquery-plugin 0.3.0.beta.1 → 0.3.0.beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION.yml +1 -1
- data/compass-jquery-plugin.gemspec +2 -2
- data/gem_tasks/jrails13.rake +0 -1
- data/gem_tasks/jrails14.rake +1 -2
- data/lib/jquery.ui.rb +2 -2
- data/templates/dynatree/jquery.dynatree.js +2036 -2036
- data/templates/dynatree/jquery.dynatree.min.js +59 -59
- data/templates/dynatree/jquery.ui/dynatree.aero.scss +144 -144
- data/templates/dynatree/jquery.ui/dynatree.aqua.scss +144 -144
- data/templates/dynatree/jquery.ui/dynatree.crystal.scss +144 -144
- data/templates/dynatree/jquery.ui/dynatree.xp.scss +239 -239
- data/templates/dynatree/manifest.rb +127 -127
- data/templates/jqgrid/config/initializers/jqgrid.rb +2 -2
- data/templates/jqgrid/i18n/jqgrid/locale-bg.min.js +15 -15
- data/templates/jqgrid/i18n/jqgrid/locale-bg1251.min.js +15 -15
- data/templates/jqgrid/i18n/jqgrid/locale-cat.min.js +7 -7
- data/templates/jqgrid/i18n/jqgrid/locale-cn.min.js +8 -8
- data/templates/jqgrid/i18n/jqgrid/locale-cs.min.js +8 -8
- data/templates/jqgrid/i18n/jqgrid/locale-de.min.js +7 -7
- data/templates/jqgrid/i18n/jqgrid/locale-dk.min.js +6 -6
- data/templates/jqgrid/i18n/jqgrid/locale-el.min.js +13 -13
- data/templates/jqgrid/i18n/jqgrid/locale-en.min.js +6 -6
- data/templates/jqgrid/i18n/jqgrid/locale-fa.min.js +12 -12
- data/templates/jqgrid/i18n/jqgrid/locale-fi.min.js +6 -6
- data/templates/jqgrid/i18n/jqgrid/locale-fr.js +126 -126
- data/templates/jqgrid/i18n/jqgrid/locale-fr.min.js +7 -7
- data/templates/jqgrid/i18n/jqgrid/locale-he.min.js +13 -13
- data/templates/jqgrid/i18n/jqgrid/locale-is.min.js +7 -7
- data/templates/jqgrid/i18n/jqgrid/locale-it.min.js +7 -7
- data/templates/jqgrid/i18n/jqgrid/locale-ja.min.js +10 -10
- data/templates/jqgrid/i18n/jqgrid/locale-nl.min.js +6 -6
- data/templates/jqgrid/i18n/jqgrid/locale-no.min.js +6 -6
- data/templates/jqgrid/i18n/jqgrid/locale-pl.min.js +7 -7
- data/templates/jqgrid/i18n/jqgrid/locale-pt-br.min.js +7 -7
- data/templates/jqgrid/i18n/jqgrid/locale-pt.min.js +7 -7
- data/templates/jqgrid/i18n/jqgrid/locale-ro.min.js +8 -8
- data/templates/jqgrid/i18n/jqgrid/locale-ru.min.js +16 -16
- data/templates/jqgrid/i18n/jqgrid/locale-sk.js +127 -127
- data/templates/jqgrid/i18n/jqgrid/locale-sk.min.js +8 -8
- data/templates/jqgrid/i18n/jqgrid/locale-sp.min.js +7 -7
- data/templates/jqgrid/i18n/jqgrid/locale-sv.min.js +7 -7
- data/templates/jqgrid/i18n/jqgrid/locale-tr.min.js +7 -7
- data/templates/jqgrid/i18n/jqgrid/locale-ua.min.js +16 -16
- data/templates/jqgrid/jquery.jqGrid.js +10477 -10471
- data/templates/jqgrid/jquery.jqGrid.min.js +430 -430
- data/templates/jqgrid/jquery.ui/jqGrid.scss +669 -669
- data/templates/jqgrid/manifest.rb +66 -66
- data/templates/jqtouch/jqtouch/iphone-emulator.scss +21 -21
- data/templates/jqtouch/jqtouch/jqt.apple.scss +584 -584
- data/templates/jqtouch/jqtouch/jqt.jqt.scss +528 -528
- data/templates/jqtouch/jqtouch/jqtouch.scss +310 -310
- data/templates/jqtouch/jquery.jqtouch.js +1026 -1026
- data/templates/jqtouch/jquery.jqtouch.min.js +26 -26
- data/templates/jqtouch/manifest.rb +52 -52
- data/templates/jrails-1.3/config/initializers/jrails.rb +28 -28
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ar.js +19 -19
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ar.min.js +4 -4
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-bg.js +20 -20
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-bg.min.js +4 -4
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ca.js +18 -18
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ca.min.js +2 -2
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-cs.js +19 -19
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-cs.min.js +2 -2
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-da.js +19 -19
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-da.min.js +2 -2
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-de.js +19 -19
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-de.min.js +2 -2
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-el.js +18 -18
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-el.min.js +4 -4
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-eo.js +19 -19
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-eo.min.js +2 -2
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-es.js +18 -18
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-es.min.js +2 -2
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-fa.js +18 -18
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-fa.min.js +3 -3
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-fi.js +19 -19
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-fi.min.js +2 -2
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-fr.js +18 -18
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-fr.min.js +2 -2
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-he.js +19 -19
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-he.min.js +3 -3
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-hr.js +18 -18
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-hr.min.js +2 -2
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-hu.js +19 -19
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-hu.min.js +2 -2
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-hy.js +18 -18
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-hy.min.js +4 -4
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-id.js +18 -18
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-id.min.js +2 -2
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-is.js +18 -18
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-is.min.js +2 -2
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-it.js +19 -19
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-it.min.js +2 -2
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ja.js +19 -19
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ja.min.js +2 -2
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ko.js +18 -18
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ko.min.js +2 -2
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-lt.js +18 -18
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-lt.min.js +2 -2
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-lv.js +18 -18
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-lv.min.js +2 -2
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ms.js +18 -18
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ms.min.js +2 -2
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-nl.js +18 -18
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-nl.min.js +2 -2
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-no.js +19 -19
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-no.min.js +2 -2
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-pl.js +19 -19
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-pl.min.js +2 -2
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-pt-BR.js +18 -18
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-pt-BR.min.js +2 -2
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ro.js +22 -22
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ro.min.js +2 -2
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ru.js +18 -18
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ru.min.js +4 -4
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sk.js +19 -19
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sk.min.js +2 -2
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sl.js +20 -20
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sl.min.js +2 -2
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sq.js +19 -19
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sq.min.js +2 -2
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sr-SR.js +19 -19
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sr-SR.min.js +2 -2
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sr.js +19 -19
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sr.min.js +3 -3
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sv.js +19 -19
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sv.min.js +2 -2
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-th.js +18 -18
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-th.min.js +4 -4
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-tr.js +18 -18
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-tr.min.js +2 -2
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-uk.js +24 -24
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-uk.min.js +4 -4
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-zh-CN.js +19 -19
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-zh-CN.min.js +2 -2
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-zh-TW.js +19 -19
- data/templates/jrails-1.3/i18n/jquery.ui/datepicker-zh-TW.min.js +2 -2
- data/templates/jrails-1.3/jquery-1.3.2.js +7637 -7637
- data/templates/jrails-1.3/jquery-1.3.2.min.js +178 -178
- data/templates/jrails-1.3/jquery-ui-1.7.2.js +18316 -18316
- data/templates/jrails-1.3/jquery-ui-1.7.2.min.js +688 -688
- data/templates/jrails-1.3/jquery.contextMenu.js +210 -210
- data/templates/jrails-1.3/jquery.contextMenu.min.js +8 -8
- data/templates/jrails-1.3/jquery.haml.js +293 -293
- data/templates/jrails-1.3/jquery.haml.min.js +5 -5
- data/templates/jrails-1.3/jquery.pngFix.js +10 -10
- data/templates/jrails-1.3/jquery.pngFix.min.js +2 -2
- data/templates/jrails-1.3/jquery.themeswitchertool.js +190 -190
- data/templates/jrails-1.3/jquery.themeswitchertool.min.js +8 -8
- data/templates/jrails-1.3/jquery.ui/_theme.scss +1281 -1281
- data/templates/jrails-1.3/jquery.ui/base.scss +85 -85
- data/templates/jrails-1.3/jquery.ui/black-tie.scss +85 -85
- data/templates/jrails-1.3/jquery.ui/blitzer.scss +85 -85
- data/templates/jrails-1.3/jquery.ui/contextMenu.scss +49 -49
- data/templates/jrails-1.3/jquery.ui/cupertino.scss +85 -85
- data/templates/jrails-1.3/jquery.ui/dark-hive.scss +85 -85
- data/templates/jrails-1.3/jquery.ui/dot-luv.scss +85 -85
- data/templates/jrails-1.3/jquery.ui/eggplant.scss +85 -85
- data/templates/jrails-1.3/jquery.ui/excite-bike.scss +85 -85
- data/templates/jrails-1.3/jquery.ui/flick.scss +85 -85
- data/templates/jrails-1.3/jquery.ui/hot-sneaks.scss +85 -85
- data/templates/jrails-1.3/jquery.ui/humanity.scss +85 -85
- data/templates/jrails-1.3/jquery.ui/le-frog.scss +85 -85
- data/templates/jrails-1.3/jquery.ui/mint-choc.scss +85 -85
- data/templates/jrails-1.3/jquery.ui/overcast.scss +85 -85
- data/templates/jrails-1.3/jquery.ui/pepper-grinder.scss +85 -85
- data/templates/jrails-1.3/jquery.ui/redmond.scss +85 -85
- data/templates/jrails-1.3/jquery.ui/smoothness.scss +85 -85
- data/templates/jrails-1.3/jquery.ui/south-street.scss +85 -85
- data/templates/jrails-1.3/jquery.ui/sunny.scss +85 -85
- data/templates/jrails-1.3/jquery.ui/swanky-purse.scss +85 -85
- data/templates/jrails-1.3/jquery.ui/trontastic.scss +85 -85
- data/templates/jrails-1.3/jquery.ui/ui-darkness.scss +85 -85
- data/templates/jrails-1.3/jquery.ui/ui-lightness.scss +85 -85
- data/templates/jrails-1.3/jquery.ui/vader.scss +85 -85
- data/templates/jrails-1.3/jrails.js +197 -197
- data/templates/jrails-1.3/jrails.min.js +8 -8
- data/templates/jrails-1.3/manifest.rb +496 -496
- data/templates/jrails-1.4/config/initializers/jrails.rb +30 -30
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-af.js +23 -23
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-af.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ar.js +23 -23
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ar.min.js +4 -4
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-az.js +22 -22
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-az.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-bg.js +24 -24
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-bg.min.js +4 -4
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-bs.js +22 -22
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-bs.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ca.js +22 -22
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ca.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-cs.js +23 -23
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-cs.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-da.js +23 -23
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-da.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-de.js +23 -23
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-de.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-el.js +22 -22
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-el.min.js +4 -4
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-en-GB.js +23 -23
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-en-GB.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-eo.js +23 -23
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-eo.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-es.js +22 -22
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-es.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-et.js +22 -22
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-et.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-eu.js +22 -22
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-eu.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-fa.js +22 -22
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-fa.min.js +3 -3
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-fi.js +23 -23
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-fi.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-fo.js +23 -23
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-fo.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-fr-CH.js +22 -22
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-fr-CH.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-fr.js +22 -22
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-fr.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-he.js +23 -23
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-he.min.js +3 -3
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-hr.js +22 -22
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-hr.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-hu.js +23 -23
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-hu.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-hy.js +22 -22
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-hy.min.js +4 -4
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-id.js +22 -22
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-id.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-is.js +22 -22
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-is.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-it.js +23 -23
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-it.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ja.js +22 -22
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ja.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ko.js +22 -22
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ko.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-lt.js +22 -22
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-lt.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-lv.js +22 -22
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-lv.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ms.js +22 -22
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ms.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-nl.js +22 -22
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-nl.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-no.js +23 -23
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-no.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-pl.js +23 -23
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-pl.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-pt-BR.js +22 -22
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-pt-BR.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ro.js +26 -26
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ro.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ru.js +22 -22
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ru.min.js +4 -4
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sk.js +23 -23
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sk.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sl.js +24 -24
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sl.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sq.js +23 -23
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sq.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sr-SR.js +23 -23
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sr-SR.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sr.js +23 -23
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sr.min.js +4 -4
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sv.js +23 -23
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sv.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ta.js +23 -23
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ta.min.js +4 -4
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-th.js +22 -22
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-th.min.js +4 -4
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-tr.js +22 -22
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-tr.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-uk.js +22 -22
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-uk.min.js +4 -4
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-vi.js +23 -23
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-vi.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-zh-CN.js +23 -23
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-zh-CN.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-zh-HK.js +23 -23
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-zh-HK.min.js +2 -2
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-zh-TW.js +23 -23
- data/templates/jrails-1.4/i18n/jquery.ui/datepicker-zh-TW.min.js +2 -2
- data/templates/jrails-1.4/jquery-1.4.2.js +9501 -9501
- data/templates/jrails-1.4/jquery-1.4.2.min.js +210 -210
- data/templates/jrails-1.4/jquery-ui-1.8.js +21904 -21904
- data/templates/jrails-1.4/jquery-ui-1.8.min.js +766 -766
- data/templates/jrails-1.4/jquery.bgiframe.js +9 -9
- data/templates/jrails-1.4/jquery.bgiframe.min.js +2 -2
- data/templates/jrails-1.4/jquery.compat-1.3.js +291 -291
- data/templates/jrails-1.4/jquery.compat-1.3.min.js +6 -6
- data/templates/jrails-1.4/jquery.contextMenu.js +210 -210
- data/templates/jrails-1.4/jquery.contextMenu.min.js +8 -8
- data/templates/jrails-1.4/jquery.haml.js +293 -293
- data/templates/jrails-1.4/jquery.haml.min.js +5 -5
- data/templates/jrails-1.4/jquery.metadata.js +121 -121
- data/templates/jrails-1.4/jquery.metadata.min.js +2 -2
- data/templates/jrails-1.4/jquery.pngFix.js +10 -10
- data/templates/jrails-1.4/jquery.pngFix.min.js +2 -2
- data/templates/jrails-1.4/jquery.themeswitchertool.js +190 -190
- data/templates/jrails-1.4/jquery.themeswitchertool.min.js +8 -8
- data/templates/jrails-1.4/jquery.ui/_theme.scss +1433 -1433
- data/templates/jrails-1.4/jquery.ui/base.scss +90 -90
- data/templates/jrails-1.4/jquery.ui/black-tie.scss +90 -90
- data/templates/jrails-1.4/jquery.ui/blitzer.scss +90 -90
- data/templates/jrails-1.4/jquery.ui/contextMenu.scss +49 -49
- data/templates/jrails-1.4/jquery.ui/cupertino.scss +90 -90
- data/templates/jrails-1.4/jquery.ui/dark-hive.scss +90 -90
- data/templates/jrails-1.4/jquery.ui/dot-luv.scss +90 -90
- data/templates/jrails-1.4/jquery.ui/eggplant.scss +90 -90
- data/templates/jrails-1.4/jquery.ui/excite-bike.scss +90 -90
- data/templates/jrails-1.4/jquery.ui/flick.scss +90 -90
- data/templates/jrails-1.4/jquery.ui/hot-sneaks.scss +90 -90
- data/templates/jrails-1.4/jquery.ui/humanity.scss +90 -90
- data/templates/jrails-1.4/jquery.ui/le-frog.scss +90 -90
- data/templates/jrails-1.4/jquery.ui/mint-choc.scss +90 -90
- data/templates/jrails-1.4/jquery.ui/overcast.scss +90 -90
- data/templates/jrails-1.4/jquery.ui/pepper-grinder.scss +90 -90
- data/templates/jrails-1.4/jquery.ui/redmond.scss +90 -90
- data/templates/jrails-1.4/jquery.ui/smoothness.scss +90 -90
- data/templates/jrails-1.4/jquery.ui/south-street.scss +90 -90
- data/templates/jrails-1.4/jquery.ui/start.scss +90 -90
- data/templates/jrails-1.4/jquery.ui/sunny.scss +90 -90
- data/templates/jrails-1.4/jquery.ui/swanky-purse.scss +90 -90
- data/templates/jrails-1.4/jquery.ui/trontastic.scss +90 -90
- data/templates/jrails-1.4/jquery.ui/ui-darkness.scss +90 -90
- data/templates/jrails-1.4/jquery.ui/ui-lightness.scss +90 -90
- data/templates/jrails-1.4/jquery.ui/vader.scss +90 -90
- data/templates/jrails-1.4/jrails.js +197 -197
- data/templates/jrails-1.4/jrails.min.js +8 -8
- data/templates/jrails-1.4/manifest.rb +568 -568
- data/templates/ribbon/config/initializers/ribbon.rb +3 -3
- data/templates/ribbon/jquery.ribbon.js +225 -225
- data/templates/ribbon/jquery.ribbon.min.js +14 -14
- data/templates/ribbon/jquery.ui/ribbon.simple.scss +271 -271
- data/templates/ribbon/jquery.ui/ribbon.windows7.scss +454 -454
- data/templates/ribbon/manifest.rb +52 -52
- data/templates/secret_sauce/app/views/ui/_ui_grid_for_without_block.js.haml +144 -144
- data/templates/secret_sauce/config/initializers/secret_sauce.rb +6 -6
- data/templates/secret_sauce/jquery.ui/secret_sauce.scss +33 -33
- data/templates/secret_sauce/manifest.rb +10 -10
- data/templates/secret_sauce/secret_sauce.js +11 -11
- data/templates/secret_sauce/secret_sauce.min.js +1 -1
- metadata +3 -3
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/* Copyright (c) 2006 Brandon Aaron (http://brandonaaron.net)
|
|
2
|
-
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
3
|
-
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
|
|
4
|
-
*
|
|
5
|
-
* $LastChangedDate: 2007-07-21 18:45:56 -0500 (Sat, 21 Jul 2007) $
|
|
6
|
-
* $Rev: 2447 $
|
|
7
|
-
*
|
|
8
|
-
* Version 2.1.1
|
|
9
|
-
*/
|
|
1
|
+
/* Copyright (c) 2006 Brandon Aaron (http://brandonaaron.net)
|
|
2
|
+
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
3
|
+
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
|
|
4
|
+
*
|
|
5
|
+
* $LastChangedDate: 2007-07-21 18:45:56 -0500 (Sat, 21 Jul 2007) $
|
|
6
|
+
* $Rev: 2447 $
|
|
7
|
+
*
|
|
8
|
+
* Version 2.1.1
|
|
9
|
+
*/
|
|
10
10
|
(function($){$.fn.bgIframe=$.fn.bgiframe=function(s){if($.browser.msie&&/6.0/.test(navigator.userAgent)){s=$.extend({top:'auto',left:'auto',width:'auto',height:'auto',opacity:true,src:'javascript:false;'},s||{});var prop=function(n){return n&&n.constructor==Number?n+'px':n;},html='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+s.src+'"'+'style="display:block;position:absolute;z-index:-1;'+(s.opacity!==false?'filter:Alpha(Opacity=\'0\');':'')+'top:'+(s.top=='auto'?'expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+\'px\')':prop(s.top))+';'+'left:'+(s.left=='auto'?'expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+\'px\')':prop(s.left))+';'+'width:'+(s.width=='auto'?'expression(this.parentNode.offsetWidth+\'px\')':prop(s.width))+';'+'height:'+(s.height=='auto'?'expression(this.parentNode.offsetHeight+\'px\')':prop(s.height))+';'+'"/>';return this.each(function(){if($('> iframe.bgiframe',this).length==0)this.insertBefore(document.createElement(html),this.firstChild);});}return this;};})(jQuery);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(function(b){b.fn.bgIframe=b.fn.bgiframe=function(a){if(b.browser.msie&&/6.0/.test(navigator.userAgent)){a=b.extend({top:"auto",left:"auto",width:"auto",height:"auto",opacity:true,src:"javascript:false;"},a||{});var d=function(c){return c&&c.constructor==Number?c+"px":c},e='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+a.src+'"style="display:block;position:absolute;z-index:-1;'+(a.opacity!==false?"filter:Alpha(Opacity='0');":"")+"top:"+(a.top=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+'px')":
|
|
2
|
-
d(a.top))+";left:"+(a.left=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+'px')":d(a.left))+";width:"+(a.width=="auto"?"expression(this.parentNode.offsetWidth+'px')":d(a.width))+";height:"+(a.height=="auto"?"expression(this.parentNode.offsetHeight+'px')":d(a.height))+';"/>';return this.each(function(){b("> iframe.bgiframe",this).length==0&&this.insertBefore(document.createElement(e),this.firstChild)})}return this}})(jQuery);
|
|
1
|
+
(function(b){b.fn.bgIframe=b.fn.bgiframe=function(a){if(b.browser.msie&&/6.0/.test(navigator.userAgent)){a=b.extend({top:"auto",left:"auto",width:"auto",height:"auto",opacity:true,src:"javascript:false;"},a||{});var d=function(c){return c&&c.constructor==Number?c+"px":c},e='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+a.src+'"style="display:block;position:absolute;z-index:-1;'+(a.opacity!==false?"filter:Alpha(Opacity='0');":"")+"top:"+(a.top=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+'px')":
|
|
2
|
+
d(a.top))+";left:"+(a.left=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+'px')":d(a.left))+";width:"+(a.width=="auto"?"expression(this.parentNode.offsetWidth+'px')":d(a.width))+";height:"+(a.height=="auto"?"expression(this.parentNode.offsetHeight+'px')":d(a.height))+';"/>';return this.each(function(){b("> iframe.bgiframe",this).length==0&&this.insertBefore(document.createElement(e),this.firstChild)})}return this}})(jQuery);
|
|
@@ -1,291 +1,291 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Compatibility Plugin for jQuery 1.3 (on top of jQuery 1.4)
|
|
3
|
-
* All code copied from jQuery 1.4
|
|
4
|
-
* By John Resig
|
|
5
|
-
* Dual licensed under MIT and GPL.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
(function(jQuery) {
|
|
9
|
-
|
|
10
|
-
// .add() is no longer equivalent to .concat()
|
|
11
|
-
// Results are now returned in document order
|
|
12
|
-
jQuery.fn.add = function( selector, context ) {
|
|
13
|
-
var set = typeof selector === "string" ?
|
|
14
|
-
jQuery( selector, context || this.context ) :
|
|
15
|
-
jQuery.makeArray( selector );
|
|
16
|
-
|
|
17
|
-
return this.pushStack( jQuery.merge( this.get(), set ) );
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
// clone( true ) now copies over all data in addition to
|
|
21
|
-
// the events
|
|
22
|
-
jQuery.fn.clone = function( events ) {
|
|
23
|
-
// Do the clone
|
|
24
|
-
var ret = this.map(function() {
|
|
25
|
-
if ( !jQuery.support.noCloneEvent && !jQuery.isXMLDoc(this) ) {
|
|
26
|
-
// IE copies events bound via attachEvent when
|
|
27
|
-
// using cloneNode. Calling detachEvent on the
|
|
28
|
-
// clone will also remove the events from the orignal
|
|
29
|
-
// In order to get around this, we use innerHTML.
|
|
30
|
-
// Unfortunately, this means some modifications to
|
|
31
|
-
// attributes in IE that are actually only stored
|
|
32
|
-
// as properties will not be copied (such as the
|
|
33
|
-
// the name attribute on an input).
|
|
34
|
-
var html = this.outerHTML, ownerDocument = this.ownerDocument;
|
|
35
|
-
if ( !html ) {
|
|
36
|
-
var div = ownerDocument.createElement("div");
|
|
37
|
-
div.appendChild( this.cloneNode(true) );
|
|
38
|
-
html = div.innerHTML;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
return jQuery.clean([html.replace(/ jQuery\d+="(?:\d+|null)"/g, "")
|
|
42
|
-
.replace(/^\s+/, "")], ownerDocument)[0];
|
|
43
|
-
} else {
|
|
44
|
-
return this.cloneNode(true);
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
|
|
48
|
-
// Copy the events from the original to the clone
|
|
49
|
-
if ( events === true ) {
|
|
50
|
-
cloneCopyEvent( this, ret );
|
|
51
|
-
cloneCopyEvent( this.find("*"), ret.find("*") );
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
// Return the cloned set
|
|
55
|
-
return ret;
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
function cloneCopyEvent(orig, ret) {
|
|
59
|
-
var i = 0;
|
|
60
|
-
|
|
61
|
-
ret.each(function() {
|
|
62
|
-
if ( this.nodeName !== (orig[i] && orig[i].nodeName) ) {
|
|
63
|
-
return;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
var oldData = jQuery.data( orig[i++] ), events = oldData && oldData.events;
|
|
67
|
-
|
|
68
|
-
if ( events ) {
|
|
69
|
-
for ( var type in events ) {
|
|
70
|
-
for ( var handler in events[ type ] ) {
|
|
71
|
-
jQuery.event.add( this, type, events[ type ][ handler ], events[ type ][ handler ].data );
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
// jQuery.data(elem) no longer returns an ID,
|
|
79
|
-
// returns the data object instead.
|
|
80
|
-
var windowData = {}, uuid = 0;
|
|
81
|
-
|
|
82
|
-
jQuery.data = function( elem, name, data ) {
|
|
83
|
-
if ( elem.nodeName && jQuery.noData[elem.nodeName.toLowerCase()] ) {
|
|
84
|
-
return;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
elem = elem == window ?
|
|
88
|
-
windowData :
|
|
89
|
-
elem;
|
|
90
|
-
|
|
91
|
-
var id = elem[ jQuery.expando ], cache = jQuery.cache, thisCache;
|
|
92
|
-
|
|
93
|
-
// Handle the case where there's no name immediately
|
|
94
|
-
if ( !name && !id ) {
|
|
95
|
-
return null;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Compute a unique ID for the element
|
|
99
|
-
if ( !id ) {
|
|
100
|
-
id = ++uuid;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
// Avoid generating a new cache unless none exists and we
|
|
104
|
-
// want to manipulate it.
|
|
105
|
-
if ( typeof name === "object" ) {
|
|
106
|
-
elem[ jQuery.expando ] = id;
|
|
107
|
-
thisCache = cache[ id ] = jQuery.extend(true, {}, name);
|
|
108
|
-
} else if ( cache[ id ] ) {
|
|
109
|
-
thisCache = cache[ id ];
|
|
110
|
-
} else if ( typeof data === "undefined" ) {
|
|
111
|
-
thisCache = {};
|
|
112
|
-
} else {
|
|
113
|
-
thisCache = cache[ id ] = {};
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
// Prevent overriding the named cache with undefined values
|
|
117
|
-
if ( data !== undefined ) {
|
|
118
|
-
elem[ jQuery.expando ] = id;
|
|
119
|
-
thisCache[ name ] = data;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
return typeof name === "string" ? thisCache[ name ] : id;
|
|
123
|
-
};
|
|
124
|
-
|
|
125
|
-
// jQuery() now returns an empty jQuery set, not jQuery(document)
|
|
126
|
-
|
|
127
|
-
var oldinit = jQuery.fn.init;
|
|
128
|
-
|
|
129
|
-
jQuery.fn.init = function( selector ) {
|
|
130
|
-
if ( selector === undefined ) {
|
|
131
|
-
return jQuery( document );
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
return oldinit.apply( this, arguments );
|
|
135
|
-
};
|
|
136
|
-
|
|
137
|
-
jQuery.fn.init.prototype = oldinit.prototype;
|
|
138
|
-
|
|
139
|
-
// .val("...") on radio and checkbox elements was amgiuous,
|
|
140
|
-
// it only selects on value now (which is much less ambiguous)
|
|
141
|
-
var oldval = jQuery.fn.val;
|
|
142
|
-
|
|
143
|
-
jQuery.fn.val = function( value ) {
|
|
144
|
-
if ( value !== undefined ) {
|
|
145
|
-
var isFunction = jQuery.isFunction(value);
|
|
146
|
-
|
|
147
|
-
return this.each(function(i) {
|
|
148
|
-
var self = jQuery(this), val = value;
|
|
149
|
-
|
|
150
|
-
if ( this.nodeType !== 1 ) {
|
|
151
|
-
return;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
if ( isFunction ) {
|
|
155
|
-
val = value.call(this, i, self.val());
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
// Typecast each time if the value is a Function and the appended
|
|
159
|
-
// value is therefore different each time.
|
|
160
|
-
if ( typeof val === "number" ) {
|
|
161
|
-
val += "";
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
if ( jQuery.isArray(val) && rradiocheck.test( this.type ) ) {
|
|
165
|
-
this.checked = jQuery.inArray( self.val(), val ) >= 0 ||
|
|
166
|
-
jQuery.inArray(this.name, value) >= 0;
|
|
167
|
-
|
|
168
|
-
} else if ( jQuery.nodeName( this, "select" ) ) {
|
|
169
|
-
var values = jQuery.makeArray(val);
|
|
170
|
-
|
|
171
|
-
jQuery( "option", this ).each(function() {
|
|
172
|
-
this.selected = jQuery.inArray( jQuery(this).val(), values ) >= 0 ||
|
|
173
|
-
jQuery.inArray( this.text, values ) >= 0;
|
|
174
|
-
});
|
|
175
|
-
|
|
176
|
-
if ( !values.length ) {
|
|
177
|
-
this.selectedIndex = -1;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
} else {
|
|
181
|
-
this.value = val;
|
|
182
|
-
}
|
|
183
|
-
});
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
return oldval.apply( this, arguments );
|
|
187
|
-
};
|
|
188
|
-
|
|
189
|
-
// jQuery.browser.version now exclusively matches based upon the rendering engine
|
|
190
|
-
jQuery.browser.version = (navigator.userAgent.toLowerCase().match( /.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/ ) || [0,'0'])[1];
|
|
191
|
-
|
|
192
|
-
// jQuery.ajax() is now strict about JSON input (must follow the spec)
|
|
193
|
-
// Also, it auto-executes scripts that have no dataType and have a content-type of "text/javascript"
|
|
194
|
-
jQuery.httpData = function( xhr, type, s ) {
|
|
195
|
-
var ct = xhr.getResponseHeader("content-type") || "",
|
|
196
|
-
xml = type === "xml" || !type && ct.indexOf("xml") >= 0,
|
|
197
|
-
data = xml ? xhr.responseXML : xhr.responseText;
|
|
198
|
-
|
|
199
|
-
if ( xml && data.documentElement.nodeName === "parsererror" ) {
|
|
200
|
-
throw "parsererror";
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
// Allow a pre-filtering function to sanitize the response
|
|
204
|
-
// s is checked to keep backwards compatibility
|
|
205
|
-
if ( s && s.dataFilter ) {
|
|
206
|
-
data = s.dataFilter( data, type );
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
// The filter can actually parse the response
|
|
210
|
-
if ( typeof data === "string" ) {
|
|
211
|
-
// Get the JavaScript object, if JSON is used.
|
|
212
|
-
if ( type === "json" || !type && ct.indexOf("json") >= 0 ) {
|
|
213
|
-
data = (new Function("return " + data))();
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
return data;
|
|
218
|
-
};
|
|
219
|
-
|
|
220
|
-
// Ajax data is now serialized in the PHP/Rails style be default
|
|
221
|
-
jQuery.ajaxSettings.traditional = true;
|
|
222
|
-
|
|
223
|
-
// The internal jQuery.className structure has been removed in
|
|
224
|
-
// favor of the traditional jQuery methods
|
|
225
|
-
jQuery.className = {
|
|
226
|
-
add: function ( elem, classNames ) {
|
|
227
|
-
jQuery( elem ).addClass( classNames );
|
|
228
|
-
},
|
|
229
|
-
remove: function( elem, classNames ) {
|
|
230
|
-
jQuery( elem ).removeClass( classNames );
|
|
231
|
-
},
|
|
232
|
-
has: function( elem, className ) {
|
|
233
|
-
jQuery( elem ).hasClass( className );
|
|
234
|
-
}
|
|
235
|
-
};
|
|
236
|
-
|
|
237
|
-
// jQuery.extend( true, ... ) only works on plain objects and arrays now
|
|
238
|
-
jQuery.extend = jQuery.fn.extend = function() {
|
|
239
|
-
// copy reference to target object
|
|
240
|
-
var target = arguments[0] || {}, i = 1, length = arguments.length, deep = false, options, name, src, copy;
|
|
241
|
-
|
|
242
|
-
// Handle a deep copy situation
|
|
243
|
-
if ( typeof target === "boolean" ) {
|
|
244
|
-
deep = target;
|
|
245
|
-
target = arguments[1] || {};
|
|
246
|
-
// skip the boolean and the target
|
|
247
|
-
i = 2;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
// Handle case when target is a string or something (possible in deep copy)
|
|
251
|
-
if ( typeof target !== "object" && !jQuery.isFunction(target) ) {
|
|
252
|
-
target = {};
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
// extend jQuery itself if only one argument is passed
|
|
256
|
-
if ( length === i ) {
|
|
257
|
-
target = this;
|
|
258
|
-
--i;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
for ( ; i < length; i++ ) {
|
|
262
|
-
// Only deal with non-null/undefined values
|
|
263
|
-
if ( (options = arguments[ i ]) != null ) {
|
|
264
|
-
// Extend the base object
|
|
265
|
-
for ( name in options ) {
|
|
266
|
-
src = target[ name ];
|
|
267
|
-
copy = options[ name ];
|
|
268
|
-
|
|
269
|
-
// Prevent never-ending loop
|
|
270
|
-
if ( target === copy ) {
|
|
271
|
-
continue;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
// Recurse if we're merging object literal values or arrays
|
|
275
|
-
if ( deep && copy && typeof copy === "object" && !copy.nodeType ) {
|
|
276
|
-
target[ name ] = jQuery.extend( deep,
|
|
277
|
-
// Never move original objects, clone them
|
|
278
|
-
src || ( copy.length != null ? [ ] : { } ), copy );
|
|
279
|
-
|
|
280
|
-
// Don't bring in undefined values
|
|
281
|
-
} else if ( copy !== undefined ) {
|
|
282
|
-
target[ name ] = copy;
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
// Return the modified object
|
|
289
|
-
return target;
|
|
290
|
-
};
|
|
291
|
-
})(jQuery);
|
|
1
|
+
/*
|
|
2
|
+
* Compatibility Plugin for jQuery 1.3 (on top of jQuery 1.4)
|
|
3
|
+
* All code copied from jQuery 1.4
|
|
4
|
+
* By John Resig
|
|
5
|
+
* Dual licensed under MIT and GPL.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
(function(jQuery) {
|
|
9
|
+
|
|
10
|
+
// .add() is no longer equivalent to .concat()
|
|
11
|
+
// Results are now returned in document order
|
|
12
|
+
jQuery.fn.add = function( selector, context ) {
|
|
13
|
+
var set = typeof selector === "string" ?
|
|
14
|
+
jQuery( selector, context || this.context ) :
|
|
15
|
+
jQuery.makeArray( selector );
|
|
16
|
+
|
|
17
|
+
return this.pushStack( jQuery.merge( this.get(), set ) );
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
// clone( true ) now copies over all data in addition to
|
|
21
|
+
// the events
|
|
22
|
+
jQuery.fn.clone = function( events ) {
|
|
23
|
+
// Do the clone
|
|
24
|
+
var ret = this.map(function() {
|
|
25
|
+
if ( !jQuery.support.noCloneEvent && !jQuery.isXMLDoc(this) ) {
|
|
26
|
+
// IE copies events bound via attachEvent when
|
|
27
|
+
// using cloneNode. Calling detachEvent on the
|
|
28
|
+
// clone will also remove the events from the orignal
|
|
29
|
+
// In order to get around this, we use innerHTML.
|
|
30
|
+
// Unfortunately, this means some modifications to
|
|
31
|
+
// attributes in IE that are actually only stored
|
|
32
|
+
// as properties will not be copied (such as the
|
|
33
|
+
// the name attribute on an input).
|
|
34
|
+
var html = this.outerHTML, ownerDocument = this.ownerDocument;
|
|
35
|
+
if ( !html ) {
|
|
36
|
+
var div = ownerDocument.createElement("div");
|
|
37
|
+
div.appendChild( this.cloneNode(true) );
|
|
38
|
+
html = div.innerHTML;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
return jQuery.clean([html.replace(/ jQuery\d+="(?:\d+|null)"/g, "")
|
|
42
|
+
.replace(/^\s+/, "")], ownerDocument)[0];
|
|
43
|
+
} else {
|
|
44
|
+
return this.cloneNode(true);
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
// Copy the events from the original to the clone
|
|
49
|
+
if ( events === true ) {
|
|
50
|
+
cloneCopyEvent( this, ret );
|
|
51
|
+
cloneCopyEvent( this.find("*"), ret.find("*") );
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
// Return the cloned set
|
|
55
|
+
return ret;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
function cloneCopyEvent(orig, ret) {
|
|
59
|
+
var i = 0;
|
|
60
|
+
|
|
61
|
+
ret.each(function() {
|
|
62
|
+
if ( this.nodeName !== (orig[i] && orig[i].nodeName) ) {
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
var oldData = jQuery.data( orig[i++] ), events = oldData && oldData.events;
|
|
67
|
+
|
|
68
|
+
if ( events ) {
|
|
69
|
+
for ( var type in events ) {
|
|
70
|
+
for ( var handler in events[ type ] ) {
|
|
71
|
+
jQuery.event.add( this, type, events[ type ][ handler ], events[ type ][ handler ].data );
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
// jQuery.data(elem) no longer returns an ID,
|
|
79
|
+
// returns the data object instead.
|
|
80
|
+
var windowData = {}, uuid = 0;
|
|
81
|
+
|
|
82
|
+
jQuery.data = function( elem, name, data ) {
|
|
83
|
+
if ( elem.nodeName && jQuery.noData[elem.nodeName.toLowerCase()] ) {
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
elem = elem == window ?
|
|
88
|
+
windowData :
|
|
89
|
+
elem;
|
|
90
|
+
|
|
91
|
+
var id = elem[ jQuery.expando ], cache = jQuery.cache, thisCache;
|
|
92
|
+
|
|
93
|
+
// Handle the case where there's no name immediately
|
|
94
|
+
if ( !name && !id ) {
|
|
95
|
+
return null;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
// Compute a unique ID for the element
|
|
99
|
+
if ( !id ) {
|
|
100
|
+
id = ++uuid;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
// Avoid generating a new cache unless none exists and we
|
|
104
|
+
// want to manipulate it.
|
|
105
|
+
if ( typeof name === "object" ) {
|
|
106
|
+
elem[ jQuery.expando ] = id;
|
|
107
|
+
thisCache = cache[ id ] = jQuery.extend(true, {}, name);
|
|
108
|
+
} else if ( cache[ id ] ) {
|
|
109
|
+
thisCache = cache[ id ];
|
|
110
|
+
} else if ( typeof data === "undefined" ) {
|
|
111
|
+
thisCache = {};
|
|
112
|
+
} else {
|
|
113
|
+
thisCache = cache[ id ] = {};
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
// Prevent overriding the named cache with undefined values
|
|
117
|
+
if ( data !== undefined ) {
|
|
118
|
+
elem[ jQuery.expando ] = id;
|
|
119
|
+
thisCache[ name ] = data;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
return typeof name === "string" ? thisCache[ name ] : id;
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
// jQuery() now returns an empty jQuery set, not jQuery(document)
|
|
126
|
+
|
|
127
|
+
var oldinit = jQuery.fn.init;
|
|
128
|
+
|
|
129
|
+
jQuery.fn.init = function( selector ) {
|
|
130
|
+
if ( selector === undefined ) {
|
|
131
|
+
return jQuery( document );
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
return oldinit.apply( this, arguments );
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
jQuery.fn.init.prototype = oldinit.prototype;
|
|
138
|
+
|
|
139
|
+
// .val("...") on radio and checkbox elements was amgiuous,
|
|
140
|
+
// it only selects on value now (which is much less ambiguous)
|
|
141
|
+
var oldval = jQuery.fn.val;
|
|
142
|
+
|
|
143
|
+
jQuery.fn.val = function( value ) {
|
|
144
|
+
if ( value !== undefined ) {
|
|
145
|
+
var isFunction = jQuery.isFunction(value);
|
|
146
|
+
|
|
147
|
+
return this.each(function(i) {
|
|
148
|
+
var self = jQuery(this), val = value;
|
|
149
|
+
|
|
150
|
+
if ( this.nodeType !== 1 ) {
|
|
151
|
+
return;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
if ( isFunction ) {
|
|
155
|
+
val = value.call(this, i, self.val());
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
// Typecast each time if the value is a Function and the appended
|
|
159
|
+
// value is therefore different each time.
|
|
160
|
+
if ( typeof val === "number" ) {
|
|
161
|
+
val += "";
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
if ( jQuery.isArray(val) && rradiocheck.test( this.type ) ) {
|
|
165
|
+
this.checked = jQuery.inArray( self.val(), val ) >= 0 ||
|
|
166
|
+
jQuery.inArray(this.name, value) >= 0;
|
|
167
|
+
|
|
168
|
+
} else if ( jQuery.nodeName( this, "select" ) ) {
|
|
169
|
+
var values = jQuery.makeArray(val);
|
|
170
|
+
|
|
171
|
+
jQuery( "option", this ).each(function() {
|
|
172
|
+
this.selected = jQuery.inArray( jQuery(this).val(), values ) >= 0 ||
|
|
173
|
+
jQuery.inArray( this.text, values ) >= 0;
|
|
174
|
+
});
|
|
175
|
+
|
|
176
|
+
if ( !values.length ) {
|
|
177
|
+
this.selectedIndex = -1;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
} else {
|
|
181
|
+
this.value = val;
|
|
182
|
+
}
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
return oldval.apply( this, arguments );
|
|
187
|
+
};
|
|
188
|
+
|
|
189
|
+
// jQuery.browser.version now exclusively matches based upon the rendering engine
|
|
190
|
+
jQuery.browser.version = (navigator.userAgent.toLowerCase().match( /.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/ ) || [0,'0'])[1];
|
|
191
|
+
|
|
192
|
+
// jQuery.ajax() is now strict about JSON input (must follow the spec)
|
|
193
|
+
// Also, it auto-executes scripts that have no dataType and have a content-type of "text/javascript"
|
|
194
|
+
jQuery.httpData = function( xhr, type, s ) {
|
|
195
|
+
var ct = xhr.getResponseHeader("content-type") || "",
|
|
196
|
+
xml = type === "xml" || !type && ct.indexOf("xml") >= 0,
|
|
197
|
+
data = xml ? xhr.responseXML : xhr.responseText;
|
|
198
|
+
|
|
199
|
+
if ( xml && data.documentElement.nodeName === "parsererror" ) {
|
|
200
|
+
throw "parsererror";
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
// Allow a pre-filtering function to sanitize the response
|
|
204
|
+
// s is checked to keep backwards compatibility
|
|
205
|
+
if ( s && s.dataFilter ) {
|
|
206
|
+
data = s.dataFilter( data, type );
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
// The filter can actually parse the response
|
|
210
|
+
if ( typeof data === "string" ) {
|
|
211
|
+
// Get the JavaScript object, if JSON is used.
|
|
212
|
+
if ( type === "json" || !type && ct.indexOf("json") >= 0 ) {
|
|
213
|
+
data = (new Function("return " + data))();
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
return data;
|
|
218
|
+
};
|
|
219
|
+
|
|
220
|
+
// Ajax data is now serialized in the PHP/Rails style be default
|
|
221
|
+
jQuery.ajaxSettings.traditional = true;
|
|
222
|
+
|
|
223
|
+
// The internal jQuery.className structure has been removed in
|
|
224
|
+
// favor of the traditional jQuery methods
|
|
225
|
+
jQuery.className = {
|
|
226
|
+
add: function ( elem, classNames ) {
|
|
227
|
+
jQuery( elem ).addClass( classNames );
|
|
228
|
+
},
|
|
229
|
+
remove: function( elem, classNames ) {
|
|
230
|
+
jQuery( elem ).removeClass( classNames );
|
|
231
|
+
},
|
|
232
|
+
has: function( elem, className ) {
|
|
233
|
+
jQuery( elem ).hasClass( className );
|
|
234
|
+
}
|
|
235
|
+
};
|
|
236
|
+
|
|
237
|
+
// jQuery.extend( true, ... ) only works on plain objects and arrays now
|
|
238
|
+
jQuery.extend = jQuery.fn.extend = function() {
|
|
239
|
+
// copy reference to target object
|
|
240
|
+
var target = arguments[0] || {}, i = 1, length = arguments.length, deep = false, options, name, src, copy;
|
|
241
|
+
|
|
242
|
+
// Handle a deep copy situation
|
|
243
|
+
if ( typeof target === "boolean" ) {
|
|
244
|
+
deep = target;
|
|
245
|
+
target = arguments[1] || {};
|
|
246
|
+
// skip the boolean and the target
|
|
247
|
+
i = 2;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
// Handle case when target is a string or something (possible in deep copy)
|
|
251
|
+
if ( typeof target !== "object" && !jQuery.isFunction(target) ) {
|
|
252
|
+
target = {};
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
// extend jQuery itself if only one argument is passed
|
|
256
|
+
if ( length === i ) {
|
|
257
|
+
target = this;
|
|
258
|
+
--i;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
for ( ; i < length; i++ ) {
|
|
262
|
+
// Only deal with non-null/undefined values
|
|
263
|
+
if ( (options = arguments[ i ]) != null ) {
|
|
264
|
+
// Extend the base object
|
|
265
|
+
for ( name in options ) {
|
|
266
|
+
src = target[ name ];
|
|
267
|
+
copy = options[ name ];
|
|
268
|
+
|
|
269
|
+
// Prevent never-ending loop
|
|
270
|
+
if ( target === copy ) {
|
|
271
|
+
continue;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
// Recurse if we're merging object literal values or arrays
|
|
275
|
+
if ( deep && copy && typeof copy === "object" && !copy.nodeType ) {
|
|
276
|
+
target[ name ] = jQuery.extend( deep,
|
|
277
|
+
// Never move original objects, clone them
|
|
278
|
+
src || ( copy.length != null ? [ ] : { } ), copy );
|
|
279
|
+
|
|
280
|
+
// Don't bring in undefined values
|
|
281
|
+
} else if ( copy !== undefined ) {
|
|
282
|
+
target[ name ] = copy;
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
// Return the modified object
|
|
289
|
+
return target;
|
|
290
|
+
};
|
|
291
|
+
})(jQuery);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
(function(b){function i(a,c){var f=0;c.each(function(){if(this.nodeName===(a[f]&&a[f].nodeName)){var d=b.data(a[f++]);if(d=d&&d.events)for(var e in d)for(var g in d[e])b.event.add(this,e,d[e][g],d[e][g].data)}})}b.fn.add=function(a,c){a=typeof a==="string"?b(a,c||this.context):b.makeArray(a);return this.pushStack(b.merge(this.get(),a))};b.fn.clone=function(a){var c=this.map(function(){if(!b.support.noCloneEvent&&!b.isXMLDoc(this)){var f=this.outerHTML,d=this.ownerDocument;if(!f){f=d.createElement("div");
|
|
2
|
-
f.appendChild(this.cloneNode(true));f=f.innerHTML}return b.clean([f.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s+/,"")],d)[0]}else return this.cloneNode(true)});if(a===true){i(this,c);i(this.find("*"),c.find("*"))}return c};var l={},m=0;b.data=function(a,c,f){if(!(a.nodeName&&b.noData[a.nodeName.toLowerCase()])){a=a==window?l:a;var d=a[b.expando],e=b.cache;if(!c&&!d)return null;d||(d=++m);if(typeof c==="object"){a[b.expando]=d;e=e[d]=b.extend(true,{},c)}else e=e[d]?e[d]:typeof f==="undefined"?
|
|
3
|
-
{}:(e[d]={});if(f!==undefined){a[b.expando]=d;e[c]=f}return typeof c==="string"?e[c]:d}};var j=b.fn.init;b.fn.init=function(a){if(a===undefined)return b(document);return j.apply(this,arguments)};b.fn.init.prototype=j.prototype;var n=b.fn.val;b.fn.val=function(a){if(a!==undefined){var c=b.isFunction(a);return this.each(function(f){var d=b(this),e=a;if(this.nodeType===1){if(c)e=a.call(this,f,d.val());if(typeof e==="number")e+="";if(b.isArray(e)&&rradiocheck.test(this.type))this.checked=b.inArray(d.val(),
|
|
4
|
-
e)>=0||b.inArray(this.name,a)>=0;else if(b.nodeName(this,"select")){var g=b.makeArray(e);b("option",this).each(function(){this.selected=b.inArray(b(this).val(),g)>=0||b.inArray(this.text,g)>=0});if(!g.length)this.selectedIndex=-1}else this.value=e}})}return n.apply(this,arguments)};b.browser.version=(navigator.userAgent.toLowerCase().match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1];b.httpData=function(a,c,f){var d=a.getResponseHeader("content-type")||"",e=c==="xml"||!c&&d.indexOf("xml")>=0;a=
|
|
5
|
-
e?a.responseXML:a.responseText;if(e&&a.documentElement.nodeName==="parsererror")throw"parsererror";if(f&&f.dataFilter)a=f.dataFilter(a,c);if(typeof a==="string")if(c==="json"||!c&&d.indexOf("json")>=0)a=(new Function("return "+a))();return a};b.ajaxSettings.traditional=true;b.className={add:function(a,c){b(a).addClass(c)},remove:function(a,c){b(a).removeClass(c)},has:function(a,c){b(a).hasClass(c)}};b.extend=b.fn.extend=function(){var a=arguments[0]||{},c=1,f=arguments.length,d=false,e,g,k,h;if(typeof a===
|
|
6
|
-
"boolean"){d=a;a=arguments[1]||{};c=2}if(typeof a!=="object"&&!b.isFunction(a))a={};if(f===c){a=this;--c}for(;c<f;c++)if((e=arguments[c])!=null)for(g in e){k=a[g];h=e[g];if(a!==h)if(d&&h&&typeof h==="object"&&!h.nodeType)a[g]=b.extend(d,k||(h.length!=null?[]:{}),h);else if(h!==undefined)a[g]=h}return a}})(jQuery);
|
|
1
|
+
(function(b){function i(a,c){var f=0;c.each(function(){if(this.nodeName===(a[f]&&a[f].nodeName)){var d=b.data(a[f++]);if(d=d&&d.events)for(var e in d)for(var g in d[e])b.event.add(this,e,d[e][g],d[e][g].data)}})}b.fn.add=function(a,c){a=typeof a==="string"?b(a,c||this.context):b.makeArray(a);return this.pushStack(b.merge(this.get(),a))};b.fn.clone=function(a){var c=this.map(function(){if(!b.support.noCloneEvent&&!b.isXMLDoc(this)){var f=this.outerHTML,d=this.ownerDocument;if(!f){f=d.createElement("div");
|
|
2
|
+
f.appendChild(this.cloneNode(true));f=f.innerHTML}return b.clean([f.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s+/,"")],d)[0]}else return this.cloneNode(true)});if(a===true){i(this,c);i(this.find("*"),c.find("*"))}return c};var l={},m=0;b.data=function(a,c,f){if(!(a.nodeName&&b.noData[a.nodeName.toLowerCase()])){a=a==window?l:a;var d=a[b.expando],e=b.cache;if(!c&&!d)return null;d||(d=++m);if(typeof c==="object"){a[b.expando]=d;e=e[d]=b.extend(true,{},c)}else e=e[d]?e[d]:typeof f==="undefined"?
|
|
3
|
+
{}:(e[d]={});if(f!==undefined){a[b.expando]=d;e[c]=f}return typeof c==="string"?e[c]:d}};var j=b.fn.init;b.fn.init=function(a){if(a===undefined)return b(document);return j.apply(this,arguments)};b.fn.init.prototype=j.prototype;var n=b.fn.val;b.fn.val=function(a){if(a!==undefined){var c=b.isFunction(a);return this.each(function(f){var d=b(this),e=a;if(this.nodeType===1){if(c)e=a.call(this,f,d.val());if(typeof e==="number")e+="";if(b.isArray(e)&&rradiocheck.test(this.type))this.checked=b.inArray(d.val(),
|
|
4
|
+
e)>=0||b.inArray(this.name,a)>=0;else if(b.nodeName(this,"select")){var g=b.makeArray(e);b("option",this).each(function(){this.selected=b.inArray(b(this).val(),g)>=0||b.inArray(this.text,g)>=0});if(!g.length)this.selectedIndex=-1}else this.value=e}})}return n.apply(this,arguments)};b.browser.version=(navigator.userAgent.toLowerCase().match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1];b.httpData=function(a,c,f){var d=a.getResponseHeader("content-type")||"",e=c==="xml"||!c&&d.indexOf("xml")>=0;a=
|
|
5
|
+
e?a.responseXML:a.responseText;if(e&&a.documentElement.nodeName==="parsererror")throw"parsererror";if(f&&f.dataFilter)a=f.dataFilter(a,c);if(typeof a==="string")if(c==="json"||!c&&d.indexOf("json")>=0)a=(new Function("return "+a))();return a};b.ajaxSettings.traditional=true;b.className={add:function(a,c){b(a).addClass(c)},remove:function(a,c){b(a).removeClass(c)},has:function(a,c){b(a).hasClass(c)}};b.extend=b.fn.extend=function(){var a=arguments[0]||{},c=1,f=arguments.length,d=false,e,g,k,h;if(typeof a===
|
|
6
|
+
"boolean"){d=a;a=arguments[1]||{};c=2}if(typeof a!=="object"&&!b.isFunction(a))a={};if(f===c){a=this;--c}for(;c<f;c++)if((e=arguments[c])!=null)for(g in e){k=a[g];h=e[g];if(a!==h)if(d&&h&&typeof h==="object"&&!h.nodeType)a[g]=b.extend(d,k||(h.length!=null?[]:{}),h);else if(h!==undefined)a[g]=h}return a}})(jQuery);
|