compass-jquery-plugin 0.3.0.beta.1 → 0.3.0.beta.2
Sign up to get free protection for your applications and to get access to all the features.
- 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,293 +1,293 @@
|
|
1
|
-
/* ex:ts=2:et: */
|
2
|
-
/*jslint white: true, onevar: true, browser: true, undef: true, nomen: true, eqeqeq: true, plusplus: true, bitwise: true, regexp: true, newcap: true, immed: true, evil: true, maxerr: 50, indent: 2 */
|
3
|
-
/*globals jQuery */
|
4
|
-
|
5
|
-
//////////////////////////////////////////
|
6
|
-
// //
|
7
|
-
// HAML for JS - DomBuilder for jQuery //
|
8
|
-
// //
|
9
|
-
// Tim Caswell <tim@creationix.com> //
|
10
|
-
// //
|
11
|
-
//////////////////////////////////////////
|
12
|
-
|
13
|
-
(function ($) {
|
14
|
-
|
15
|
-
var action_queue = [], data_cache = {};
|
16
|
-
|
17
|
-
// Test an object for it's constructor type. Sort of a reverse, discriminatory instanceof
|
18
|
-
function isTypeOf(t, c) {
|
19
|
-
if (t === undefined) {
|
20
|
-
return c === 'undefined';
|
21
|
-
}
|
22
|
-
if (t === null) {
|
23
|
-
return c === 'null';
|
24
|
-
}
|
25
|
-
return t.constructor.toString().match(new RegExp(c, 'i')) !== null;
|
26
|
-
}
|
27
|
-
|
28
|
-
// Parses declarations out of the flat attribute array
|
29
|
-
function extractor(attrs, symbol) {
|
30
|
-
if (!attrs || !attrs[symbol]) {
|
31
|
-
return undefined;
|
32
|
-
}
|
33
|
-
var extract = attrs[symbol];
|
34
|
-
delete attrs[symbol];
|
35
|
-
return extract;
|
36
|
-
}
|
37
|
-
|
38
|
-
function is_selector(obj) {
|
39
|
-
// Must be string of at least 2 length
|
40
|
-
if (typeof obj !== "string" || obj.length < 2) {
|
41
|
-
return false;
|
42
|
-
}
|
43
|
-
// Must start with '.', '#', or '%'
|
44
|
-
var c = obj.charAt(0);
|
45
|
-
if (!(c === '.' || c === '#' || c === '%')) {
|
46
|
-
return false;
|
47
|
-
}
|
48
|
-
return true;
|
49
|
-
}
|
50
|
-
|
51
|
-
|
52
|
-
// The workhorse that creates the node.
|
53
|
-
function exec_haml(node, haml) {
|
54
|
-
|
55
|
-
var css, actions, input, selector, classes, ids, tag, newnode, attributes;
|
56
|
-
|
57
|
-
// Shallow copy haml so we don't eat our input when we shift the array
|
58
|
-
// Also this turns "arguments" pseudo-arrays to real arrays
|
59
|
-
input = Array.prototype.slice.call(haml, 0);
|
60
|
-
|
61
|
-
function apply_haml(parent, part) {
|
62
|
-
|
63
|
-
// Ignore undefined and null, they only break things.
|
64
|
-
if (part === undefined || part === null) {
|
65
|
-
return;
|
66
|
-
}
|
67
|
-
|
68
|
-
// Pass dom and jquery nodes through as is
|
69
|
-
if (part.nodeType || part.jquery) {
|
70
|
-
parent.append(part);
|
71
|
-
return;
|
72
|
-
}
|
73
|
-
|
74
|
-
// Strings and numbers are text nodes
|
75
|
-
if (isTypeOf(part, 'String') && part.length > 0) {
|
76
|
-
// Strip of leading backslash
|
77
|
-
if (part[0] === '\\') {
|
78
|
-
part = part.substr(1);
|
79
|
-
}
|
80
|
-
parent.append(document.createTextNode(part));
|
81
|
-
return;
|
82
|
-
}
|
83
|
-
if (isTypeOf(part, 'Number')) {
|
84
|
-
parent.append(document.createTextNode(part));
|
85
|
-
return;
|
86
|
-
}
|
87
|
-
|
88
|
-
// Recursivly run arrays
|
89
|
-
if (isTypeOf(part, 'Array') && part.length > 0) {
|
90
|
-
exec_haml(parent, part);
|
91
|
-
return;
|
92
|
-
}
|
93
|
-
}
|
94
|
-
|
95
|
-
if (input.length && input.length > 0)
|
96
|
-
{
|
97
|
-
if (is_selector(input[0])) {
|
98
|
-
// Pull the selector off the front
|
99
|
-
// Parse out the selector information
|
100
|
-
// Default tag to div if not specified
|
101
|
-
selector = input.shift();
|
102
|
-
classes = selector.match(/\.[^\.#]+/g);
|
103
|
-
ids = selector.match(/#[^\.#]+/g);
|
104
|
-
tag = selector.match(/^%([^\.#]+)/g);
|
105
|
-
tag = tag ? tag[0].substr(1) : 'div';
|
106
|
-
|
107
|
-
// Create the node
|
108
|
-
newnode = $(document.createElement(tag));
|
109
|
-
|
110
|
-
// Parse the attributes if there are any
|
111
|
-
if (input.length > 0 && isTypeOf(input[0], 'Object')) {
|
112
|
-
attributes = input.shift();
|
113
|
-
css = extractor(attributes, 'css');
|
114
|
-
actions = extractor(attributes, '$');
|
115
|
-
newnode.attr(attributes);
|
116
|
-
}
|
117
|
-
|
118
|
-
// Add in the ids from the selector
|
119
|
-
if (ids) {
|
120
|
-
$.each(ids, function () {
|
121
|
-
var id, old_id;
|
122
|
-
id = this.substr(1);
|
123
|
-
old_id = newnode.attr('id');
|
124
|
-
if (old_id) {
|
125
|
-
newnode.attr('id', old_id + " " + id);
|
126
|
-
}
|
127
|
-
else {
|
128
|
-
newnode.attr('id', id);
|
129
|
-
}
|
130
|
-
});
|
131
|
-
}
|
132
|
-
|
133
|
-
// Add in the classes from the selector
|
134
|
-
if (classes) {
|
135
|
-
$.each(classes, function () {
|
136
|
-
newnode.addClass(this.substr(1));
|
137
|
-
});
|
138
|
-
}
|
139
|
-
|
140
|
-
// Add in any css from underscore styles
|
141
|
-
if (css) {
|
142
|
-
newnode.css(css);
|
143
|
-
}
|
144
|
-
|
145
|
-
// Move a level deeper in the dom tree
|
146
|
-
node.append(newnode);
|
147
|
-
node = newnode;
|
148
|
-
|
149
|
-
// Process jquery actions as well
|
150
|
-
if (actions) {
|
151
|
-
$.each(actions, function (method) {
|
152
|
-
action_queue.push({node: node, method: method, params: this});
|
153
|
-
});
|
154
|
-
}
|
155
|
-
}
|
156
|
-
|
157
|
-
// Add in content with recursive call
|
158
|
-
$.each(input, function () {
|
159
|
-
apply_haml(node, this);
|
160
|
-
});
|
161
|
-
}
|
162
|
-
else
|
163
|
-
{
|
164
|
-
apply_haml(node, input);
|
165
|
-
}
|
166
|
-
}
|
167
|
-
|
168
|
-
// jQuery events are queued up till we're sure the node exists in the main dom. Once
|
169
|
-
// it's safe, this function is called to actually flush the queue and execute the function calls.
|
170
|
-
function flush_queue() {
|
171
|
-
$.each(action_queue, function () {
|
172
|
-
// $ is a special case that means onload
|
173
|
-
if (this.method === '$') {
|
174
|
-
this.params.apply(this.node, []);
|
175
|
-
}
|
176
|
-
// otherwise call method on the jquery object with given params.
|
177
|
-
else {
|
178
|
-
if (!isTypeOf(this.params, 'Array')) {
|
179
|
-
this.params = [this.params];
|
180
|
-
}
|
181
|
-
this.node[this.method].apply(this.node, this.params);
|
182
|
-
}
|
183
|
-
});
|
184
|
-
action_queue = [];
|
185
|
-
}
|
186
|
-
|
187
|
-
function real_haml(haml) {
|
188
|
-
var newnode;
|
189
|
-
|
190
|
-
// Build the dom on a non-attached node
|
191
|
-
newnode = $(document.createElement("div"));
|
192
|
-
exec_haml(newnode, haml);
|
193
|
-
|
194
|
-
// Then attach it's children to the page.
|
195
|
-
this.append(newnode.children());
|
196
|
-
|
197
|
-
// Flush action queue once we're on the page
|
198
|
-
if (this.closest('body').length > 0) {
|
199
|
-
flush_queue();
|
200
|
-
}
|
201
|
-
|
202
|
-
return newnode.children();
|
203
|
-
}
|
204
|
-
|
205
|
-
// Like the original haml, but returns the new nodes instead of the
|
206
|
-
// original matched set.
|
207
|
-
$.fn.insertHaml = function (/* haml1, haml2, ... */) {
|
208
|
-
return real_haml.call(this,
|
209
|
-
Array.prototype.slice.call(arguments, 0)
|
210
|
-
);
|
211
|
-
};
|
212
|
-
|
213
|
-
// Calling haml on a node converts the passed in array to dom children
|
214
|
-
$.fn.haml = function (/* haml1, haml2, ... */) {
|
215
|
-
real_haml.call(this,
|
216
|
-
Array.prototype.slice.call(arguments, 0)
|
217
|
-
);
|
218
|
-
|
219
|
-
// Return "this" to allow for chaining.
|
220
|
-
return this;
|
221
|
-
|
222
|
-
};
|
223
|
-
|
224
|
-
// static helper functions
|
225
|
-
$.haml = {
|
226
|
-
// This is a constructor to create a piece of page that is re-drawable.
|
227
|
-
// The passed in callback is the function that provides the haml input.
|
228
|
-
// Call inject() on the resulting object to place it in the haml document stream
|
229
|
-
// and call update() on the placeholder whenever you want it to redraw itself.
|
230
|
-
placeholder: function (callback) {
|
231
|
-
var children;
|
232
|
-
|
233
|
-
function inject() {
|
234
|
-
// Build the dom on a non-attached node
|
235
|
-
var node = $(document.createElement("div"));
|
236
|
-
node.haml(callback.apply(this, arguments));
|
237
|
-
children = node.children();
|
238
|
-
return children;
|
239
|
-
}
|
240
|
-
|
241
|
-
// Replace the first child node with the new children and remove other
|
242
|
-
// old children if there are any.
|
243
|
-
function update() {
|
244
|
-
$.each(children, function (i, child) {
|
245
|
-
if (i === 0) {
|
246
|
-
$(child).replaceWith(inject.apply(this, arguments));
|
247
|
-
} else {
|
248
|
-
$(child).remove();
|
249
|
-
}
|
250
|
-
});
|
251
|
-
flush_queue();
|
252
|
-
}
|
253
|
-
|
254
|
-
return {
|
255
|
-
inject: inject,
|
256
|
-
update: update
|
257
|
-
};
|
258
|
-
},
|
259
|
-
|
260
|
-
// data_provider is a function that has the form "function (on_data)" where
|
261
|
-
// on_data is of the form "function (data)" so that OnDemand can call
|
262
|
-
// data_provider giving it a callback, and the callback will be called with
|
263
|
-
// the data when it's available.
|
264
|
-
// onDemand returns functions that returns a placeholder. See above for details.
|
265
|
-
onDemand: function (data_provider, loading_message) {
|
266
|
-
var placeholder;
|
267
|
-
|
268
|
-
loading_message = ["%div", {style: "text-align: center; cursor: wait"}, loading_message || "Loading..."];
|
269
|
-
|
270
|
-
return function (renderer/*, param1, param2...*/) {
|
271
|
-
var params = Array.prototype.slice.call(arguments, 1);
|
272
|
-
function render_haml() {
|
273
|
-
var key = Util.stringify(params);
|
274
|
-
if (data_cache[key] !== undefined) {
|
275
|
-
// If data is in data_cache, render directly
|
276
|
-
return renderer(data_cache[key]);
|
277
|
-
} else {
|
278
|
-
// Otherwise put in a placeholder and then replace once the data is known
|
279
|
-
function on_data(data) {
|
280
|
-
data_cache[key] = data;
|
281
|
-
placeholder.update();
|
282
|
-
}
|
283
|
-
data_provider.apply(this, [on_data].concat(params));
|
284
|
-
return loading_message;
|
285
|
-
}
|
286
|
-
}
|
287
|
-
placeholder = $.haml.placeholder(render_haml);
|
288
|
-
return placeholder;
|
289
|
-
};
|
290
|
-
}
|
291
|
-
};
|
292
|
-
|
293
|
-
}(jQuery));
|
1
|
+
/* ex:ts=2:et: */
|
2
|
+
/*jslint white: true, onevar: true, browser: true, undef: true, nomen: true, eqeqeq: true, plusplus: true, bitwise: true, regexp: true, newcap: true, immed: true, evil: true, maxerr: 50, indent: 2 */
|
3
|
+
/*globals jQuery */
|
4
|
+
|
5
|
+
//////////////////////////////////////////
|
6
|
+
// //
|
7
|
+
// HAML for JS - DomBuilder for jQuery //
|
8
|
+
// //
|
9
|
+
// Tim Caswell <tim@creationix.com> //
|
10
|
+
// //
|
11
|
+
//////////////////////////////////////////
|
12
|
+
|
13
|
+
(function ($) {
|
14
|
+
|
15
|
+
var action_queue = [], data_cache = {};
|
16
|
+
|
17
|
+
// Test an object for it's constructor type. Sort of a reverse, discriminatory instanceof
|
18
|
+
function isTypeOf(t, c) {
|
19
|
+
if (t === undefined) {
|
20
|
+
return c === 'undefined';
|
21
|
+
}
|
22
|
+
if (t === null) {
|
23
|
+
return c === 'null';
|
24
|
+
}
|
25
|
+
return t.constructor.toString().match(new RegExp(c, 'i')) !== null;
|
26
|
+
}
|
27
|
+
|
28
|
+
// Parses declarations out of the flat attribute array
|
29
|
+
function extractor(attrs, symbol) {
|
30
|
+
if (!attrs || !attrs[symbol]) {
|
31
|
+
return undefined;
|
32
|
+
}
|
33
|
+
var extract = attrs[symbol];
|
34
|
+
delete attrs[symbol];
|
35
|
+
return extract;
|
36
|
+
}
|
37
|
+
|
38
|
+
function is_selector(obj) {
|
39
|
+
// Must be string of at least 2 length
|
40
|
+
if (typeof obj !== "string" || obj.length < 2) {
|
41
|
+
return false;
|
42
|
+
}
|
43
|
+
// Must start with '.', '#', or '%'
|
44
|
+
var c = obj.charAt(0);
|
45
|
+
if (!(c === '.' || c === '#' || c === '%')) {
|
46
|
+
return false;
|
47
|
+
}
|
48
|
+
return true;
|
49
|
+
}
|
50
|
+
|
51
|
+
|
52
|
+
// The workhorse that creates the node.
|
53
|
+
function exec_haml(node, haml) {
|
54
|
+
|
55
|
+
var css, actions, input, selector, classes, ids, tag, newnode, attributes;
|
56
|
+
|
57
|
+
// Shallow copy haml so we don't eat our input when we shift the array
|
58
|
+
// Also this turns "arguments" pseudo-arrays to real arrays
|
59
|
+
input = Array.prototype.slice.call(haml, 0);
|
60
|
+
|
61
|
+
function apply_haml(parent, part) {
|
62
|
+
|
63
|
+
// Ignore undefined and null, they only break things.
|
64
|
+
if (part === undefined || part === null) {
|
65
|
+
return;
|
66
|
+
}
|
67
|
+
|
68
|
+
// Pass dom and jquery nodes through as is
|
69
|
+
if (part.nodeType || part.jquery) {
|
70
|
+
parent.append(part);
|
71
|
+
return;
|
72
|
+
}
|
73
|
+
|
74
|
+
// Strings and numbers are text nodes
|
75
|
+
if (isTypeOf(part, 'String') && part.length > 0) {
|
76
|
+
// Strip of leading backslash
|
77
|
+
if (part[0] === '\\') {
|
78
|
+
part = part.substr(1);
|
79
|
+
}
|
80
|
+
parent.append(document.createTextNode(part));
|
81
|
+
return;
|
82
|
+
}
|
83
|
+
if (isTypeOf(part, 'Number')) {
|
84
|
+
parent.append(document.createTextNode(part));
|
85
|
+
return;
|
86
|
+
}
|
87
|
+
|
88
|
+
// Recursivly run arrays
|
89
|
+
if (isTypeOf(part, 'Array') && part.length > 0) {
|
90
|
+
exec_haml(parent, part);
|
91
|
+
return;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
|
95
|
+
if (input.length && input.length > 0)
|
96
|
+
{
|
97
|
+
if (is_selector(input[0])) {
|
98
|
+
// Pull the selector off the front
|
99
|
+
// Parse out the selector information
|
100
|
+
// Default tag to div if not specified
|
101
|
+
selector = input.shift();
|
102
|
+
classes = selector.match(/\.[^\.#]+/g);
|
103
|
+
ids = selector.match(/#[^\.#]+/g);
|
104
|
+
tag = selector.match(/^%([^\.#]+)/g);
|
105
|
+
tag = tag ? tag[0].substr(1) : 'div';
|
106
|
+
|
107
|
+
// Create the node
|
108
|
+
newnode = $(document.createElement(tag));
|
109
|
+
|
110
|
+
// Parse the attributes if there are any
|
111
|
+
if (input.length > 0 && isTypeOf(input[0], 'Object')) {
|
112
|
+
attributes = input.shift();
|
113
|
+
css = extractor(attributes, 'css');
|
114
|
+
actions = extractor(attributes, '$');
|
115
|
+
newnode.attr(attributes);
|
116
|
+
}
|
117
|
+
|
118
|
+
// Add in the ids from the selector
|
119
|
+
if (ids) {
|
120
|
+
$.each(ids, function () {
|
121
|
+
var id, old_id;
|
122
|
+
id = this.substr(1);
|
123
|
+
old_id = newnode.attr('id');
|
124
|
+
if (old_id) {
|
125
|
+
newnode.attr('id', old_id + " " + id);
|
126
|
+
}
|
127
|
+
else {
|
128
|
+
newnode.attr('id', id);
|
129
|
+
}
|
130
|
+
});
|
131
|
+
}
|
132
|
+
|
133
|
+
// Add in the classes from the selector
|
134
|
+
if (classes) {
|
135
|
+
$.each(classes, function () {
|
136
|
+
newnode.addClass(this.substr(1));
|
137
|
+
});
|
138
|
+
}
|
139
|
+
|
140
|
+
// Add in any css from underscore styles
|
141
|
+
if (css) {
|
142
|
+
newnode.css(css);
|
143
|
+
}
|
144
|
+
|
145
|
+
// Move a level deeper in the dom tree
|
146
|
+
node.append(newnode);
|
147
|
+
node = newnode;
|
148
|
+
|
149
|
+
// Process jquery actions as well
|
150
|
+
if (actions) {
|
151
|
+
$.each(actions, function (method) {
|
152
|
+
action_queue.push({node: node, method: method, params: this});
|
153
|
+
});
|
154
|
+
}
|
155
|
+
}
|
156
|
+
|
157
|
+
// Add in content with recursive call
|
158
|
+
$.each(input, function () {
|
159
|
+
apply_haml(node, this);
|
160
|
+
});
|
161
|
+
}
|
162
|
+
else
|
163
|
+
{
|
164
|
+
apply_haml(node, input);
|
165
|
+
}
|
166
|
+
}
|
167
|
+
|
168
|
+
// jQuery events are queued up till we're sure the node exists in the main dom. Once
|
169
|
+
// it's safe, this function is called to actually flush the queue and execute the function calls.
|
170
|
+
function flush_queue() {
|
171
|
+
$.each(action_queue, function () {
|
172
|
+
// $ is a special case that means onload
|
173
|
+
if (this.method === '$') {
|
174
|
+
this.params.apply(this.node, []);
|
175
|
+
}
|
176
|
+
// otherwise call method on the jquery object with given params.
|
177
|
+
else {
|
178
|
+
if (!isTypeOf(this.params, 'Array')) {
|
179
|
+
this.params = [this.params];
|
180
|
+
}
|
181
|
+
this.node[this.method].apply(this.node, this.params);
|
182
|
+
}
|
183
|
+
});
|
184
|
+
action_queue = [];
|
185
|
+
}
|
186
|
+
|
187
|
+
function real_haml(haml) {
|
188
|
+
var newnode;
|
189
|
+
|
190
|
+
// Build the dom on a non-attached node
|
191
|
+
newnode = $(document.createElement("div"));
|
192
|
+
exec_haml(newnode, haml);
|
193
|
+
|
194
|
+
// Then attach it's children to the page.
|
195
|
+
this.append(newnode.children());
|
196
|
+
|
197
|
+
// Flush action queue once we're on the page
|
198
|
+
if (this.closest('body').length > 0) {
|
199
|
+
flush_queue();
|
200
|
+
}
|
201
|
+
|
202
|
+
return newnode.children();
|
203
|
+
}
|
204
|
+
|
205
|
+
// Like the original haml, but returns the new nodes instead of the
|
206
|
+
// original matched set.
|
207
|
+
$.fn.insertHaml = function (/* haml1, haml2, ... */) {
|
208
|
+
return real_haml.call(this,
|
209
|
+
Array.prototype.slice.call(arguments, 0)
|
210
|
+
);
|
211
|
+
};
|
212
|
+
|
213
|
+
// Calling haml on a node converts the passed in array to dom children
|
214
|
+
$.fn.haml = function (/* haml1, haml2, ... */) {
|
215
|
+
real_haml.call(this,
|
216
|
+
Array.prototype.slice.call(arguments, 0)
|
217
|
+
);
|
218
|
+
|
219
|
+
// Return "this" to allow for chaining.
|
220
|
+
return this;
|
221
|
+
|
222
|
+
};
|
223
|
+
|
224
|
+
// static helper functions
|
225
|
+
$.haml = {
|
226
|
+
// This is a constructor to create a piece of page that is re-drawable.
|
227
|
+
// The passed in callback is the function that provides the haml input.
|
228
|
+
// Call inject() on the resulting object to place it in the haml document stream
|
229
|
+
// and call update() on the placeholder whenever you want it to redraw itself.
|
230
|
+
placeholder: function (callback) {
|
231
|
+
var children;
|
232
|
+
|
233
|
+
function inject() {
|
234
|
+
// Build the dom on a non-attached node
|
235
|
+
var node = $(document.createElement("div"));
|
236
|
+
node.haml(callback.apply(this, arguments));
|
237
|
+
children = node.children();
|
238
|
+
return children;
|
239
|
+
}
|
240
|
+
|
241
|
+
// Replace the first child node with the new children and remove other
|
242
|
+
// old children if there are any.
|
243
|
+
function update() {
|
244
|
+
$.each(children, function (i, child) {
|
245
|
+
if (i === 0) {
|
246
|
+
$(child).replaceWith(inject.apply(this, arguments));
|
247
|
+
} else {
|
248
|
+
$(child).remove();
|
249
|
+
}
|
250
|
+
});
|
251
|
+
flush_queue();
|
252
|
+
}
|
253
|
+
|
254
|
+
return {
|
255
|
+
inject: inject,
|
256
|
+
update: update
|
257
|
+
};
|
258
|
+
},
|
259
|
+
|
260
|
+
// data_provider is a function that has the form "function (on_data)" where
|
261
|
+
// on_data is of the form "function (data)" so that OnDemand can call
|
262
|
+
// data_provider giving it a callback, and the callback will be called with
|
263
|
+
// the data when it's available.
|
264
|
+
// onDemand returns functions that returns a placeholder. See above for details.
|
265
|
+
onDemand: function (data_provider, loading_message) {
|
266
|
+
var placeholder;
|
267
|
+
|
268
|
+
loading_message = ["%div", {style: "text-align: center; cursor: wait"}, loading_message || "Loading..."];
|
269
|
+
|
270
|
+
return function (renderer/*, param1, param2...*/) {
|
271
|
+
var params = Array.prototype.slice.call(arguments, 1);
|
272
|
+
function render_haml() {
|
273
|
+
var key = Util.stringify(params);
|
274
|
+
if (data_cache[key] !== undefined) {
|
275
|
+
// If data is in data_cache, render directly
|
276
|
+
return renderer(data_cache[key]);
|
277
|
+
} else {
|
278
|
+
// Otherwise put in a placeholder and then replace once the data is known
|
279
|
+
function on_data(data) {
|
280
|
+
data_cache[key] = data;
|
281
|
+
placeholder.update();
|
282
|
+
}
|
283
|
+
data_provider.apply(this, [on_data].concat(params));
|
284
|
+
return loading_message;
|
285
|
+
}
|
286
|
+
}
|
287
|
+
placeholder = $.haml.placeholder(render_haml);
|
288
|
+
return placeholder;
|
289
|
+
};
|
290
|
+
}
|
291
|
+
};
|
292
|
+
|
293
|
+
}(jQuery));
|
@@ -1,5 +1,5 @@
|
|
1
|
-
(function(e){function l(b,a){if(b===undefined)return a==="undefined";if(b===null)return a==="null";return b.constructor.toString().match(new RegExp(a,"i"))!==null}function p(b,a){if(b&&b[a]){var i=b[a];delete b[a];return i}}function t(b){if(typeof b!=="string"||b.length<2)return false;b=b.charAt(0);if(!(b==="."||b==="#"||b==="%"))return false;return true}function q(b,a){function i(g,c){if(!(c===undefined||c===null))if(c.nodeType||c.jquery)g.append(c);else if(l(c,"String")&&c.length>0){if(c[0]==="\\")c=
|
2
|
-
c.substr(1);g.append(document.createTextNode(c))}else if(l(c,"Number"))g.append(document.createTextNode(c));else l(c,"Array")&&c.length>0&&q(g,c)}var j,h,d,k,m,f;a=Array.prototype.slice.call(a,0);if(a.length&&a.length>0){if(t(a[0])){d=a.shift();k=d.match(/\.[^\.#]+/g);m=d.match(/#[^\.#]+/g);d=(d=d.match(/^%([^\.#]+)/g))?d[0].substr(1):"div";f=e(document.createElement(d));if(a.length>0&&l(a[0],"Object")){d=a.shift();j=p(d,"css");h=p(d,"$");f.attr(d)}m&&e.each(m,function(){var g,c;g=this.substr(1);
|
3
|
-
(c=f.attr("id"))?f.attr("id",c+" "+g):f.attr("id",g)});k&&e.each(k,function(){f.addClass(this.substr(1))});j&&f.css(j);b.append(f);b=f;h&&e.each(h,function(g){n.push({node:b,method:g,params:this})})}e.each(a,function(){i(b,this)})}else i(b,a)}function r(){e.each(n,function(){if(this.method==="$")this.params.apply(this.node,[]);else{if(!l(this.params,"Array"))this.params=[this.params];this.node[this.method].apply(this.node,this.params)}});n=[]}function s(b){var a;a=e(document.createElement("div"));
|
4
|
-
q(a,b);this.append(a.children());this.closest("body").length>0&&r();return a.children()}var n=[],o={};e.fn.insertHaml=function(){return s.call(this,Array.prototype.slice.call(arguments,0))};e.fn.haml=function(){s.call(this,Array.prototype.slice.call(arguments,0));return this};e.haml={placeholder:function(b){function a(){var h=e(document.createElement("div"));h.haml(b.apply(this,arguments));return j=h.children()}function i(){e.each(j,function(h,d){h===0?e(d).replaceWith(a.apply(this,arguments)):e(d).remove()});
|
5
|
-
r()}var j;return{inject:a,update:i}},onDemand:function(b,a){var i;a=["%div",{style:"text-align: center; cursor: wait"},a||"Loading..."];return function(j){function h(){var k=Util.stringify(d);if(o[k]!==undefined)return j(o[k]);else{function m(f){o[k]=f;i.update()}b.apply(this,[m].concat(d));return a}}var d=Array.prototype.slice.call(arguments,1);return i=e.haml.placeholder(h)}}}})(jQuery);
|
1
|
+
(function(e){function l(b,a){if(b===undefined)return a==="undefined";if(b===null)return a==="null";return b.constructor.toString().match(new RegExp(a,"i"))!==null}function p(b,a){if(b&&b[a]){var i=b[a];delete b[a];return i}}function t(b){if(typeof b!=="string"||b.length<2)return false;b=b.charAt(0);if(!(b==="."||b==="#"||b==="%"))return false;return true}function q(b,a){function i(g,c){if(!(c===undefined||c===null))if(c.nodeType||c.jquery)g.append(c);else if(l(c,"String")&&c.length>0){if(c[0]==="\\")c=
|
2
|
+
c.substr(1);g.append(document.createTextNode(c))}else if(l(c,"Number"))g.append(document.createTextNode(c));else l(c,"Array")&&c.length>0&&q(g,c)}var j,h,d,k,m,f;a=Array.prototype.slice.call(a,0);if(a.length&&a.length>0){if(t(a[0])){d=a.shift();k=d.match(/\.[^\.#]+/g);m=d.match(/#[^\.#]+/g);d=(d=d.match(/^%([^\.#]+)/g))?d[0].substr(1):"div";f=e(document.createElement(d));if(a.length>0&&l(a[0],"Object")){d=a.shift();j=p(d,"css");h=p(d,"$");f.attr(d)}m&&e.each(m,function(){var g,c;g=this.substr(1);
|
3
|
+
(c=f.attr("id"))?f.attr("id",c+" "+g):f.attr("id",g)});k&&e.each(k,function(){f.addClass(this.substr(1))});j&&f.css(j);b.append(f);b=f;h&&e.each(h,function(g){n.push({node:b,method:g,params:this})})}e.each(a,function(){i(b,this)})}else i(b,a)}function r(){e.each(n,function(){if(this.method==="$")this.params.apply(this.node,[]);else{if(!l(this.params,"Array"))this.params=[this.params];this.node[this.method].apply(this.node,this.params)}});n=[]}function s(b){var a;a=e(document.createElement("div"));
|
4
|
+
q(a,b);this.append(a.children());this.closest("body").length>0&&r();return a.children()}var n=[],o={};e.fn.insertHaml=function(){return s.call(this,Array.prototype.slice.call(arguments,0))};e.fn.haml=function(){s.call(this,Array.prototype.slice.call(arguments,0));return this};e.haml={placeholder:function(b){function a(){var h=e(document.createElement("div"));h.haml(b.apply(this,arguments));return j=h.children()}function i(){e.each(j,function(h,d){h===0?e(d).replaceWith(a.apply(this,arguments)):e(d).remove()});
|
5
|
+
r()}var j;return{inject:a,update:i}},onDemand:function(b,a){var i;a=["%div",{style:"text-align: center; cursor: wait"},a||"Loading..."];return function(j){function h(){var k=Util.stringify(d);if(o[k]!==undefined)return j(o[k]);else{function m(f){o[k]=f;i.update()}b.apply(this,[m].concat(d));return a}}var d=Array.prototype.slice.call(arguments,1);return i=e.haml.placeholder(h)}}}})(jQuery);
|
@@ -1,11 +1,11 @@
|
|
1
|
-
/**
|
2
|
-
* --------------------------------------------------------------------
|
3
|
-
* jQuery-Plugin "pngFix"
|
4
|
-
* Version: 1.1, 11.09.2007
|
5
|
-
* by Andreas Eberhard, andreas.eberhard@gmail.com
|
6
|
-
* http://jquery.andreaseberhard.de/
|
7
|
-
*
|
8
|
-
* Copyright (c) 2007 Andreas Eberhard
|
9
|
-
* Licensed under GPL (http://www.opensource.org/licenses/gpl-license.php)
|
10
|
-
*/
|
1
|
+
/**
|
2
|
+
* --------------------------------------------------------------------
|
3
|
+
* jQuery-Plugin "pngFix"
|
4
|
+
* Version: 1.1, 11.09.2007
|
5
|
+
* by Andreas Eberhard, andreas.eberhard@gmail.com
|
6
|
+
* http://jquery.andreaseberhard.de/
|
7
|
+
*
|
8
|
+
* Copyright (c) 2007 Andreas Eberhard
|
9
|
+
* Licensed under GPL (http://www.opensource.org/licenses/gpl-license.php)
|
10
|
+
*/
|
11
11
|
eval(function(p,a,c,k,e,r){e=function(c){return(c<62?'':e(parseInt(c/62)))+((c=c%62)>35?String.fromCharCode(c+29):c.toString(36))};if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'([237-9n-zA-Z]|1\\w)'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(s(m){3.fn.pngFix=s(c){c=3.extend({P:\'blank.gif\'},c);8 e=(o.Q=="t R S"&&T(o.u)==4&&o.u.A("U 5.5")!=-1);8 f=(o.Q=="t R S"&&T(o.u)==4&&o.u.A("U 6.0")!=-1);p(3.browser.msie&&(e||f)){3(2).B("img[n$=.C]").D(s(){3(2).7(\'q\',3(2).q());3(2).7(\'r\',3(2).r());8 a=\'\';8 b=\'\';8 g=(3(2).7(\'E\'))?\'E="\'+3(2).7(\'E\')+\'" \':\'\';8 h=(3(2).7(\'F\'))?\'F="\'+3(2).7(\'F\')+\'" \':\'\';8 i=(3(2).7(\'G\'))?\'G="\'+3(2).7(\'G\')+\'" \':\'\';8 j=(3(2).7(\'H\'))?\'H="\'+3(2).7(\'H\')+\'" \':\'\';8 k=(3(2).7(\'V\'))?\'float:\'+3(2).7(\'V\')+\';\':\'\';8 d=(3(2).parent().7(\'href\'))?\'cursor:hand;\':\'\';p(2.9.v){a+=\'v:\'+2.9.v+\';\';2.9.v=\'\'}p(2.9.w){a+=\'w:\'+2.9.w+\';\';2.9.w=\'\'}p(2.9.x){a+=\'x:\'+2.9.x+\';\';2.9.x=\'\'}8 l=(2.9.cssText);b+=\'<y \'+g+h+i+j;b+=\'9="W:X;white-space:pre-line;Y:Z-10;I:transparent;\'+k+d;b+=\'q:\'+3(2).q()+\'z;r:\'+3(2).r()+\'z;\';b+=\'J:K:L.t.M(n=\\\'\'+3(2).7(\'n\')+\'\\\', N=\\\'O\\\');\';b+=l+\'"></y>\';p(a!=\'\'){b=\'<y 9="W:X;Y:Z-10;\'+a+d+\'q:\'+3(2).q()+\'z;r:\'+3(2).r()+\'z;">\'+b+\'</y>\'}3(2).hide();3(2).after(b)});3(2).B("*").D(s(){8 a=3(2).11(\'I-12\');p(a.A(".C")!=-1){8 b=a.13(\'url("\')[1].13(\'")\')[0];3(2).11(\'I-12\',\'none\');3(2).14(0).15.J="K:L.t.M(n=\'"+b+"\',N=\'O\')"}});3(2).B("input[n$=.C]").D(s(){8 a=3(2).7(\'n\');3(2).14(0).15.J=\'K:L.t.M(n=\\\'\'+a+\'\\\', N=\\\'O\\\');\';3(2).7(\'n\',c.P)})}return 3}})(3);',[],68,'||this|jQuery||||attr|var|style||||||||||||||src|navigator|if|width|height|function|Microsoft|appVersion|border|padding|margin|span|px|indexOf|find|png|each|id|class|title|alt|background|filter|progid|DXImageTransform|AlphaImageLoader|sizingMethod|scale|blankgif|appName|Internet|Explorer|parseInt|MSIE|align|position|relative|display|inline|block|css|image|split|get|runtimeStyle'.split('|'),0,{}))
|
@@ -1,2 +1,2 @@
|
|
1
|
-
eval(function(e,g,a,d,c,f){c=function(b){return(b<62?"":c(parseInt(b/62)))+((b%=62)>35?String.fromCharCode(b+29):b.toString(36))};if("0".replace(0,c)==0){for(;a--;)f[c(a)]=d[a];d=[function(b){return f[b]||b}];c=function(){return"([237-9n-zA-Z]|1\\w)"};a=1}for(;a--;)if(d[a])e=e.replace(new RegExp("\\b"+c(a)+"\\b","g"),d[a]);return e}("(s(m){3.fn.pngFix=s(c){c=3.extend({P:'blank.gif'},c);8 e=(o.Q==\"t R S\"&&T(o.u)==4&&o.u.A(\"U 5.5\")!=-1);8 f=(o.Q==\"t R S\"&&T(o.u)==4&&o.u.A(\"U 6.0\")!=-1);p(3.browser.msie&&(e||f)){3(2).B(\"img[n$=.C]\").D(s(){3(2).7('q',3(2).q());3(2).7('r',3(2).r());8 a='';8 b='';8 g=(3(2).7('E'))?'E=\"'+3(2).7('E')+'\" ':'';8 h=(3(2).7('F'))?'F=\"'+3(2).7('F')+'\" ':'';8 i=(3(2).7('G'))?'G=\"'+3(2).7('G')+'\" ':'';8 j=(3(2).7('H'))?'H=\"'+3(2).7('H')+'\" ':'';8 k=(3(2).7('V'))?'float:'+3(2).7('V')+';':'';8 d=(3(2).parent().7('href'))?'cursor:hand;':'';p(2.9.v){a+='v:'+2.9.v+';';2.9.v=''}p(2.9.w){a+='w:'+2.9.w+';';2.9.w=''}p(2.9.x){a+='x:'+2.9.x+';';2.9.x=''}8 l=(2.9.cssText);b+='<y '+g+h+i+j;b+='9=\"W:X;white-space:pre-line;Y:Z-10;I:transparent;'+k+d;b+='q:'+3(2).q()+'z;r:'+3(2).r()+'z;';b+='J:K:L.t.M(n=\\''+3(2).7('n')+'\\', N=\\'O\\');';b+=l+'\"></y>';p(a!=''){b='<y 9=\"W:X;Y:Z-10;'+a+d+'q:'+3(2).q()+'z;r:'+3(2).r()+'z;\">'+b+'</y>'}3(2).hide();3(2).after(b)});3(2).B(\"*\").D(s(){8 a=3(2).11('I-12');p(a.A(\".C\")!=-1){8 b=a.13('url(\"')[1].13('\")')[0];3(2).11('I-12','none');3(2).14(0).15.J=\"K:L.t.M(n='\"+b+\"',N='O')\"}});3(2).B(\"input[n$=.C]\").D(s(){8 a=3(2).7('n');3(2).14(0).15.J='K:L.t.M(n=\\''+a+'\\', N=\\'O\\');';3(2).7('n',c.P)})}return 3}})(3);",
|
2
|
-
[],68,"||this|jQuery||||attr|var|style||||||||||||||src|navigator|if|width|height|function|Microsoft|appVersion|border|padding|margin|span|px|indexOf|find|png|each|id|class|title|alt|background|filter|progid|DXImageTransform|AlphaImageLoader|sizingMethod|scale|blankgif|appName|Internet|Explorer|parseInt|MSIE|align|position|relative|display|inline|block|css|image|split|get|runtimeStyle".split("|"),0,{}));
|
1
|
+
eval(function(e,g,a,d,c,f){c=function(b){return(b<62?"":c(parseInt(b/62)))+((b%=62)>35?String.fromCharCode(b+29):b.toString(36))};if("0".replace(0,c)==0){for(;a--;)f[c(a)]=d[a];d=[function(b){return f[b]||b}];c=function(){return"([237-9n-zA-Z]|1\\w)"};a=1}for(;a--;)if(d[a])e=e.replace(new RegExp("\\b"+c(a)+"\\b","g"),d[a]);return e}("(s(m){3.fn.pngFix=s(c){c=3.extend({P:'blank.gif'},c);8 e=(o.Q==\"t R S\"&&T(o.u)==4&&o.u.A(\"U 5.5\")!=-1);8 f=(o.Q==\"t R S\"&&T(o.u)==4&&o.u.A(\"U 6.0\")!=-1);p(3.browser.msie&&(e||f)){3(2).B(\"img[n$=.C]\").D(s(){3(2).7('q',3(2).q());3(2).7('r',3(2).r());8 a='';8 b='';8 g=(3(2).7('E'))?'E=\"'+3(2).7('E')+'\" ':'';8 h=(3(2).7('F'))?'F=\"'+3(2).7('F')+'\" ':'';8 i=(3(2).7('G'))?'G=\"'+3(2).7('G')+'\" ':'';8 j=(3(2).7('H'))?'H=\"'+3(2).7('H')+'\" ':'';8 k=(3(2).7('V'))?'float:'+3(2).7('V')+';':'';8 d=(3(2).parent().7('href'))?'cursor:hand;':'';p(2.9.v){a+='v:'+2.9.v+';';2.9.v=''}p(2.9.w){a+='w:'+2.9.w+';';2.9.w=''}p(2.9.x){a+='x:'+2.9.x+';';2.9.x=''}8 l=(2.9.cssText);b+='<y '+g+h+i+j;b+='9=\"W:X;white-space:pre-line;Y:Z-10;I:transparent;'+k+d;b+='q:'+3(2).q()+'z;r:'+3(2).r()+'z;';b+='J:K:L.t.M(n=\\''+3(2).7('n')+'\\', N=\\'O\\');';b+=l+'\"></y>';p(a!=''){b='<y 9=\"W:X;Y:Z-10;'+a+d+'q:'+3(2).q()+'z;r:'+3(2).r()+'z;\">'+b+'</y>'}3(2).hide();3(2).after(b)});3(2).B(\"*\").D(s(){8 a=3(2).11('I-12');p(a.A(\".C\")!=-1){8 b=a.13('url(\"')[1].13('\")')[0];3(2).11('I-12','none');3(2).14(0).15.J=\"K:L.t.M(n='\"+b+\"',N='O')\"}});3(2).B(\"input[n$=.C]\").D(s(){8 a=3(2).7('n');3(2).14(0).15.J='K:L.t.M(n=\\''+a+'\\', N=\\'O\\');';3(2).7('n',c.P)})}return 3}})(3);",
|
2
|
+
[],68,"||this|jQuery||||attr|var|style||||||||||||||src|navigator|if|width|height|function|Microsoft|appVersion|border|padding|margin|span|px|indexOf|find|png|each|id|class|title|alt|background|filter|progid|DXImageTransform|AlphaImageLoader|sizingMethod|scale|blankgif|appName|Internet|Explorer|parseInt|MSIE|align|position|relative|display|inline|block|css|image|split|get|runtimeStyle".split("|"),0,{}));
|