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
@@ -1,162 +1 @@
|
|
1
|
-
|
2
|
-
* mctabs.js
|
3
|
-
*
|
4
|
-
* Copyright 2009, Moxiecode Systems AB
|
5
|
-
* Released under LGPL License.
|
6
|
-
*
|
7
|
-
* License: http://tinymce.moxiecode.com/license
|
8
|
-
* Contributing: http://tinymce.moxiecode.com/contributing
|
9
|
-
*/
|
10
|
-
|
11
|
-
function MCTabs() {
|
12
|
-
this.settings = [];
|
13
|
-
this.onChange = tinyMCEPopup.editor.windowManager.createInstance('tinymce.util.Dispatcher');
|
14
|
-
};
|
15
|
-
|
16
|
-
MCTabs.prototype.init = function(settings) {
|
17
|
-
this.settings = settings;
|
18
|
-
};
|
19
|
-
|
20
|
-
MCTabs.prototype.getParam = function(name, default_value) {
|
21
|
-
var value = null;
|
22
|
-
|
23
|
-
value = (typeof(this.settings[name]) == "undefined") ? default_value : this.settings[name];
|
24
|
-
|
25
|
-
// Fix bool values
|
26
|
-
if (value == "true" || value == "false")
|
27
|
-
return (value == "true");
|
28
|
-
|
29
|
-
return value;
|
30
|
-
};
|
31
|
-
|
32
|
-
MCTabs.prototype.showTab =function(tab){
|
33
|
-
tab.className = 'current';
|
34
|
-
tab.setAttribute("aria-selected", true);
|
35
|
-
tab.setAttribute("aria-expanded", true);
|
36
|
-
tab.tabIndex = 0;
|
37
|
-
};
|
38
|
-
|
39
|
-
MCTabs.prototype.hideTab =function(tab){
|
40
|
-
var t=this;
|
41
|
-
|
42
|
-
tab.className = '';
|
43
|
-
tab.setAttribute("aria-selected", false);
|
44
|
-
tab.setAttribute("aria-expanded", false);
|
45
|
-
tab.tabIndex = -1;
|
46
|
-
};
|
47
|
-
|
48
|
-
MCTabs.prototype.showPanel = function(panel) {
|
49
|
-
panel.className = 'current';
|
50
|
-
panel.setAttribute("aria-hidden", false);
|
51
|
-
};
|
52
|
-
|
53
|
-
MCTabs.prototype.hidePanel = function(panel) {
|
54
|
-
panel.className = 'panel';
|
55
|
-
panel.setAttribute("aria-hidden", true);
|
56
|
-
};
|
57
|
-
|
58
|
-
MCTabs.prototype.getPanelForTab = function(tabElm) {
|
59
|
-
return tinyMCEPopup.dom.getAttrib(tabElm, "aria-controls");
|
60
|
-
};
|
61
|
-
|
62
|
-
MCTabs.prototype.displayTab = function(tab_id, panel_id, avoid_focus) {
|
63
|
-
var panelElm, panelContainerElm, tabElm, tabContainerElm, selectionClass, nodes, i, t = this;
|
64
|
-
|
65
|
-
tabElm = document.getElementById(tab_id);
|
66
|
-
|
67
|
-
if (panel_id === undefined) {
|
68
|
-
panel_id = t.getPanelForTab(tabElm);
|
69
|
-
}
|
70
|
-
|
71
|
-
panelElm= document.getElementById(panel_id);
|
72
|
-
panelContainerElm = panelElm ? panelElm.parentNode : null;
|
73
|
-
tabContainerElm = tabElm ? tabElm.parentNode : null;
|
74
|
-
selectionClass = t.getParam('selection_class', 'current');
|
75
|
-
|
76
|
-
if (tabElm && tabContainerElm) {
|
77
|
-
nodes = tabContainerElm.childNodes;
|
78
|
-
|
79
|
-
// Hide all other tabs
|
80
|
-
for (i = 0; i < nodes.length; i++) {
|
81
|
-
if (nodes[i].nodeName == "LI") {
|
82
|
-
t.hideTab(nodes[i]);
|
83
|
-
}
|
84
|
-
}
|
85
|
-
|
86
|
-
// Show selected tab
|
87
|
-
t.showTab(tabElm);
|
88
|
-
}
|
89
|
-
|
90
|
-
if (panelElm && panelContainerElm) {
|
91
|
-
nodes = panelContainerElm.childNodes;
|
92
|
-
|
93
|
-
// Hide all other panels
|
94
|
-
for (i = 0; i < nodes.length; i++) {
|
95
|
-
if (nodes[i].nodeName == "DIV")
|
96
|
-
t.hidePanel(nodes[i]);
|
97
|
-
}
|
98
|
-
|
99
|
-
if (!avoid_focus) {
|
100
|
-
tabElm.focus();
|
101
|
-
}
|
102
|
-
|
103
|
-
// Show selected panel
|
104
|
-
t.showPanel(panelElm);
|
105
|
-
}
|
106
|
-
};
|
107
|
-
|
108
|
-
MCTabs.prototype.getAnchor = function() {
|
109
|
-
var pos, url = document.location.href;
|
110
|
-
|
111
|
-
if ((pos = url.lastIndexOf('#')) != -1)
|
112
|
-
return url.substring(pos + 1);
|
113
|
-
|
114
|
-
return "";
|
115
|
-
};
|
116
|
-
|
117
|
-
|
118
|
-
//Global instance
|
119
|
-
var mcTabs = new MCTabs();
|
120
|
-
|
121
|
-
tinyMCEPopup.onInit.add(function() {
|
122
|
-
var tinymce = tinyMCEPopup.getWin().tinymce, dom = tinyMCEPopup.dom, each = tinymce.each;
|
123
|
-
|
124
|
-
each(dom.select('div.tabs'), function(tabContainerElm) {
|
125
|
-
var keyNav;
|
126
|
-
|
127
|
-
dom.setAttrib(tabContainerElm, "role", "tablist");
|
128
|
-
|
129
|
-
var items = tinyMCEPopup.dom.select('li', tabContainerElm);
|
130
|
-
var action = function(id) {
|
131
|
-
mcTabs.displayTab(id, mcTabs.getPanelForTab(id));
|
132
|
-
mcTabs.onChange.dispatch(id);
|
133
|
-
};
|
134
|
-
|
135
|
-
each(items, function(item) {
|
136
|
-
dom.setAttrib(item, 'role', 'tab');
|
137
|
-
dom.bind(item, 'click', function(evt) {
|
138
|
-
action(item.id);
|
139
|
-
});
|
140
|
-
});
|
141
|
-
|
142
|
-
dom.bind(dom.getRoot(), 'keydown', function(evt) {
|
143
|
-
if (evt.keyCode === 9 && evt.ctrlKey && !evt.altKey) { // Tab
|
144
|
-
keyNav.moveFocus(evt.shiftKey ? -1 : 1);
|
145
|
-
tinymce.dom.Event.cancel(evt);
|
146
|
-
}
|
147
|
-
});
|
148
|
-
|
149
|
-
each(dom.select('a', tabContainerElm), function(a) {
|
150
|
-
dom.setAttrib(a, 'tabindex', '-1');
|
151
|
-
});
|
152
|
-
|
153
|
-
keyNav = tinyMCEPopup.editor.windowManager.createInstance('tinymce.ui.KeyboardNavigation', {
|
154
|
-
root: tabContainerElm,
|
155
|
-
items: items,
|
156
|
-
onAction: action,
|
157
|
-
actOnFocus: true,
|
158
|
-
enableLeftRight: true,
|
159
|
-
enableUpDown: true
|
160
|
-
}, tinyMCEPopup.dom);
|
161
|
-
});
|
162
|
-
});
|
1
|
+
function MCTabs(){this.settings=[];this.onChange=tinyMCEPopup.editor.windowManager.createInstance("tinymce.util.Dispatcher")}MCTabs.prototype.init=function(a){this.settings=a};MCTabs.prototype.getParam=function(b,a){var c=null;c=(typeof(this.settings[b])=="undefined")?a:this.settings[b];if(c=="true"||c=="false"){return(c=="true")}return c};MCTabs.prototype.showTab=function(a){a.className="current";a.setAttribute("aria-selected",true);a.setAttribute("aria-expanded",true);a.tabIndex=0};MCTabs.prototype.hideTab=function(b){var a=this;b.className="";b.setAttribute("aria-selected",false);b.setAttribute("aria-expanded",false);b.tabIndex=-1};MCTabs.prototype.showPanel=function(a){a.className="current";a.setAttribute("aria-hidden",false)};MCTabs.prototype.hidePanel=function(a){a.className="panel";a.setAttribute("aria-hidden",true)};MCTabs.prototype.getPanelForTab=function(a){return tinyMCEPopup.dom.getAttrib(a,"aria-controls")};MCTabs.prototype.displayTab=function(e,b,g){var l,d,c,j,h,a,f,k=this;c=document.getElementById(e);if(b===undefined){b=k.getPanelForTab(c)}l=document.getElementById(b);d=l?l.parentNode:null;j=c?c.parentNode:null;h=k.getParam("selection_class","current");if(c&&j){a=j.childNodes;for(f=0;f<a.length;f++){if(a[f].nodeName=="LI"){k.hideTab(a[f])}}k.showTab(c)}if(l&&d){a=d.childNodes;for(f=0;f<a.length;f++){if(a[f].nodeName=="DIV"){k.hidePanel(a[f])}}if(!g){c.focus()}k.showPanel(l)}};MCTabs.prototype.getAnchor=function(){var b,a=document.location.href;if((b=a.lastIndexOf("#"))!=-1){return a.substring(b+1)}return""};var mcTabs=new MCTabs();tinyMCEPopup.onInit.add(function(){var a=tinyMCEPopup.getWin().tinymce,c=tinyMCEPopup.dom,b=a.each;b(c.select("div.tabs"),function(g){var d;c.setAttrib(g,"role","tablist");var e=tinyMCEPopup.dom.select("li",g);var f=function(h){mcTabs.displayTab(h,mcTabs.getPanelForTab(h));mcTabs.onChange.dispatch(h)};b(e,function(h){c.setAttrib(h,"role","tab");c.bind(h,"click",function(i){f(h.id)})});c.bind(c.getRoot(),"keydown",function(h){if(h.keyCode===9&&h.ctrlKey&&!h.altKey){d.moveFocus(h.shiftKey?-1:1);a.dom.Event.cancel(h)}});b(c.select("a",g),function(h){c.setAttrib(h,"tabindex","-1")});d=tinyMCEPopup.editor.windowManager.createInstance("tinymce.ui.KeyboardNavigation",{root:g,items:e,onAction:f,actOnFocus:true,enableLeftRight:true,enableUpDown:true},tinyMCEPopup.dom)})});
|
@@ -1,252 +1 @@
|
|
1
|
-
|
2
|
-
* validate.js
|
3
|
-
*
|
4
|
-
* Copyright 2009, Moxiecode Systems AB
|
5
|
-
* Released under LGPL License.
|
6
|
-
*
|
7
|
-
* License: http://tinymce.moxiecode.com/license
|
8
|
-
* Contributing: http://tinymce.moxiecode.com/contributing
|
9
|
-
*/
|
10
|
-
|
11
|
-
/**
|
12
|
-
// String validation:
|
13
|
-
|
14
|
-
if (!Validator.isEmail('myemail'))
|
15
|
-
alert('Invalid email.');
|
16
|
-
|
17
|
-
// Form validation:
|
18
|
-
|
19
|
-
var f = document.forms['myform'];
|
20
|
-
|
21
|
-
if (!Validator.isEmail(f.myemail))
|
22
|
-
alert('Invalid email.');
|
23
|
-
*/
|
24
|
-
|
25
|
-
var Validator = {
|
26
|
-
isEmail : function(s) {
|
27
|
-
return this.test(s, '^[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+@[-!#$%&\'*+\\/0-9=?A-Z^_`a-z{|}~]+\.[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+$');
|
28
|
-
},
|
29
|
-
|
30
|
-
isAbsUrl : function(s) {
|
31
|
-
return this.test(s, '^(news|telnet|nttp|file|http|ftp|https)://[-A-Za-z0-9\\.]+\\/?.*$');
|
32
|
-
},
|
33
|
-
|
34
|
-
isSize : function(s) {
|
35
|
-
return this.test(s, '^[0-9]+(%|in|cm|mm|em|ex|pt|pc|px)?$');
|
36
|
-
},
|
37
|
-
|
38
|
-
isId : function(s) {
|
39
|
-
return this.test(s, '^[A-Za-z_]([A-Za-z0-9_])*$');
|
40
|
-
},
|
41
|
-
|
42
|
-
isEmpty : function(s) {
|
43
|
-
var nl, i;
|
44
|
-
|
45
|
-
if (s.nodeName == 'SELECT' && s.selectedIndex < 1)
|
46
|
-
return true;
|
47
|
-
|
48
|
-
if (s.type == 'checkbox' && !s.checked)
|
49
|
-
return true;
|
50
|
-
|
51
|
-
if (s.type == 'radio') {
|
52
|
-
for (i=0, nl = s.form.elements; i<nl.length; i++) {
|
53
|
-
if (nl[i].type == "radio" && nl[i].name == s.name && nl[i].checked)
|
54
|
-
return false;
|
55
|
-
}
|
56
|
-
|
57
|
-
return true;
|
58
|
-
}
|
59
|
-
|
60
|
-
return new RegExp('^\\s*$').test(s.nodeType == 1 ? s.value : s);
|
61
|
-
},
|
62
|
-
|
63
|
-
isNumber : function(s, d) {
|
64
|
-
return !isNaN(s.nodeType == 1 ? s.value : s) && (!d || !this.test(s, '^-?[0-9]*\\.[0-9]*$'));
|
65
|
-
},
|
66
|
-
|
67
|
-
test : function(s, p) {
|
68
|
-
s = s.nodeType == 1 ? s.value : s;
|
69
|
-
|
70
|
-
return s == '' || new RegExp(p).test(s);
|
71
|
-
}
|
72
|
-
};
|
73
|
-
|
74
|
-
var AutoValidator = {
|
75
|
-
settings : {
|
76
|
-
id_cls : 'id',
|
77
|
-
int_cls : 'int',
|
78
|
-
url_cls : 'url',
|
79
|
-
number_cls : 'number',
|
80
|
-
email_cls : 'email',
|
81
|
-
size_cls : 'size',
|
82
|
-
required_cls : 'required',
|
83
|
-
invalid_cls : 'invalid',
|
84
|
-
min_cls : 'min',
|
85
|
-
max_cls : 'max'
|
86
|
-
},
|
87
|
-
|
88
|
-
init : function(s) {
|
89
|
-
var n;
|
90
|
-
|
91
|
-
for (n in s)
|
92
|
-
this.settings[n] = s[n];
|
93
|
-
},
|
94
|
-
|
95
|
-
validate : function(f) {
|
96
|
-
var i, nl, s = this.settings, c = 0;
|
97
|
-
|
98
|
-
nl = this.tags(f, 'label');
|
99
|
-
for (i=0; i<nl.length; i++) {
|
100
|
-
this.removeClass(nl[i], s.invalid_cls);
|
101
|
-
nl[i].setAttribute('aria-invalid', false);
|
102
|
-
}
|
103
|
-
|
104
|
-
c += this.validateElms(f, 'input');
|
105
|
-
c += this.validateElms(f, 'select');
|
106
|
-
c += this.validateElms(f, 'textarea');
|
107
|
-
|
108
|
-
return c == 3;
|
109
|
-
},
|
110
|
-
|
111
|
-
invalidate : function(n) {
|
112
|
-
this.mark(n.form, n);
|
113
|
-
},
|
114
|
-
|
115
|
-
getErrorMessages : function(f) {
|
116
|
-
var nl, i, s = this.settings, field, msg, values, messages = [], ed = tinyMCEPopup.editor;
|
117
|
-
nl = this.tags(f, "label");
|
118
|
-
for (i=0; i<nl.length; i++) {
|
119
|
-
if (this.hasClass(nl[i], s.invalid_cls)) {
|
120
|
-
field = document.getElementById(nl[i].getAttribute("for"));
|
121
|
-
values = { field: nl[i].textContent };
|
122
|
-
if (this.hasClass(field, s.min_cls, true)) {
|
123
|
-
message = ed.getLang('invalid_data_min');
|
124
|
-
values.min = this.getNum(field, s.min_cls);
|
125
|
-
} else if (this.hasClass(field, s.number_cls)) {
|
126
|
-
message = ed.getLang('invalid_data_number');
|
127
|
-
} else if (this.hasClass(field, s.size_cls)) {
|
128
|
-
message = ed.getLang('invalid_data_size');
|
129
|
-
} else {
|
130
|
-
message = ed.getLang('invalid_data');
|
131
|
-
}
|
132
|
-
|
133
|
-
message = message.replace(/{\#([^}]+)\}/g, function(a, b) {
|
134
|
-
return values[b] || '{#' + b + '}';
|
135
|
-
});
|
136
|
-
messages.push(message);
|
137
|
-
}
|
138
|
-
}
|
139
|
-
return messages;
|
140
|
-
},
|
141
|
-
|
142
|
-
reset : function(e) {
|
143
|
-
var t = ['label', 'input', 'select', 'textarea'];
|
144
|
-
var i, j, nl, s = this.settings;
|
145
|
-
|
146
|
-
if (e == null)
|
147
|
-
return;
|
148
|
-
|
149
|
-
for (i=0; i<t.length; i++) {
|
150
|
-
nl = this.tags(e.form ? e.form : e, t[i]);
|
151
|
-
for (j=0; j<nl.length; j++) {
|
152
|
-
this.removeClass(nl[j], s.invalid_cls);
|
153
|
-
nl[j].setAttribute('aria-invalid', false);
|
154
|
-
}
|
155
|
-
}
|
156
|
-
},
|
157
|
-
|
158
|
-
validateElms : function(f, e) {
|
159
|
-
var nl, i, n, s = this.settings, st = true, va = Validator, v;
|
160
|
-
|
161
|
-
nl = this.tags(f, e);
|
162
|
-
for (i=0; i<nl.length; i++) {
|
163
|
-
n = nl[i];
|
164
|
-
|
165
|
-
this.removeClass(n, s.invalid_cls);
|
166
|
-
|
167
|
-
if (this.hasClass(n, s.required_cls) && va.isEmpty(n))
|
168
|
-
st = this.mark(f, n);
|
169
|
-
|
170
|
-
if (this.hasClass(n, s.number_cls) && !va.isNumber(n))
|
171
|
-
st = this.mark(f, n);
|
172
|
-
|
173
|
-
if (this.hasClass(n, s.int_cls) && !va.isNumber(n, true))
|
174
|
-
st = this.mark(f, n);
|
175
|
-
|
176
|
-
if (this.hasClass(n, s.url_cls) && !va.isAbsUrl(n))
|
177
|
-
st = this.mark(f, n);
|
178
|
-
|
179
|
-
if (this.hasClass(n, s.email_cls) && !va.isEmail(n))
|
180
|
-
st = this.mark(f, n);
|
181
|
-
|
182
|
-
if (this.hasClass(n, s.size_cls) && !va.isSize(n))
|
183
|
-
st = this.mark(f, n);
|
184
|
-
|
185
|
-
if (this.hasClass(n, s.id_cls) && !va.isId(n))
|
186
|
-
st = this.mark(f, n);
|
187
|
-
|
188
|
-
if (this.hasClass(n, s.min_cls, true)) {
|
189
|
-
v = this.getNum(n, s.min_cls);
|
190
|
-
|
191
|
-
if (isNaN(v) || parseInt(n.value) < parseInt(v))
|
192
|
-
st = this.mark(f, n);
|
193
|
-
}
|
194
|
-
|
195
|
-
if (this.hasClass(n, s.max_cls, true)) {
|
196
|
-
v = this.getNum(n, s.max_cls);
|
197
|
-
|
198
|
-
if (isNaN(v) || parseInt(n.value) > parseInt(v))
|
199
|
-
st = this.mark(f, n);
|
200
|
-
}
|
201
|
-
}
|
202
|
-
|
203
|
-
return st;
|
204
|
-
},
|
205
|
-
|
206
|
-
hasClass : function(n, c, d) {
|
207
|
-
return new RegExp('\\b' + c + (d ? '[0-9]+' : '') + '\\b', 'g').test(n.className);
|
208
|
-
},
|
209
|
-
|
210
|
-
getNum : function(n, c) {
|
211
|
-
c = n.className.match(new RegExp('\\b' + c + '([0-9]+)\\b', 'g'))[0];
|
212
|
-
c = c.replace(/[^0-9]/g, '');
|
213
|
-
|
214
|
-
return c;
|
215
|
-
},
|
216
|
-
|
217
|
-
addClass : function(n, c, b) {
|
218
|
-
var o = this.removeClass(n, c);
|
219
|
-
n.className = b ? c + (o != '' ? (' ' + o) : '') : (o != '' ? (o + ' ') : '') + c;
|
220
|
-
},
|
221
|
-
|
222
|
-
removeClass : function(n, c) {
|
223
|
-
c = n.className.replace(new RegExp("(^|\\s+)" + c + "(\\s+|$)"), ' ');
|
224
|
-
return n.className = c != ' ' ? c : '';
|
225
|
-
},
|
226
|
-
|
227
|
-
tags : function(f, s) {
|
228
|
-
return f.getElementsByTagName(s);
|
229
|
-
},
|
230
|
-
|
231
|
-
mark : function(f, n) {
|
232
|
-
var s = this.settings;
|
233
|
-
|
234
|
-
this.addClass(n, s.invalid_cls);
|
235
|
-
n.setAttribute('aria-invalid', 'true');
|
236
|
-
this.markLabels(f, n, s.invalid_cls);
|
237
|
-
|
238
|
-
return false;
|
239
|
-
},
|
240
|
-
|
241
|
-
markLabels : function(f, n, ic) {
|
242
|
-
var nl, i;
|
243
|
-
|
244
|
-
nl = this.tags(f, "label");
|
245
|
-
for (i=0; i<nl.length; i++) {
|
246
|
-
if (nl[i].getAttribute("for") == n.id || nl[i].htmlFor == n.id)
|
247
|
-
this.addClass(nl[i], ic);
|
248
|
-
}
|
249
|
-
|
250
|
-
return null;
|
251
|
-
}
|
252
|
-
};
|
1
|
+
var Validator={isEmail:function(a){return this.test(a,"^[-!#$%&'*+\\./0-9=?A-Z^_`a-z{|}~]+@[-!#$%&'*+\\/0-9=?A-Z^_`a-z{|}~]+.[-!#$%&'*+\\./0-9=?A-Z^_`a-z{|}~]+$")},isAbsUrl:function(a){return this.test(a,"^(news|telnet|nttp|file|http|ftp|https)://[-A-Za-z0-9\\.]+\\/?.*$")},isSize:function(a){return this.test(a,"^[0-9]+(%|in|cm|mm|em|ex|pt|pc|px)?$")},isId:function(a){return this.test(a,"^[A-Za-z_]([A-Za-z0-9_])*$")},isEmpty:function(c){var a,b;if(c.nodeName=="SELECT"&&c.selectedIndex<1){return true}if(c.type=="checkbox"&&!c.checked){return true}if(c.type=="radio"){for(b=0,a=c.form.elements;b<a.length;b++){if(a[b].type=="radio"&&a[b].name==c.name&&a[b].checked){return false}}return true}return new RegExp("^\\s*$").test(c.nodeType==1?c.value:c)},isNumber:function(a,b){return !isNaN(a.nodeType==1?a.value:a)&&(!b||!this.test(a,"^-?[0-9]*\\.[0-9]*$"))},test:function(a,b){a=a.nodeType==1?a.value:a;return a==""||new RegExp(b).test(a)}};var AutoValidator={settings:{id_cls:"id",int_cls:"int",url_cls:"url",number_cls:"number",email_cls:"email",size_cls:"size",required_cls:"required",invalid_cls:"invalid",min_cls:"min",max_cls:"max"},init:function(a){var b;for(b in a){this.settings[b]=a[b]}},validate:function(e){var b,a,d=this.settings,g=0;a=this.tags(e,"label");for(b=0;b<a.length;b++){this.removeClass(a[b],d.invalid_cls);a[b].setAttribute("aria-invalid",false)}g+=this.validateElms(e,"input");g+=this.validateElms(e,"select");g+=this.validateElms(e,"textarea");return g==3},invalidate:function(a){this.mark(a.form,a)},getErrorMessages:function(g){var a,d,k=this.settings,h,b,j,c=[],e=tinyMCEPopup.editor;a=this.tags(g,"label");for(d=0;d<a.length;d++){if(this.hasClass(a[d],k.invalid_cls)){h=document.getElementById(a[d].getAttribute("for"));j={field:a[d].textContent};if(this.hasClass(h,k.min_cls,true)){message=e.getLang("invalid_data_min");j.min=this.getNum(h,k.min_cls)}else{if(this.hasClass(h,k.number_cls)){message=e.getLang("invalid_data_number")}else{if(this.hasClass(h,k.size_cls)){message=e.getLang("invalid_data_size")}else{message=e.getLang("invalid_data")}}}message=message.replace(/{\#([^}]+)\}/g,function(i,f){return j[f]||"{#"+f+"}"});c.push(message)}}return c},reset:function(g){var d=["label","input","select","textarea"];var c,b,a,f=this.settings;if(g==null){return}for(c=0;c<d.length;c++){a=this.tags(g.form?g.form:g,d[c]);for(b=0;b<a.length;b++){this.removeClass(a[b],f.invalid_cls);a[b].setAttribute("aria-invalid",false)}}},validateElms:function(d,g){var a,c,b,l=this.settings,k=true,h=Validator,j;a=this.tags(d,g);for(c=0;c<a.length;c++){b=a[c];this.removeClass(b,l.invalid_cls);if(this.hasClass(b,l.required_cls)&&h.isEmpty(b)){k=this.mark(d,b)}if(this.hasClass(b,l.number_cls)&&!h.isNumber(b)){k=this.mark(d,b)}if(this.hasClass(b,l.int_cls)&&!h.isNumber(b,true)){k=this.mark(d,b)}if(this.hasClass(b,l.url_cls)&&!h.isAbsUrl(b)){k=this.mark(d,b)}if(this.hasClass(b,l.email_cls)&&!h.isEmail(b)){k=this.mark(d,b)}if(this.hasClass(b,l.size_cls)&&!h.isSize(b)){k=this.mark(d,b)}if(this.hasClass(b,l.id_cls)&&!h.isId(b)){k=this.mark(d,b)}if(this.hasClass(b,l.min_cls,true)){j=this.getNum(b,l.min_cls);if(isNaN(j)||parseInt(b.value)<parseInt(j)){k=this.mark(d,b)}}if(this.hasClass(b,l.max_cls,true)){j=this.getNum(b,l.max_cls);if(isNaN(j)||parseInt(b.value)>parseInt(j)){k=this.mark(d,b)}}}return k},hasClass:function(e,b,a){return new RegExp("\\b"+b+(a?"[0-9]+":"")+"\\b","g").test(e.className)},getNum:function(b,a){a=b.className.match(new RegExp("\\b"+a+"([0-9]+)\\b","g"))[0];a=a.replace(/[^0-9]/g,"");return a},addClass:function(f,e,a){var d=this.removeClass(f,e);f.className=a?e+(d!=""?(" "+d):""):(d!=""?(d+" "):"")+e},removeClass:function(b,a){a=b.className.replace(new RegExp("(^|\\s+)"+a+"(\\s+|$)")," ");return b.className=a!=" "?a:""},tags:function(b,a){return b.getElementsByTagName(a)},mark:function(b,c){var a=this.settings;this.addClass(c,a.invalid_cls);c.setAttribute("aria-invalid","true");this.markLabels(b,c,a.invalid_cls);return false},markLabels:function(d,e,a){var b,c;b=this.tags(d,"label");for(c=0;c<b.length;c++){if(b[c].getAttribute("for")==e.id||b[c].htmlFor==e.id){this.addClass(b[c],a)}}return null}};
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: compass-jquery-plugin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 944267596
|
5
|
+
prerelease: 8
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
9
|
- 2
|
10
|
-
-
|
11
|
-
|
10
|
+
- 7
|
11
|
+
- nil
|
12
|
+
version: 0.3.2.7.nil
|
12
13
|
platform: ruby
|
13
14
|
authors:
|
14
15
|
- Kosmas Schuetz
|
@@ -16,7 +17,7 @@ autorequire:
|
|
16
17
|
bindir: bin
|
17
18
|
cert_chain: []
|
18
19
|
|
19
|
-
date: 2011-03-
|
20
|
+
date: 2011-03-26 23:00:00 +01:00
|
20
21
|
default_executable:
|
21
22
|
dependencies:
|
22
23
|
- !ruby/object:Gem::Dependency
|
@@ -226,6 +227,8 @@ files:
|
|
226
227
|
- templates/jqgrid/i18n/jqgrid/locale-it.min.js
|
227
228
|
- templates/jqgrid/i18n/jqgrid/locale-ja.js
|
228
229
|
- templates/jqgrid/i18n/jqgrid/locale-ja.min.js
|
230
|
+
- templates/jqgrid/i18n/jqgrid/locale-lt.js
|
231
|
+
- templates/jqgrid/i18n/jqgrid/locale-lt.min.js
|
229
232
|
- templates/jqgrid/i18n/jqgrid/locale-nl.js
|
230
233
|
- templates/jqgrid/i18n/jqgrid/locale-nl.min.js
|
231
234
|
- templates/jqgrid/i18n/jqgrid/locale-no.js
|
@@ -452,6 +455,8 @@ files:
|
|
452
455
|
- templates/jquery/i18n/jquery.ui/datepicker-ta.min.js
|
453
456
|
- templates/jquery/i18n/jquery.ui/datepicker-th.js
|
454
457
|
- templates/jquery/i18n/jquery.ui/datepicker-th.min.js
|
458
|
+
- templates/jquery/i18n/jquery.ui/datepicker-tj.js
|
459
|
+
- templates/jquery/i18n/jquery.ui/datepicker-tj.min.js
|
455
460
|
- templates/jquery/i18n/jquery.ui/datepicker-tr.js
|
456
461
|
- templates/jquery/i18n/jquery.ui/datepicker-tr.min.js
|
457
462
|
- templates/jquery/i18n/jquery.ui/datepicker-uk.js
|
@@ -1181,10 +1186,6 @@ files:
|
|
1181
1186
|
- templates/mobile/glyphish/mini-icons-black/tag.png
|
1182
1187
|
- templates/mobile/glyphish/mini-icons-black/tshirt.png
|
1183
1188
|
- templates/mobile/jquery/mobile/default/ajax-loader.png
|
1184
|
-
- templates/mobile/jquery/mobile/default/form-check-off.png
|
1185
|
-
- templates/mobile/jquery/mobile/default/form-check-on.png
|
1186
|
-
- templates/mobile/jquery/mobile/default/form-radio-off.png
|
1187
|
-
- templates/mobile/jquery/mobile/default/form-radio-on.png
|
1188
1189
|
- templates/mobile/jquery/mobile/default/icon-search-black.png
|
1189
1190
|
- templates/mobile/jquery/mobile/default/icons-18-black.png
|
1190
1191
|
- templates/mobile/jquery/mobile/default/icons-18-white.png
|
@@ -1192,10 +1193,6 @@ files:
|
|
1192
1193
|
- templates/mobile/jquery/mobile/default/icons-36-white.png
|
1193
1194
|
- templates/mobile/jquery/mobile/default.scss
|
1194
1195
|
- templates/mobile/jquery/mobile/valencia/ajax-loader.png
|
1195
|
-
- templates/mobile/jquery/mobile/valencia/form-check-off.png
|
1196
|
-
- templates/mobile/jquery/mobile/valencia/form-check-on.png
|
1197
|
-
- templates/mobile/jquery/mobile/valencia/form-radio-off.png
|
1198
|
-
- templates/mobile/jquery/mobile/valencia/form-radio-on.png
|
1199
1196
|
- templates/mobile/jquery/mobile/valencia/icon-search-black.png
|
1200
1197
|
- templates/mobile/jquery/mobile/valencia/icons-18-black.png
|
1201
1198
|
- templates/mobile/jquery/mobile/valencia/icons-18-white.png
|
@@ -1298,12 +1295,14 @@ files:
|
|
1298
1295
|
- templates/tiny_mce/config/initializers/tiny_mce.rb
|
1299
1296
|
- templates/tiny_mce/manifest.rb
|
1300
1297
|
- templates/tiny_mce/tiny_mce/jquery.tinymce.js
|
1298
|
+
- templates/tiny_mce/tiny_mce/langs/de.js
|
1301
1299
|
- templates/tiny_mce/tiny_mce/langs/en.js
|
1302
1300
|
- templates/tiny_mce/tiny_mce/license.txt
|
1303
1301
|
- templates/tiny_mce/tiny_mce/plugins/advhr/css/advhr.css
|
1304
1302
|
- templates/tiny_mce/tiny_mce/plugins/advhr/editor_plugin.js
|
1305
1303
|
- templates/tiny_mce/tiny_mce/plugins/advhr/editor_plugin_src.js
|
1306
1304
|
- templates/tiny_mce/tiny_mce/plugins/advhr/js/rule.js
|
1305
|
+
- templates/tiny_mce/tiny_mce/plugins/advhr/langs/de_dlg.js
|
1307
1306
|
- templates/tiny_mce/tiny_mce/plugins/advhr/langs/en_dlg.js
|
1308
1307
|
- templates/tiny_mce/tiny_mce/plugins/advhr/rule.htm
|
1309
1308
|
- templates/tiny_mce/tiny_mce/plugins/advimage/css/advimage.css
|
@@ -1312,11 +1311,13 @@ files:
|
|
1312
1311
|
- templates/tiny_mce/tiny_mce/plugins/advimage/image.htm
|
1313
1312
|
- templates/tiny_mce/tiny_mce/plugins/advimage/img/sample.gif
|
1314
1313
|
- templates/tiny_mce/tiny_mce/plugins/advimage/js/image.js
|
1314
|
+
- templates/tiny_mce/tiny_mce/plugins/advimage/langs/de_dlg.js
|
1315
1315
|
- templates/tiny_mce/tiny_mce/plugins/advimage/langs/en_dlg.js
|
1316
1316
|
- templates/tiny_mce/tiny_mce/plugins/advlink/css/advlink.css
|
1317
1317
|
- templates/tiny_mce/tiny_mce/plugins/advlink/editor_plugin.js
|
1318
1318
|
- templates/tiny_mce/tiny_mce/plugins/advlink/editor_plugin_src.js
|
1319
1319
|
- templates/tiny_mce/tiny_mce/plugins/advlink/js/advlink.js
|
1320
|
+
- templates/tiny_mce/tiny_mce/plugins/advlink/langs/de_dlg.js
|
1320
1321
|
- templates/tiny_mce/tiny_mce/plugins/advlink/langs/en_dlg.js
|
1321
1322
|
- templates/tiny_mce/tiny_mce/plugins/advlink/link.htm
|
1322
1323
|
- templates/tiny_mce/tiny_mce/plugins/advlist/editor_plugin.js
|
@@ -1352,6 +1353,7 @@ files:
|
|
1352
1353
|
- templates/tiny_mce/tiny_mce/plugins/emotions/img/smiley-wink.gif
|
1353
1354
|
- templates/tiny_mce/tiny_mce/plugins/emotions/img/smiley-yell.gif
|
1354
1355
|
- templates/tiny_mce/tiny_mce/plugins/emotions/js/emotions.js
|
1356
|
+
- templates/tiny_mce/tiny_mce/plugins/emotions/langs/de_dlg.js
|
1355
1357
|
- templates/tiny_mce/tiny_mce/plugins/emotions/langs/en_dlg.js
|
1356
1358
|
- templates/tiny_mce/tiny_mce/plugins/example/dialog.htm
|
1357
1359
|
- templates/tiny_mce/tiny_mce/plugins/example/editor_plugin.js
|
@@ -1365,6 +1367,7 @@ files:
|
|
1365
1367
|
- templates/tiny_mce/tiny_mce/plugins/fullpage/editor_plugin_src.js
|
1366
1368
|
- templates/tiny_mce/tiny_mce/plugins/fullpage/fullpage.htm
|
1367
1369
|
- templates/tiny_mce/tiny_mce/plugins/fullpage/js/fullpage.js
|
1370
|
+
- templates/tiny_mce/tiny_mce/plugins/fullpage/langs/de_dlg.js
|
1368
1371
|
- templates/tiny_mce/tiny_mce/plugins/fullpage/langs/en_dlg.js
|
1369
1372
|
- templates/tiny_mce/tiny_mce/plugins/fullscreen/editor_plugin.js
|
1370
1373
|
- templates/tiny_mce/tiny_mce/plugins/fullscreen/editor_plugin_src.js
|
@@ -1393,6 +1396,7 @@ files:
|
|
1393
1396
|
- templates/tiny_mce/tiny_mce/plugins/media/editor_plugin_src.js
|
1394
1397
|
- templates/tiny_mce/tiny_mce/plugins/media/js/embed.js
|
1395
1398
|
- templates/tiny_mce/tiny_mce/plugins/media/js/media.js
|
1399
|
+
- templates/tiny_mce/tiny_mce/plugins/media/langs/de_dlg.js
|
1396
1400
|
- templates/tiny_mce/tiny_mce/plugins/media/langs/en_dlg.js
|
1397
1401
|
- templates/tiny_mce/tiny_mce/plugins/media/media.htm
|
1398
1402
|
- templates/tiny_mce/tiny_mce/plugins/media/moxieplayer.swf
|
@@ -1406,6 +1410,7 @@ files:
|
|
1406
1410
|
- templates/tiny_mce/tiny_mce/plugins/paste/editor_plugin_src.js
|
1407
1411
|
- templates/tiny_mce/tiny_mce/plugins/paste/js/pastetext.js
|
1408
1412
|
- templates/tiny_mce/tiny_mce/plugins/paste/js/pasteword.js
|
1413
|
+
- templates/tiny_mce/tiny_mce/plugins/paste/langs/de_dlg.js
|
1409
1414
|
- templates/tiny_mce/tiny_mce/plugins/paste/langs/en_dlg.js
|
1410
1415
|
- templates/tiny_mce/tiny_mce/plugins/paste/pastetext.htm
|
1411
1416
|
- templates/tiny_mce/tiny_mce/plugins/paste/pasteword.htm
|
@@ -1422,6 +1427,7 @@ files:
|
|
1422
1427
|
- templates/tiny_mce/tiny_mce/plugins/searchreplace/editor_plugin.js
|
1423
1428
|
- templates/tiny_mce/tiny_mce/plugins/searchreplace/editor_plugin_src.js
|
1424
1429
|
- templates/tiny_mce/tiny_mce/plugins/searchreplace/js/searchreplace.js
|
1430
|
+
- templates/tiny_mce/tiny_mce/plugins/searchreplace/langs/de_dlg.js
|
1425
1431
|
- templates/tiny_mce/tiny_mce/plugins/searchreplace/langs/en_dlg.js
|
1426
1432
|
- templates/tiny_mce/tiny_mce/plugins/searchreplace/searchreplace.htm
|
1427
1433
|
- templates/tiny_mce/tiny_mce/plugins/spellchecker/css/content.css
|
@@ -1432,6 +1438,7 @@ files:
|
|
1432
1438
|
- templates/tiny_mce/tiny_mce/plugins/style/editor_plugin.js
|
1433
1439
|
- templates/tiny_mce/tiny_mce/plugins/style/editor_plugin_src.js
|
1434
1440
|
- templates/tiny_mce/tiny_mce/plugins/style/js/props.js
|
1441
|
+
- templates/tiny_mce/tiny_mce/plugins/style/langs/de_dlg.js
|
1435
1442
|
- templates/tiny_mce/tiny_mce/plugins/style/langs/en_dlg.js
|
1436
1443
|
- templates/tiny_mce/tiny_mce/plugins/style/props.htm
|
1437
1444
|
- templates/tiny_mce/tiny_mce/plugins/tabfocus/editor_plugin.js
|
@@ -1446,6 +1453,7 @@ files:
|
|
1446
1453
|
- templates/tiny_mce/tiny_mce/plugins/table/js/merge_cells.js
|
1447
1454
|
- templates/tiny_mce/tiny_mce/plugins/table/js/row.js
|
1448
1455
|
- templates/tiny_mce/tiny_mce/plugins/table/js/table.js
|
1456
|
+
- templates/tiny_mce/tiny_mce/plugins/table/langs/de_dlg.js
|
1449
1457
|
- templates/tiny_mce/tiny_mce/plugins/table/langs/en_dlg.js
|
1450
1458
|
- templates/tiny_mce/tiny_mce/plugins/table/merge_cells.htm
|
1451
1459
|
- templates/tiny_mce/tiny_mce/plugins/table/row.htm
|
@@ -1455,6 +1463,7 @@ files:
|
|
1455
1463
|
- templates/tiny_mce/tiny_mce/plugins/template/editor_plugin.js
|
1456
1464
|
- templates/tiny_mce/tiny_mce/plugins/template/editor_plugin_src.js
|
1457
1465
|
- templates/tiny_mce/tiny_mce/plugins/template/js/template.js
|
1466
|
+
- templates/tiny_mce/tiny_mce/plugins/template/langs/de_dlg.js
|
1458
1467
|
- templates/tiny_mce/tiny_mce/plugins/template/langs/en_dlg.js
|
1459
1468
|
- templates/tiny_mce/tiny_mce/plugins/template/template.htm
|
1460
1469
|
- templates/tiny_mce/tiny_mce/plugins/visualchars/editor_plugin.js
|
@@ -1478,6 +1487,7 @@ files:
|
|
1478
1487
|
- templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/del.js
|
1479
1488
|
- templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/element_common.js
|
1480
1489
|
- templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/ins.js
|
1490
|
+
- templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/langs/de_dlg.js
|
1481
1491
|
- templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js
|
1482
1492
|
- templates/tiny_mce/tiny_mce/themes/advanced/about.htm
|
1483
1493
|
- templates/tiny_mce/tiny_mce/themes/advanced/anchor.htm
|
@@ -1504,6 +1514,8 @@ files:
|
|
1504
1514
|
- templates/tiny_mce/tiny_mce/themes/advanced/js/image.js
|
1505
1515
|
- templates/tiny_mce/tiny_mce/themes/advanced/js/link.js
|
1506
1516
|
- templates/tiny_mce/tiny_mce/themes/advanced/js/source_editor.js
|
1517
|
+
- templates/tiny_mce/tiny_mce/themes/advanced/langs/de.js
|
1518
|
+
- templates/tiny_mce/tiny_mce/themes/advanced/langs/de_dlg.js
|
1507
1519
|
- templates/tiny_mce/tiny_mce/themes/advanced/langs/en.js
|
1508
1520
|
- templates/tiny_mce/tiny_mce/themes/advanced/langs/en_dlg.js
|
1509
1521
|
- templates/tiny_mce/tiny_mce/themes/advanced/link.htm
|
@@ -1532,6 +1544,7 @@ files:
|
|
1532
1544
|
- templates/tiny_mce/tiny_mce/themes/simple/editor_template.js
|
1533
1545
|
- templates/tiny_mce/tiny_mce/themes/simple/editor_template_src.js
|
1534
1546
|
- templates/tiny_mce/tiny_mce/themes/simple/img/icons.gif
|
1547
|
+
- templates/tiny_mce/tiny_mce/themes/simple/langs/de.js
|
1535
1548
|
- templates/tiny_mce/tiny_mce/themes/simple/langs/en.js
|
1536
1549
|
- templates/tiny_mce/tiny_mce/themes/simple/skins/default/content.css
|
1537
1550
|
- templates/tiny_mce/tiny_mce/themes/simple/skins/default/ui.css
|
@@ -1579,12 +1592,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1579
1592
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1580
1593
|
none: false
|
1581
1594
|
requirements:
|
1582
|
-
- - "
|
1595
|
+
- - ">"
|
1583
1596
|
- !ruby/object:Gem::Version
|
1584
|
-
hash:
|
1597
|
+
hash: 25
|
1585
1598
|
segments:
|
1586
|
-
-
|
1587
|
-
|
1599
|
+
- 1
|
1600
|
+
- 3
|
1601
|
+
- 1
|
1602
|
+
version: 1.3.1
|
1588
1603
|
requirements: []
|
1589
1604
|
|
1590
1605
|
rubyforge_project:
|