compass-jquery-plugin 0.3.2.6 → 0.3.2.7.nil
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -1
- data/VERSION.yml +2 -2
- data/lib/handle_js_files.rb +21 -2
- data/templates/dynatree/jquery.dynatree.js +23 -20
- data/templates/dynatree/jquery.dynatree.min.js +38 -38
- data/templates/dynatree/jquery/dynatree/aero.scss +1 -1
- data/templates/dynatree/jquery/dynatree/aqua.scss +1 -1
- data/templates/dynatree/jquery/dynatree/crystal.scss +1 -1
- data/templates/dynatree/jquery/dynatree/xp.scss +2 -2
- data/templates/ical/jquery/ical.scss +10 -10
- data/templates/jqgrid/i18n/jqgrid/locale-lt.js +134 -0
- data/templates/jqgrid/i18n/jqgrid/locale-lt.min.js +7 -0
- data/templates/jqgrid/jquery.jqGrid.js +155 -65
- data/templates/jqgrid/jquery.jqGrid.min.js +396 -393
- data/templates/jqgrid/manifest.rb +2 -0
- data/templates/jqtouch/jquery.jqtouch.js +166 -195
- data/templates/jqtouch/jquery.jqtouch.min.js +1 -1
- data/templates/jqtouch/jquery/touch/apple.scss +5 -5
- data/templates/jqtouch/jquery/touch/default.scss +5 -5
- data/templates/jqtouch/jquery/touch/jqt.scss +12 -7
- data/templates/jqtouch/jquery/touch/jqtouch.scss +11 -13
- data/templates/jquery/history.adapter.jquery.js +54 -67
- data/templates/jquery/history.adapter.jquery.min.js +2 -2
- data/templates/jquery/history.html4.js +587 -680
- data/templates/jquery/history.html4.min.js +8 -18
- data/templates/jquery/history.js +1670 -1289
- data/templates/jquery/history.min.js +25 -21
- data/templates/jquery/i18n/jquery.ui/datepicker-ar.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-ar.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-tj.js +23 -0
- data/templates/jquery/i18n/jquery.ui/datepicker-tj.min.js +2 -0
- data/templates/jquery/jquery-ui.js +97 -61
- data/templates/jquery/jquery-ui.min.js +175 -175
- data/templates/jquery/jquery.dst.js +86 -151
- data/templates/jquery/jquery/ui/_theme.scss +13 -13
- data/templates/jquery/json2.js +214 -214
- data/templates/jquery/manifest.rb +2 -0
- data/templates/mobile/jquery.mobile.js +324 -225
- data/templates/mobile/jquery.mobile.min.js +4 -4
- data/templates/mobile/jquery/mobile/_base.scss +60 -48
- data/templates/mobile/jquery/mobile/default.scss +57 -80
- data/templates/mobile/jquery/mobile/default/icons-18-black.png +0 -0
- data/templates/mobile/jquery/mobile/default/icons-18-white.png +0 -0
- data/templates/mobile/jquery/mobile/default/icons-36-black.png +0 -0
- data/templates/mobile/jquery/mobile/default/icons-36-white.png +0 -0
- data/templates/mobile/jquery/mobile/valencia.scss +61 -73
- data/templates/mobile/jquery/mobile/valencia/icons-18-black.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/icons-18-white.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/icons-36-black.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/icons-36-white.png +0 -0
- data/templates/mobile/manifest.rb +0 -8
- data/templates/ribbon/jquery/ribbon/office.scss +12 -12
- data/templates/ribbon/jquery/ribbon/windows7.scss +12 -12
- data/templates/tiny_mce/manifest.rb +16 -0
- data/templates/tiny_mce/tiny_mce/jquery.tinymce.js +1 -1
- data/templates/tiny_mce/tiny_mce/langs/de.js +1 -0
- data/templates/tiny_mce/tiny_mce/langs/en.js +1 -222
- data/templates/tiny_mce/tiny_mce/plugins/advhr/css/advhr.css +1 -5
- data/templates/tiny_mce/tiny_mce/plugins/advhr/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/advhr/editor_plugin_src.js +1 -57
- data/templates/tiny_mce/tiny_mce/plugins/advhr/js/rule.js +1 -43
- data/templates/tiny_mce/tiny_mce/plugins/advhr/langs/de_dlg.js +1 -0
- data/templates/tiny_mce/tiny_mce/plugins/advhr/langs/en_dlg.js +1 -7
- data/templates/tiny_mce/tiny_mce/plugins/advhr/rule.htm +1 -58
- data/templates/tiny_mce/tiny_mce/plugins/advimage/css/advimage.css +1 -13
- data/templates/tiny_mce/tiny_mce/plugins/advimage/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/advimage/editor_plugin_src.js +1 -50
- data/templates/tiny_mce/tiny_mce/plugins/advimage/image.htm +1 -235
- data/templates/tiny_mce/tiny_mce/plugins/advimage/js/image.js +1 -445
- data/templates/tiny_mce/tiny_mce/plugins/advimage/langs/de_dlg.js +1 -0
- data/templates/tiny_mce/tiny_mce/plugins/advimage/langs/en_dlg.js +1 -45
- data/templates/tiny_mce/tiny_mce/plugins/advlink/css/advlink.css +1 -8
- data/templates/tiny_mce/tiny_mce/plugins/advlink/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/advlink/editor_plugin_src.js +1 -61
- data/templates/tiny_mce/tiny_mce/plugins/advlink/js/advlink.js +1 -525
- data/templates/tiny_mce/tiny_mce/plugins/advlink/langs/de_dlg.js +1 -0
- data/templates/tiny_mce/tiny_mce/plugins/advlink/langs/en_dlg.js +1 -54
- data/templates/tiny_mce/tiny_mce/plugins/advlink/link.htm +1 -338
- data/templates/tiny_mce/tiny_mce/plugins/advlist/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/advlist/editor_plugin_src.js +1 -154
- data/templates/tiny_mce/tiny_mce/plugins/autoresize/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/autoresize/editor_plugin_src.js +1 -119
- data/templates/tiny_mce/tiny_mce/plugins/autosave/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/autosave/editor_plugin_src.js +1 -431
- data/templates/tiny_mce/tiny_mce/plugins/autosave/langs/en.js +1 -4
- data/templates/tiny_mce/tiny_mce/plugins/bbcode/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/bbcode/editor_plugin_src.js +1 -120
- data/templates/tiny_mce/tiny_mce/plugins/contextmenu/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/contextmenu/editor_plugin_src.js +1 -154
- data/templates/tiny_mce/tiny_mce/plugins/directionality/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/directionality/editor_plugin_src.js +1 -82
- data/templates/tiny_mce/tiny_mce/plugins/emotions/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/emotions/editor_plugin_src.js +1 -43
- data/templates/tiny_mce/tiny_mce/plugins/emotions/emotions.htm +1 -41
- data/templates/tiny_mce/tiny_mce/plugins/emotions/js/emotions.js +1 -22
- data/templates/tiny_mce/tiny_mce/plugins/emotions/langs/de_dlg.js +1 -0
- data/templates/tiny_mce/tiny_mce/plugins/emotions/langs/en_dlg.js +1 -20
- data/templates/tiny_mce/tiny_mce/plugins/example/dialog.htm +1 -22
- data/templates/tiny_mce/tiny_mce/plugins/example/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/example/editor_plugin_src.js +1 -84
- data/templates/tiny_mce/tiny_mce/plugins/example/js/dialog.js +1 -19
- data/templates/tiny_mce/tiny_mce/plugins/example/langs/en.js +1 -3
- data/templates/tiny_mce/tiny_mce/plugins/example/langs/en_dlg.js +1 -3
- data/templates/tiny_mce/tiny_mce/plugins/fullpage/css/fullpage.css +1 -182
- data/templates/tiny_mce/tiny_mce/plugins/fullpage/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/fullpage/editor_plugin_src.js +1 -166
- data/templates/tiny_mce/tiny_mce/plugins/fullpage/fullpage.htm +1 -571
- data/templates/tiny_mce/tiny_mce/plugins/fullpage/js/fullpage.js +1 -492
- data/templates/tiny_mce/tiny_mce/plugins/fullpage/langs/de_dlg.js +1 -0
- data/templates/tiny_mce/tiny_mce/plugins/fullpage/langs/en_dlg.js +1 -85
- data/templates/tiny_mce/tiny_mce/plugins/fullscreen/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/fullscreen/editor_plugin_src.js +1 -159
- data/templates/tiny_mce/tiny_mce/plugins/fullscreen/fullscreen.htm +1 -109
- data/templates/tiny_mce/tiny_mce/plugins/iespell/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/iespell/editor_plugin_src.js +1 -54
- data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/editor_plugin_src.js +1 -696
- data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css +1 -90
- data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/template.htm +1 -387
- data/templates/tiny_mce/tiny_mce/plugins/insertdatetime/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/insertdatetime/editor_plugin_src.js +1 -83
- data/templates/tiny_mce/tiny_mce/plugins/layer/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/layer/editor_plugin_src.js +1 -214
- data/templates/tiny_mce/tiny_mce/plugins/legacyoutput/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/legacyoutput/editor_plugin_src.js +1 -139
- data/templates/tiny_mce/tiny_mce/plugins/media/css/media.css +1 -17
- data/templates/tiny_mce/tiny_mce/plugins/media/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/media/editor_plugin_src.js +1 -770
- data/templates/tiny_mce/tiny_mce/plugins/media/js/embed.js +1 -73
- data/templates/tiny_mce/tiny_mce/plugins/media/js/media.js +1 -340
- data/templates/tiny_mce/tiny_mce/plugins/media/langs/de_dlg.js +1 -0
- data/templates/tiny_mce/tiny_mce/plugins/media/langs/en_dlg.js +1 -109
- data/templates/tiny_mce/tiny_mce/plugins/media/media.htm +1 -812
- data/templates/tiny_mce/tiny_mce/plugins/nonbreaking/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/nonbreaking/editor_plugin_src.js +1 -53
- data/templates/tiny_mce/tiny_mce/plugins/noneditable/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/noneditable/editor_plugin_src.js +1 -90
- data/templates/tiny_mce/tiny_mce/plugins/pagebreak/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/pagebreak/editor_plugin_src.js +1 -74
- data/templates/tiny_mce/tiny_mce/plugins/paste/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/paste/editor_plugin_src.js +1 -899
- data/templates/tiny_mce/tiny_mce/plugins/paste/js/pastetext.js +1 -36
- data/templates/tiny_mce/tiny_mce/plugins/paste/js/pasteword.js +1 -51
- data/templates/tiny_mce/tiny_mce/plugins/paste/langs/de_dlg.js +1 -0
- data/templates/tiny_mce/tiny_mce/plugins/paste/langs/en_dlg.js +1 -5
- data/templates/tiny_mce/tiny_mce/plugins/paste/pastetext.htm +1 -27
- data/templates/tiny_mce/tiny_mce/plugins/paste/pasteword.htm +1 -21
- data/templates/tiny_mce/tiny_mce/plugins/preview/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/preview/editor_plugin_src.js +1 -53
- data/templates/tiny_mce/tiny_mce/plugins/preview/example.html +17 -16
- data/templates/tiny_mce/tiny_mce/plugins/preview/jscripts/embed.js +1 -73
- data/templates/tiny_mce/tiny_mce/plugins/preview/preview.html +10 -9
- data/templates/tiny_mce/tiny_mce/plugins/print/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/print/editor_plugin_src.js +1 -34
- data/templates/tiny_mce/tiny_mce/plugins/save/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/save/editor_plugin_src.js +1 -101
- data/templates/tiny_mce/tiny_mce/plugins/searchreplace/css/searchreplace.css +1 -6
- data/templates/tiny_mce/tiny_mce/plugins/searchreplace/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/searchreplace/editor_plugin_src.js +1 -61
- data/templates/tiny_mce/tiny_mce/plugins/searchreplace/js/searchreplace.js +1 -140
- data/templates/tiny_mce/tiny_mce/plugins/searchreplace/langs/de_dlg.js +1 -0
- data/templates/tiny_mce/tiny_mce/plugins/searchreplace/langs/en_dlg.js +1 -16
- data/templates/tiny_mce/tiny_mce/plugins/searchreplace/searchreplace.htm +1 -100
- data/templates/tiny_mce/tiny_mce/plugins/spellchecker/css/content.css +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/spellchecker/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/spellchecker/editor_plugin_src.js +1 -415
- data/templates/tiny_mce/tiny_mce/plugins/style/css/props.css +1 -13
- data/templates/tiny_mce/tiny_mce/plugins/style/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/style/editor_plugin_src.js +1 -55
- data/templates/tiny_mce/tiny_mce/plugins/style/js/props.js +1 -635
- data/templates/tiny_mce/tiny_mce/plugins/style/langs/de_dlg.js +1 -0
- data/templates/tiny_mce/tiny_mce/plugins/style/langs/en_dlg.js +1 -70
- data/templates/tiny_mce/tiny_mce/plugins/style/props.htm +1 -838
- data/templates/tiny_mce/tiny_mce/plugins/tabfocus/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/tabfocus/editor_plugin_src.js +1 -114
- data/templates/tiny_mce/tiny_mce/plugins/table/cell.htm +1 -178
- data/templates/tiny_mce/tiny_mce/plugins/table/css/cell.css +1 -17
- data/templates/tiny_mce/tiny_mce/plugins/table/css/row.css +1 -25
- data/templates/tiny_mce/tiny_mce/plugins/table/css/table.css +1 -13
- data/templates/tiny_mce/tiny_mce/plugins/table/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/table/editor_plugin_src.js +1 -1183
- data/templates/tiny_mce/tiny_mce/plugins/table/js/cell.js +1 -284
- data/templates/tiny_mce/tiny_mce/plugins/table/js/merge_cells.js +1 -27
- data/templates/tiny_mce/tiny_mce/plugins/table/js/row.js +1 -232
- data/templates/tiny_mce/tiny_mce/plugins/table/js/table.js +1 -450
- data/templates/tiny_mce/tiny_mce/plugins/table/langs/de_dlg.js +1 -0
- data/templates/tiny_mce/tiny_mce/plugins/table/langs/en_dlg.js +1 -74
- data/templates/tiny_mce/tiny_mce/plugins/table/merge_cells.htm +1 -32
- data/templates/tiny_mce/tiny_mce/plugins/table/row.htm +1 -157
- data/templates/tiny_mce/tiny_mce/plugins/table/table.htm +1 -188
- data/templates/tiny_mce/tiny_mce/plugins/template/blank.htm +1 -12
- data/templates/tiny_mce/tiny_mce/plugins/template/css/template.css +1 -23
- data/templates/tiny_mce/tiny_mce/plugins/template/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/template/editor_plugin_src.js +1 -159
- data/templates/tiny_mce/tiny_mce/plugins/template/js/template.js +1 -106
- data/templates/tiny_mce/tiny_mce/plugins/template/langs/de_dlg.js +1 -0
- data/templates/tiny_mce/tiny_mce/plugins/template/langs/en_dlg.js +1 -15
- data/templates/tiny_mce/tiny_mce/plugins/template/template.htm +1 -31
- data/templates/tiny_mce/tiny_mce/plugins/visualchars/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/visualchars/editor_plugin_src.js +1 -83
- data/templates/tiny_mce/tiny_mce/plugins/wordcount/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/wordcount/editor_plugin_src.js +1 -114
- data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/abbr.htm +1 -142
- data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/acronym.htm +1 -142
- data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/attributes.htm +1 -149
- data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/cite.htm +1 -142
- data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/css/attributes.css +1 -11
- data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/css/popup.css +1 -9
- data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/del.htm +1 -162
- data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js +1 -132
- data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/ins.htm +1 -162
- data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/abbr.js +1 -28
- data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/acronym.js +1 -28
- data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/attributes.js +1 -125
- data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/cite.js +1 -28
- data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/del.js +1 -53
- data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/element_common.js +1 -229
- data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/ins.js +1 -53
- data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/langs/de_dlg.js +1 -0
- data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js +1 -32
- data/templates/tiny_mce/tiny_mce/themes/advanced/about.htm +1 -52
- data/templates/tiny_mce/tiny_mce/themes/advanced/anchor.htm +1 -26
- data/templates/tiny_mce/tiny_mce/themes/advanced/charmap.htm +1 -51
- data/templates/tiny_mce/tiny_mce/themes/advanced/color_picker.htm +1 -74
- data/templates/tiny_mce/tiny_mce/themes/advanced/editor_template.js +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/editor_template_src.js +1 -1328
- data/templates/tiny_mce/tiny_mce/themes/advanced/image.htm +1 -80
- data/templates/tiny_mce/tiny_mce/themes/advanced/js/about.js +1 -73
- data/templates/tiny_mce/tiny_mce/themes/advanced/js/anchor.js +1 -42
- data/templates/tiny_mce/tiny_mce/themes/advanced/js/charmap.js +1 -354
- data/templates/tiny_mce/tiny_mce/themes/advanced/js/color_picker.js +1 -329
- data/templates/tiny_mce/tiny_mce/themes/advanced/js/image.js +1 -247
- data/templates/tiny_mce/tiny_mce/themes/advanced/js/link.js +1 -153
- data/templates/tiny_mce/tiny_mce/themes/advanced/js/source_editor.js +1 -56
- data/templates/tiny_mce/tiny_mce/themes/advanced/langs/de.js +1 -0
- data/templates/tiny_mce/tiny_mce/themes/advanced/langs/de_dlg.js +1 -0
- data/templates/tiny_mce/tiny_mce/themes/advanced/langs/en.js +1 -68
- data/templates/tiny_mce/tiny_mce/themes/advanced/langs/en_dlg.js +1 -54
- data/templates/tiny_mce/tiny_mce/themes/advanced/link.htm +1 -57
- data/templates/tiny_mce/tiny_mce/themes/advanced/shortcuts.htm +1 -47
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/default/content.css +1 -47
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/default/dialog.css +1 -117
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/default/ui.css +1 -213
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/highcontrast/content.css +1 -23
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/highcontrast/dialog.css +1 -105
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/highcontrast/ui.css +1 -101
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/content.css +1 -46
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/dialog.css +1 -116
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/ui.css +1 -215
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/ui_black.css +1 -8
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css +1 -5
- data/templates/tiny_mce/tiny_mce/themes/advanced/source_editor.htm +1 -25
- data/templates/tiny_mce/tiny_mce/themes/simple/editor_template.js +1 -1
- data/templates/tiny_mce/tiny_mce/themes/simple/editor_template_src.js +1 -84
- data/templates/tiny_mce/tiny_mce/themes/simple/langs/de.js +1 -0
- data/templates/tiny_mce/tiny_mce/themes/simple/langs/en.js +1 -11
- data/templates/tiny_mce/tiny_mce/themes/simple/skins/default/content.css +1 -25
- data/templates/tiny_mce/tiny_mce/themes/simple/skins/default/ui.css +1 -32
- data/templates/tiny_mce/tiny_mce/themes/simple/skins/o2k7/content.css +1 -17
- data/templates/tiny_mce/tiny_mce/themes/simple/skins/o2k7/ui.css +1 -35
- data/templates/tiny_mce/tiny_mce/tiny_mce.js +1 -1
- data/templates/tiny_mce/tiny_mce/tiny_mce_popup.js +1 -5
- data/templates/tiny_mce/tiny_mce/utils/editable_selects.js +1 -70
- data/templates/tiny_mce/tiny_mce/utils/form_utils.js +1 -207
- data/templates/tiny_mce/tiny_mce/utils/mctabs.js +1 -162
- data/templates/tiny_mce/tiny_mce/utils/validate.js +1 -252
- metadata +32 -17
- data/templates/mobile/jquery/mobile/default/form-check-off.png +0 -0
- data/templates/mobile/jquery/mobile/default/form-check-on.png +0 -0
- data/templates/mobile/jquery/mobile/default/form-radio-off.png +0 -0
- data/templates/mobile/jquery/mobile/default/form-radio-on.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/form-check-off.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/form-check-on.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/form-radio-off.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/form-radio-on.png +0 -0
@@ -46,6 +46,8 @@ javascript 'i18n/jqgrid/locale-it.js'
|
|
46
46
|
javascript 'i18n/jqgrid/locale-it.min.js'
|
47
47
|
javascript 'i18n/jqgrid/locale-ja.js'
|
48
48
|
javascript 'i18n/jqgrid/locale-ja.min.js'
|
49
|
+
javascript 'i18n/jqgrid/locale-lt.js'
|
50
|
+
javascript 'i18n/jqgrid/locale-lt.min.js'
|
49
51
|
javascript 'i18n/jqgrid/locale-nl.js'
|
50
52
|
javascript 'i18n/jqgrid/locale-nl.min.js'
|
51
53
|
javascript 'i18n/jqgrid/locale-no.js'
|
@@ -1,93 +1,92 @@
|
|
1
1
|
/*
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
3
|
+
_/ _/_/ _/_/_/_/_/ _/
|
4
|
+
_/ _/ _/ _/_/ _/ _/ _/_/_/ _/_/_/
|
5
|
+
_/ _/ _/_/ _/ _/ _/ _/ _/ _/ _/ _/
|
6
|
+
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
|
7
|
+
_/ _/_/ _/ _/ _/_/ _/_/_/ _/_/_/ _/ _/
|
8
|
+
_/
|
9
|
+
_/
|
10
10
|
|
11
|
-
|
12
|
-
|
11
|
+
Created by David Kaneda <http://www.davidkaneda.com>
|
12
|
+
Documentation and issue tracking on GitHub <http://wiki.github.com/senchalabs/jQTouch/>
|
13
13
|
|
14
|
-
|
15
|
-
|
14
|
+
Special thanks to Jonathan Stark <http://jonathanstark.com/>
|
15
|
+
and pinch/zoom <http://www.pinchzoom.com/>
|
16
16
|
|
17
|
-
|
18
|
-
|
17
|
+
(c) 2010 by jQTouch project members.
|
18
|
+
See LICENSE.txt for license.
|
19
19
|
|
20
|
-
|
21
|
-
|
22
|
-
|
20
|
+
$Revision: 164 $
|
21
|
+
$Date: Tue Mar 22 17:42:13 EDT 2011 $
|
22
|
+
$LastChangedBy: jonathanstark $
|
23
23
|
|
24
24
|
|
25
25
|
|
26
|
-
|
26
|
+
*/
|
27
27
|
|
28
28
|
(function($) {
|
29
29
|
$.jQTouch = function(options) {
|
30
30
|
|
31
31
|
// Initialize internal jQT variables
|
32
32
|
var $body,
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
};
|
33
|
+
$head=$('head'),
|
34
|
+
initialPageId='',
|
35
|
+
hist=[],
|
36
|
+
newPageCount=0,
|
37
|
+
jQTSettings={},
|
38
|
+
currentPage='',
|
39
|
+
orientation='portrait',
|
40
|
+
tapReady=true,
|
41
|
+
lastTime=0,
|
42
|
+
lastAnimationTime=0,
|
43
|
+
touchSelectors=[],
|
44
|
+
publicObj={},
|
45
|
+
tapBuffer=351,
|
46
|
+
extensions=$.jQTouch.prototype.extensions,
|
47
|
+
animations=[],
|
48
|
+
hairExtensions='',
|
49
|
+
defaults = {
|
50
|
+
addGlossToIcon: true,
|
51
|
+
backSelector: '.back, .cancel, .goback',
|
52
|
+
cacheGetRequests: true,
|
53
|
+
debug: false,
|
54
|
+
fallback2dAnimation: 'fade',
|
55
|
+
fixedViewport: true,
|
56
|
+
formSelector: 'form',
|
57
|
+
fullScreen: true,
|
58
|
+
fullScreenClass: 'fullscreen',
|
59
|
+
hoverDelay: 50,
|
60
|
+
icon: null,
|
61
|
+
icon4: null, // experimental
|
62
|
+
moveThreshold: 10,
|
63
|
+
preloadImages: false,
|
64
|
+
pressDelay: 1000,
|
65
|
+
startupScreen: null,
|
66
|
+
statusBar: 'default', // other options: black-translucent, black
|
67
|
+
submitSelector: '.submit',
|
68
|
+
touchSelector: 'a, .touch',
|
69
|
+
useAnimations: true,
|
70
|
+
useFastTouch: true, // experimental
|
71
|
+
animations: [ // highest to lowest priority
|
72
|
+
{selector:'.cube', name:'cubeleft', is3d:true},
|
73
|
+
{selector:'.cubeleft', name:'cubeleft', is3d:true},
|
74
|
+
{selector:'.cuberight', name:'cuberight', is3d:true},
|
75
|
+
{selector:'.dissolve', name:'dissolve', is3d:false},
|
76
|
+
{selector:'.fade', name:'fade', is3d:false},
|
77
|
+
{selector:'.flip', name:'flipleft', is3d:true},
|
78
|
+
{selector:'.flipleft', name:'flipleft', is3d:true},
|
79
|
+
{selector:'.flipright', name:'flipright', is3d:true},
|
80
|
+
{selector:'.pop', name:'pop', is3d:true},
|
81
|
+
{selector:'.slide', name:'slideleft', is3d:false},
|
82
|
+
{selector:'.slidedown', name:'slidedown', is3d:false},
|
83
|
+
{selector:'.slideleft', name:'slideleft', is3d:false},
|
84
|
+
{selector:'.slideright', name:'slideright', is3d:false},
|
85
|
+
{selector:'.slideup', name:'slideup', is3d:false},
|
86
|
+
{selector:'.swap', name:'swapleft', is3d:true},
|
87
|
+
{selector:'#jqt > * > ul li a', name:'slideleft', is3d:false}
|
88
|
+
]
|
89
|
+
};
|
91
90
|
|
92
91
|
function _debug(message) {
|
93
92
|
now = (new Date).getTime();
|
@@ -95,21 +94,24 @@
|
|
95
94
|
lastTime = now;
|
96
95
|
if (jQTSettings.debug) {
|
97
96
|
if (message) {
|
98
|
-
|
97
|
+
_log(delta + ': ' + message);
|
99
98
|
} else {
|
100
|
-
|
99
|
+
_log(delta + ': ' + 'Called ' + arguments.callee.caller.name);
|
101
100
|
}
|
102
101
|
}
|
103
102
|
}
|
104
|
-
|
103
|
+
function _log(message) {
|
104
|
+
if (window.console !== undefined) {
|
105
|
+
console.log(message);
|
106
|
+
}
|
107
|
+
}
|
105
108
|
function addAnimation(animation) {
|
106
109
|
_debug();
|
107
110
|
if (typeof(animation.selector) === 'string' && typeof(animation.name) === 'string') {
|
108
111
|
animations.push(animation);
|
109
112
|
}
|
110
113
|
}
|
111
|
-
|
112
|
-
function addPageToHistory(page, animation, reverse) {
|
114
|
+
function addPageToHistory(page, animation) {
|
113
115
|
_debug();
|
114
116
|
hist.unshift({
|
115
117
|
page: page,
|
@@ -118,7 +120,6 @@
|
|
118
120
|
id: page.attr('id')
|
119
121
|
});
|
120
122
|
}
|
121
|
-
|
122
123
|
function clickHandler(e) {
|
123
124
|
_debug();
|
124
125
|
|
@@ -153,8 +154,7 @@
|
|
153
154
|
}
|
154
155
|
|
155
156
|
}
|
156
|
-
|
157
|
-
function doNavigation(fromPage, toPage, animation, backwards) {
|
157
|
+
function doNavigation(fromPage, toPage, animation, goingBack) {
|
158
158
|
_debug();
|
159
159
|
|
160
160
|
// Error check for target page
|
@@ -174,9 +174,9 @@
|
|
174
174
|
// Collapse the keyboard
|
175
175
|
$(':focus').blur();
|
176
176
|
|
177
|
-
//
|
177
|
+
// Position the incoming page so toolbar is at top of viewport regardless of scroll position on from page
|
178
178
|
// toPage.css('top', window.pageYOffset);
|
179
|
-
|
179
|
+
|
180
180
|
fromPage.trigger('pageAnimationStart', { direction: 'out' });
|
181
181
|
toPage.trigger('pageAnimationStart', { direction: 'in' });
|
182
182
|
|
@@ -191,7 +191,7 @@
|
|
191
191
|
|
192
192
|
// Reverse animation if need be
|
193
193
|
var finalAnimationName;
|
194
|
-
if (
|
194
|
+
if (goingBack) {
|
195
195
|
if (animation.name.indexOf('left') > 0) {
|
196
196
|
finalAnimationName = animation.name.replace(/left/, 'right');
|
197
197
|
} else if (animation.name.indexOf('right') > 0) {
|
@@ -211,8 +211,10 @@
|
|
211
211
|
|
212
212
|
// Bind internal "cleanup" callback
|
213
213
|
fromPage.bind('webkitAnimationEnd', navigationEndHandler);
|
214
|
+
fromPage.bind('webkitTransitionEnd', navigationEndHandler);
|
214
215
|
|
215
216
|
// Trigger animations
|
217
|
+
scrollTo(0, 0);
|
216
218
|
toPage.addClass(finalAnimationName + ' in current');
|
217
219
|
fromPage.addClass(finalAnimationName + ' out');
|
218
220
|
|
@@ -224,11 +226,13 @@
|
|
224
226
|
// Define private navigationEnd callback
|
225
227
|
function navigationEndHandler(event) {
|
226
228
|
_debug();
|
227
|
-
|
229
|
+
|
228
230
|
if ($.support.animationEvents && animation && jQTSettings.useAnimations) {
|
229
231
|
fromPage.unbind('webkitAnimationEnd', navigationEndHandler);
|
232
|
+
fromPage.unbind('webkitTransitionEnd', navigationEndHandler);
|
230
233
|
fromPage.removeClass(finalAnimationName + ' out current');
|
231
234
|
toPage.removeClass(finalAnimationName + ' in');
|
235
|
+
// scrollTo(0, 0);
|
232
236
|
// toPage.css('top', 0);
|
233
237
|
} else {
|
234
238
|
fromPage.removeClass(finalAnimationName + ' out current');
|
@@ -236,7 +240,7 @@
|
|
236
240
|
|
237
241
|
// Housekeeping
|
238
242
|
currentPage = toPage;
|
239
|
-
if (
|
243
|
+
if (goingBack) {
|
240
244
|
hist.shift();
|
241
245
|
} else {
|
242
246
|
addPageToHistory(currentPage, animation);
|
@@ -256,21 +260,19 @@
|
|
256
260
|
// We's out
|
257
261
|
return true;
|
258
262
|
}
|
259
|
-
|
260
263
|
function getOrientation() {
|
261
264
|
_debug();
|
262
265
|
return orientation;
|
263
266
|
}
|
264
|
-
|
265
267
|
function goBack() {
|
266
268
|
_debug();
|
267
269
|
|
268
270
|
// Error checking
|
269
|
-
if (hist.length < 1) {
|
271
|
+
if (hist.length < 1 ) {
|
270
272
|
_debug('History is empty.');
|
271
273
|
}
|
272
274
|
|
273
|
-
if (hist.length === 1) {
|
275
|
+
if (hist.length === 1 ) {
|
274
276
|
_debug('You are on the first panel.');
|
275
277
|
}
|
276
278
|
|
@@ -284,18 +286,17 @@
|
|
284
286
|
}
|
285
287
|
|
286
288
|
}
|
287
|
-
|
288
289
|
function goTo(toPage, animation, reverse) {
|
289
290
|
_debug();
|
290
291
|
|
291
292
|
if (reverse) {
|
292
|
-
|
293
|
+
_log('The reverse parameter of the goTo() function has been deprecated.');
|
293
294
|
}
|
294
295
|
|
295
296
|
var fromPage = hist[0].page;
|
296
297
|
|
297
298
|
if (typeof animation === 'string') {
|
298
|
-
for (var i
|
299
|
+
for (var i=0, max=animations.length; i < max; i++) {
|
299
300
|
if (animations[i].name === animation) {
|
300
301
|
animation = animations[i];
|
301
302
|
break;
|
@@ -315,27 +316,25 @@
|
|
315
316
|
}
|
316
317
|
|
317
318
|
}
|
318
|
-
if (doNavigation(fromPage, toPage, animation
|
319
|
+
if (doNavigation(fromPage, toPage, animation)) {
|
319
320
|
return publicObj;
|
320
321
|
} else {
|
321
322
|
_debug('Could not animate pages.');
|
322
323
|
return false;
|
323
324
|
}
|
324
325
|
}
|
325
|
-
|
326
326
|
function hashChangeHandler(e) {
|
327
327
|
_debug();
|
328
328
|
if (hist[1] === undefined) {
|
329
329
|
_debug('There is no previous page in history');
|
330
330
|
} else {
|
331
|
-
if
|
331
|
+
if(location.hash === hist[1].hash) {
|
332
332
|
goBack();
|
333
333
|
} else {
|
334
334
|
_debug(location.hash + ' !== ' + hist[1].hash);
|
335
335
|
}
|
336
|
-
}
|
336
|
+
}
|
337
337
|
}
|
338
|
-
|
339
338
|
function init(options) {
|
340
339
|
_debug();
|
341
340
|
jQTSettings = $.extend({}, defaults, options);
|
@@ -344,8 +343,7 @@
|
|
344
343
|
if (jQTSettings.preloadImages) {
|
345
344
|
for (var i = jQTSettings.preloadImages.length - 1; i >= 0; i--) {
|
346
345
|
(new Image()).src = jQTSettings.preloadImages[i];
|
347
|
-
}
|
348
|
-
;
|
346
|
+
};
|
349
347
|
}
|
350
348
|
|
351
349
|
// Set appropriate icon (retina display stuff is experimental)
|
@@ -388,7 +386,6 @@
|
|
388
386
|
}
|
389
387
|
|
390
388
|
}
|
391
|
-
|
392
389
|
function insertPages(nodes, animation) {
|
393
390
|
_debug();
|
394
391
|
|
@@ -415,38 +412,35 @@
|
|
415
412
|
return false;
|
416
413
|
}
|
417
414
|
}
|
418
|
-
|
419
415
|
function mousedownHandler(e) {
|
420
416
|
var timeDiff = (new Date()).getTime() - lastAnimationTime;
|
421
417
|
if (timeDiff < tapBuffer) {
|
422
418
|
return false;
|
423
419
|
}
|
424
420
|
}
|
425
|
-
|
426
421
|
function orientationChangeHandler() {
|
427
422
|
_debug();
|
428
423
|
|
429
424
|
orientation = Math.abs(window.orientation) == 90 ? 'landscape' : 'portrait';
|
430
425
|
$body.removeClass('portrait landscape').addClass(orientation).trigger('turn', {orientation: orientation});
|
431
426
|
}
|
432
|
-
|
433
427
|
function setHash(hash) {
|
434
|
-
_debug();
|
428
|
+
_debug('setHash is off at the moment');
|
429
|
+
return;
|
435
430
|
|
436
431
|
// Trim leading # if need be
|
437
432
|
hash = hash.replace(/^#/, ''),
|
438
433
|
|
439
|
-
|
440
|
-
|
434
|
+
// Remove listener
|
435
|
+
window.onhashchange = null;
|
441
436
|
|
442
437
|
// Change hash
|
443
438
|
location.hash = '#' + hash;
|
444
|
-
|
439
|
+
|
445
440
|
// Add listener
|
446
441
|
window.onhashchange = hashChangeHandler;
|
447
442
|
|
448
443
|
}
|
449
|
-
|
450
444
|
function showPageByHref(href, options) {
|
451
445
|
_debug();
|
452
446
|
|
@@ -489,7 +483,6 @@
|
|
489
483
|
settings.$referrer.unselect();
|
490
484
|
}
|
491
485
|
}
|
492
|
-
|
493
486
|
function submitHandler(e, callback) {
|
494
487
|
_debug();
|
495
488
|
|
@@ -497,7 +490,7 @@
|
|
497
490
|
|
498
491
|
e.preventDefault();
|
499
492
|
|
500
|
-
var $form = (typeof(e)
|
493
|
+
var $form = (typeof(e)==='string') ? $(e).eq(0) : (e.target ? $(e.target) : $(e));
|
501
494
|
|
502
495
|
_debug($form.attr('action'));
|
503
496
|
|
@@ -512,7 +505,6 @@
|
|
512
505
|
}
|
513
506
|
return false;
|
514
507
|
}
|
515
|
-
|
516
508
|
function submitParentForm($el) {
|
517
509
|
_debug();
|
518
510
|
|
@@ -528,19 +520,16 @@
|
|
528
520
|
}
|
529
521
|
return true;
|
530
522
|
}
|
531
|
-
|
532
523
|
function supportForAnimationEvents() {
|
533
524
|
_debug();
|
534
525
|
|
535
526
|
return (typeof WebKitAnimationEvent != 'undefined');
|
536
527
|
}
|
537
|
-
|
538
528
|
function supportForCssMatrix() {
|
539
529
|
_debug();
|
540
530
|
|
541
531
|
return (typeof WebKitCSSMatrix != 'undefined');
|
542
532
|
}
|
543
|
-
|
544
533
|
function supportForTouchEvents() {
|
545
534
|
_debug();
|
546
535
|
|
@@ -559,9 +548,7 @@
|
|
559
548
|
} else {
|
560
549
|
return false;
|
561
550
|
}
|
562
|
-
}
|
563
|
-
|
564
|
-
;
|
551
|
+
};
|
565
552
|
function supportForTransform3d() {
|
566
553
|
_debug();
|
567
554
|
|
@@ -590,10 +577,8 @@
|
|
590
577
|
// Pass back result
|
591
578
|
// _debug('Support for 3d transforms: ' + result);
|
592
579
|
return result;
|
593
|
-
}
|
594
|
-
|
595
|
-
;
|
596
|
-
function tapHandler(e) {
|
580
|
+
};
|
581
|
+
function tapHandler(e){
|
597
582
|
_debug();
|
598
583
|
|
599
584
|
if (!tapReady) {
|
@@ -608,7 +593,7 @@
|
|
608
593
|
if (!$el.is(touchSelectors.join(', '))) {
|
609
594
|
var $el = $(e.target).closest(touchSelectors.join(', '));
|
610
595
|
}
|
611
|
-
|
596
|
+
|
612
597
|
// Make sure we have a tappable element
|
613
598
|
if (!$el.length || !$el.attr('href')) {
|
614
599
|
_debug('Could not find a link related to tapped element');
|
@@ -617,8 +602,8 @@
|
|
617
602
|
|
618
603
|
// Init some vars
|
619
604
|
var target = $el.attr('target'),
|
620
|
-
|
621
|
-
|
605
|
+
hash = $el.attr('hash'),
|
606
|
+
animation = null;
|
622
607
|
|
623
608
|
if ($el.isExternalLink()) {
|
624
609
|
$el.unselect();
|
@@ -645,23 +630,22 @@
|
|
645
630
|
} else {
|
646
631
|
|
647
632
|
// Figure out the animation to use
|
648
|
-
for (var i
|
633
|
+
for (var i=0, max=animations.length; i < max; i++) {
|
649
634
|
if ($el.is(animations[i].selector)) {
|
650
635
|
animation = animations[i];
|
651
636
|
break;
|
652
637
|
}
|
653
|
-
}
|
654
|
-
;
|
638
|
+
};
|
655
639
|
|
656
640
|
if (!animation) {
|
657
|
-
|
641
|
+
_log('Animation could not be found. Using slideleft.');
|
658
642
|
animation = 'slideleft';
|
659
643
|
}
|
660
644
|
|
661
645
|
if (hash && hash !== '#') {
|
662
646
|
// Internal href
|
663
647
|
$el.addClass('active');
|
664
|
-
goTo($(hash).data('referrer', $el), animation, $
|
648
|
+
goTo($(hash).data('referrer', $el), animation, $el.hasClass('reverse'));
|
665
649
|
return false;
|
666
650
|
|
667
651
|
} else {
|
@@ -679,10 +663,9 @@
|
|
679
663
|
}
|
680
664
|
}
|
681
665
|
}
|
682
|
-
|
683
666
|
function touchStartHandler(e) {
|
684
667
|
_debug();
|
685
|
-
|
668
|
+
|
686
669
|
if (!tapReady) {
|
687
670
|
_debug('TouchStart handler aborted because tap is not ready');
|
688
671
|
e.preventDefault();
|
@@ -698,14 +681,14 @@
|
|
698
681
|
}
|
699
682
|
|
700
683
|
var startTime = (new Date).getTime(),
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
684
|
+
hoverTimeout = null,
|
685
|
+
pressTimeout = null,
|
686
|
+
touch,
|
687
|
+
startX,
|
688
|
+
startY,
|
689
|
+
deltaX = 0,
|
690
|
+
deltaY = 0,
|
691
|
+
deltaT = 0;
|
709
692
|
|
710
693
|
if (event.changedTouches && event.changedTouches.length) {
|
711
694
|
touch = event.changedTouches[0];
|
@@ -714,31 +697,31 @@
|
|
714
697
|
}
|
715
698
|
|
716
699
|
// Prep the element
|
717
|
-
$el.bind('touchmove',
|
700
|
+
$el.bind('touchmove',touchMoveHandler).bind('touchend',touchEndHandler).bind('touchcancel',touchCancelHandler);
|
718
701
|
|
719
702
|
hoverTimeout = setTimeout(function() {
|
720
703
|
$el.makeActive();
|
721
704
|
}, jQTSettings.hoverDelay);
|
722
705
|
|
723
706
|
pressTimeout = setTimeout(function() {
|
724
|
-
$el.unbind('touchmove',
|
707
|
+
$el.unbind('touchmove',touchMoveHandler).unbind('touchend',touchEndHandler).unbind('touchcancel',touchCancelHandler);
|
725
708
|
$el.unselect();
|
726
709
|
clearTimeout(hoverTimeout);
|
727
710
|
$el.trigger('press');
|
728
711
|
}, jQTSettings.pressDelay);
|
729
712
|
|
730
713
|
// Private touch functions
|
731
|
-
function
|
714
|
+
function touchCancelHandler(e) {
|
732
715
|
_debug();
|
733
716
|
clearTimeout(hoverTimeout);
|
734
717
|
$el.unselect();
|
735
|
-
$el.unbind('touchmove',
|
718
|
+
$el.unbind('touchmove',touchMoveHandler).unbind('touchend',touchEndHandler).unbind('touchcancel',touchCancelHandler);
|
736
719
|
}
|
737
720
|
|
738
|
-
function
|
721
|
+
function touchEndHandler(e) {
|
739
722
|
_debug();
|
740
723
|
// updateChanges();
|
741
|
-
$el.unbind('touchend',
|
724
|
+
$el.unbind('touchend',touchEndHandler).unbind('touchcancel',touchCancelHandler);
|
742
725
|
clearTimeout(hoverTimeout);
|
743
726
|
clearTimeout(pressTimeout);
|
744
727
|
if (Math.abs(deltaX) < jQTSettings.moveThreshold && Math.abs(deltaY) < jQTSettings.moveThreshold && deltaT < jQTSettings.pressDelay) {
|
@@ -750,7 +733,7 @@
|
|
750
733
|
}
|
751
734
|
}
|
752
735
|
|
753
|
-
function
|
736
|
+
function touchMoveHandler(e) {
|
754
737
|
// _debug();
|
755
738
|
updateChanges();
|
756
739
|
var absX = Math.abs(deltaX);
|
@@ -762,7 +745,7 @@
|
|
762
745
|
} else {
|
763
746
|
direction = 'right';
|
764
747
|
}
|
765
|
-
$el.unbind('touchmove',
|
748
|
+
$el.unbind('touchmove',touchMoveHandler).unbind('touchend',touchEndHandler).unbind('touchcancel',touchCancelHandler);
|
766
749
|
$el.trigger('swipe', {direction:direction, deltaX:deltaX, deltaY: deltaY});
|
767
750
|
}
|
768
751
|
$el.unselect();
|
@@ -796,10 +779,10 @@
|
|
796
779
|
$.support.transform3d = supportForTransform3d();
|
797
780
|
|
798
781
|
if (!$.support.touch) {
|
799
|
-
|
782
|
+
_log('This device does not support touch interaction, or it has been deactivated by the developer. Some features might be unavailable.');
|
800
783
|
}
|
801
784
|
if (!$.support.transform3d) {
|
802
|
-
|
785
|
+
_log('This device does not support 3d animation. 2d animations will be used instead.');
|
803
786
|
}
|
804
787
|
|
805
788
|
// Define public jQuery functions
|
@@ -840,7 +823,7 @@
|
|
840
823
|
}
|
841
824
|
|
842
825
|
// Add extensions
|
843
|
-
for (var i
|
826
|
+
for (var i=0, max=extensions.length; i < max; i++) {
|
844
827
|
var fn = extensions[i];
|
845
828
|
if ($.isFunction(fn)) {
|
846
829
|
$.extend(publicObj, fn(publicObj));
|
@@ -849,20 +832,20 @@
|
|
849
832
|
|
850
833
|
// Set up animations array
|
851
834
|
if (jQTSettings['cubeSelector']) {
|
852
|
-
|
835
|
+
_log('NOTE: cubeSelector has been deprecated. Please use cubeleftSelector instead.');
|
853
836
|
jQTSettings['cubeleftSelector'] = jQTSettings['cubeSelector'];
|
854
837
|
}
|
855
838
|
if (jQTSettings['flipSelector']) {
|
856
|
-
|
839
|
+
_log('NOTE: flipSelector has been deprecated. Please use flipleftSelector instead.');
|
857
840
|
jQTSettings['flipleftSelector'] = jQTSettings['flipSelector'];
|
858
841
|
}
|
859
842
|
if (jQTSettings['slideSelector']) {
|
860
|
-
|
843
|
+
_log('NOTE: slideSelector has been deprecated. Please use slideleftSelector instead.');
|
861
844
|
jQTSettings['slideleftSelector'] = jQTSettings['slideSelector'];
|
862
845
|
}
|
863
|
-
for (var i
|
846
|
+
for (var i=0, max=defaults.animations.length; i < max; i++) {
|
864
847
|
var animation = defaults.animations[i];
|
865
|
-
if
|
848
|
+
if(jQTSettings[animation.name + 'Selector'] !== undefined){
|
866
849
|
animation.selector = jQTSettings[animation.name + 'Selector'];
|
867
850
|
}
|
868
851
|
addAnimation(animation);
|
@@ -878,34 +861,31 @@
|
|
878
861
|
// Make sure we have a jqt element
|
879
862
|
$body = $('#jqt');
|
880
863
|
if ($body.length === 0) {
|
881
|
-
|
864
|
+
_log('Could not find an element with the id "jqt", so the body id has been set to "jqt". If you are having any problems, wrapping your panels in a div with the id "jqt" might help.');
|
882
865
|
$body = $('body').attr('id', 'jqt');
|
883
866
|
}
|
884
867
|
|
885
|
-
// Add some
|
868
|
+
// Add some specific css if need be
|
886
869
|
if ($.support.transform3d) {
|
887
870
|
$body.addClass('supports3d');
|
888
871
|
}
|
889
|
-
|
890
872
|
if (jQTSettings.fullScreenClass && window.navigator.standalone == true) {
|
891
873
|
$body.addClass(jQTSettings.fullScreenClass + ' ' + jQTSettings.statusBar);
|
892
874
|
}
|
875
|
+
if (window.navigator.userAgent.match(/Android/ig)) { // Grr... added to postion checkbox labels. Lame I know. - js
|
876
|
+
$body.addClass('android');
|
877
|
+
}
|
893
878
|
|
894
879
|
// Bind events
|
895
880
|
$body.bind('touchstart', touchStartHandler)
|
896
|
-
|
897
|
-
|
898
|
-
|
899
|
-
|
900
|
-
|
901
|
-
|
902
|
-
|
903
|
-
//
|
904
|
-
if (location.hash.length) {
|
905
|
-
location.replace(location.href.split('#')[0]);
|
906
|
-
}
|
907
|
-
|
908
|
-
// Make sure exactly one child of body has "current" class
|
881
|
+
.bind('click', clickHandler)
|
882
|
+
.bind('mousedown', mousedownHandler)
|
883
|
+
.bind('orientationchange', orientationChangeHandler)
|
884
|
+
.bind('submit', submitHandler)
|
885
|
+
.bind('tap', tapHandler)
|
886
|
+
.trigger('orientationchange');
|
887
|
+
|
888
|
+
// Determine what the "current" (initial) panel should be
|
909
889
|
if ($('#jqt > .current').length == 0) {
|
910
890
|
currentPage = $('#jqt > *:first');
|
911
891
|
} else {
|
@@ -916,13 +896,12 @@
|
|
916
896
|
// Go to the top of the "current" page
|
917
897
|
$(currentPage).addClass('current');
|
918
898
|
initialPageId = $(currentPage).attr('id');
|
919
|
-
|
920
|
-
history.replaceState(null, null, '#' + initialPageId);
|
921
|
-
} else {
|
922
|
-
setHash(initialPageId);
|
923
|
-
}
|
899
|
+
setHash(initialPageId);
|
924
900
|
addPageToHistory(currentPage);
|
925
901
|
scrollTo(0, 0);
|
902
|
+
|
903
|
+
// Make sure none of the panels yank the location bar into view
|
904
|
+
$('#jqt > *').css('minHeight', window.innerHeight);
|
926
905
|
|
927
906
|
});
|
928
907
|
|
@@ -6136,22 +6115,14 @@ function changeBack(target) {
|
|
6136
6115
|
|
6137
6116
|
// Listeners for all possible events
|
6138
6117
|
var cache = window.applicationCache;
|
6139
|
-
|
6140
|
-
|
6141
|
-
|
6142
|
-
|
6143
|
-
|
6144
|
-
|
6145
|
-
|
6146
|
-
|
6147
|
-
window.addEventListener('cached', logEvent, false);
|
6148
|
-
window.addEventListener('checking', logEvent, false);
|
6149
|
-
window.addEventListener('downloading', logEvent, false);
|
6150
|
-
window.addEventListener('error', logEvent, false);
|
6151
|
-
window.addEventListener('noupdate', logEvent, false);
|
6152
|
-
window.addEventListener('obsolete', logEvent, false);
|
6153
|
-
window.addEventListener('progress', logEvent, false);
|
6154
|
-
window.addEventListener('updateready', logEvent, false);
|
6118
|
+
cache.addEventListener('cached', logEvent, false);
|
6119
|
+
cache.addEventListener('checking', logEvent, false);
|
6120
|
+
cache.addEventListener('downloading', logEvent, false);
|
6121
|
+
cache.addEventListener('error', logEvent, false);
|
6122
|
+
cache.addEventListener('noupdate', logEvent, false);
|
6123
|
+
cache.addEventListener('obsolete', logEvent, false);
|
6124
|
+
cache.addEventListener('progress', logEvent, false);
|
6125
|
+
cache.addEventListener('updateready', logEvent, false);
|
6155
6126
|
|
6156
6127
|
// Log every event to the console
|
6157
6128
|
function logEvent(e) {
|