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.
Files changed (276) hide show
  1. data/README.md +2 -1
  2. data/VERSION.yml +2 -2
  3. data/lib/handle_js_files.rb +21 -2
  4. data/templates/dynatree/jquery.dynatree.js +23 -20
  5. data/templates/dynatree/jquery.dynatree.min.js +38 -38
  6. data/templates/dynatree/jquery/dynatree/aero.scss +1 -1
  7. data/templates/dynatree/jquery/dynatree/aqua.scss +1 -1
  8. data/templates/dynatree/jquery/dynatree/crystal.scss +1 -1
  9. data/templates/dynatree/jquery/dynatree/xp.scss +2 -2
  10. data/templates/ical/jquery/ical.scss +10 -10
  11. data/templates/jqgrid/i18n/jqgrid/locale-lt.js +134 -0
  12. data/templates/jqgrid/i18n/jqgrid/locale-lt.min.js +7 -0
  13. data/templates/jqgrid/jquery.jqGrid.js +155 -65
  14. data/templates/jqgrid/jquery.jqGrid.min.js +396 -393
  15. data/templates/jqgrid/manifest.rb +2 -0
  16. data/templates/jqtouch/jquery.jqtouch.js +166 -195
  17. data/templates/jqtouch/jquery.jqtouch.min.js +1 -1
  18. data/templates/jqtouch/jquery/touch/apple.scss +5 -5
  19. data/templates/jqtouch/jquery/touch/default.scss +5 -5
  20. data/templates/jqtouch/jquery/touch/jqt.scss +12 -7
  21. data/templates/jqtouch/jquery/touch/jqtouch.scss +11 -13
  22. data/templates/jquery/history.adapter.jquery.js +54 -67
  23. data/templates/jquery/history.adapter.jquery.min.js +2 -2
  24. data/templates/jquery/history.html4.js +587 -680
  25. data/templates/jquery/history.html4.min.js +8 -18
  26. data/templates/jquery/history.js +1670 -1289
  27. data/templates/jquery/history.min.js +25 -21
  28. data/templates/jquery/i18n/jquery.ui/datepicker-ar.js +1 -1
  29. data/templates/jquery/i18n/jquery.ui/datepicker-ar.min.js +1 -1
  30. data/templates/jquery/i18n/jquery.ui/datepicker-tj.js +23 -0
  31. data/templates/jquery/i18n/jquery.ui/datepicker-tj.min.js +2 -0
  32. data/templates/jquery/jquery-ui.js +97 -61
  33. data/templates/jquery/jquery-ui.min.js +175 -175
  34. data/templates/jquery/jquery.dst.js +86 -151
  35. data/templates/jquery/jquery/ui/_theme.scss +13 -13
  36. data/templates/jquery/json2.js +214 -214
  37. data/templates/jquery/manifest.rb +2 -0
  38. data/templates/mobile/jquery.mobile.js +324 -225
  39. data/templates/mobile/jquery.mobile.min.js +4 -4
  40. data/templates/mobile/jquery/mobile/_base.scss +60 -48
  41. data/templates/mobile/jquery/mobile/default.scss +57 -80
  42. data/templates/mobile/jquery/mobile/default/icons-18-black.png +0 -0
  43. data/templates/mobile/jquery/mobile/default/icons-18-white.png +0 -0
  44. data/templates/mobile/jquery/mobile/default/icons-36-black.png +0 -0
  45. data/templates/mobile/jquery/mobile/default/icons-36-white.png +0 -0
  46. data/templates/mobile/jquery/mobile/valencia.scss +61 -73
  47. data/templates/mobile/jquery/mobile/valencia/icons-18-black.png +0 -0
  48. data/templates/mobile/jquery/mobile/valencia/icons-18-white.png +0 -0
  49. data/templates/mobile/jquery/mobile/valencia/icons-36-black.png +0 -0
  50. data/templates/mobile/jquery/mobile/valencia/icons-36-white.png +0 -0
  51. data/templates/mobile/manifest.rb +0 -8
  52. data/templates/ribbon/jquery/ribbon/office.scss +12 -12
  53. data/templates/ribbon/jquery/ribbon/windows7.scss +12 -12
  54. data/templates/tiny_mce/manifest.rb +16 -0
  55. data/templates/tiny_mce/tiny_mce/jquery.tinymce.js +1 -1
  56. data/templates/tiny_mce/tiny_mce/langs/de.js +1 -0
  57. data/templates/tiny_mce/tiny_mce/langs/en.js +1 -222
  58. data/templates/tiny_mce/tiny_mce/plugins/advhr/css/advhr.css +1 -5
  59. data/templates/tiny_mce/tiny_mce/plugins/advhr/editor_plugin.js +1 -1
  60. data/templates/tiny_mce/tiny_mce/plugins/advhr/editor_plugin_src.js +1 -57
  61. data/templates/tiny_mce/tiny_mce/plugins/advhr/js/rule.js +1 -43
  62. data/templates/tiny_mce/tiny_mce/plugins/advhr/langs/de_dlg.js +1 -0
  63. data/templates/tiny_mce/tiny_mce/plugins/advhr/langs/en_dlg.js +1 -7
  64. data/templates/tiny_mce/tiny_mce/plugins/advhr/rule.htm +1 -58
  65. data/templates/tiny_mce/tiny_mce/plugins/advimage/css/advimage.css +1 -13
  66. data/templates/tiny_mce/tiny_mce/plugins/advimage/editor_plugin.js +1 -1
  67. data/templates/tiny_mce/tiny_mce/plugins/advimage/editor_plugin_src.js +1 -50
  68. data/templates/tiny_mce/tiny_mce/plugins/advimage/image.htm +1 -235
  69. data/templates/tiny_mce/tiny_mce/plugins/advimage/js/image.js +1 -445
  70. data/templates/tiny_mce/tiny_mce/plugins/advimage/langs/de_dlg.js +1 -0
  71. data/templates/tiny_mce/tiny_mce/plugins/advimage/langs/en_dlg.js +1 -45
  72. data/templates/tiny_mce/tiny_mce/plugins/advlink/css/advlink.css +1 -8
  73. data/templates/tiny_mce/tiny_mce/plugins/advlink/editor_plugin.js +1 -1
  74. data/templates/tiny_mce/tiny_mce/plugins/advlink/editor_plugin_src.js +1 -61
  75. data/templates/tiny_mce/tiny_mce/plugins/advlink/js/advlink.js +1 -525
  76. data/templates/tiny_mce/tiny_mce/plugins/advlink/langs/de_dlg.js +1 -0
  77. data/templates/tiny_mce/tiny_mce/plugins/advlink/langs/en_dlg.js +1 -54
  78. data/templates/tiny_mce/tiny_mce/plugins/advlink/link.htm +1 -338
  79. data/templates/tiny_mce/tiny_mce/plugins/advlist/editor_plugin.js +1 -1
  80. data/templates/tiny_mce/tiny_mce/plugins/advlist/editor_plugin_src.js +1 -154
  81. data/templates/tiny_mce/tiny_mce/plugins/autoresize/editor_plugin.js +1 -1
  82. data/templates/tiny_mce/tiny_mce/plugins/autoresize/editor_plugin_src.js +1 -119
  83. data/templates/tiny_mce/tiny_mce/plugins/autosave/editor_plugin.js +1 -1
  84. data/templates/tiny_mce/tiny_mce/plugins/autosave/editor_plugin_src.js +1 -431
  85. data/templates/tiny_mce/tiny_mce/plugins/autosave/langs/en.js +1 -4
  86. data/templates/tiny_mce/tiny_mce/plugins/bbcode/editor_plugin.js +1 -1
  87. data/templates/tiny_mce/tiny_mce/plugins/bbcode/editor_plugin_src.js +1 -120
  88. data/templates/tiny_mce/tiny_mce/plugins/contextmenu/editor_plugin.js +1 -1
  89. data/templates/tiny_mce/tiny_mce/plugins/contextmenu/editor_plugin_src.js +1 -154
  90. data/templates/tiny_mce/tiny_mce/plugins/directionality/editor_plugin.js +1 -1
  91. data/templates/tiny_mce/tiny_mce/plugins/directionality/editor_plugin_src.js +1 -82
  92. data/templates/tiny_mce/tiny_mce/plugins/emotions/editor_plugin.js +1 -1
  93. data/templates/tiny_mce/tiny_mce/plugins/emotions/editor_plugin_src.js +1 -43
  94. data/templates/tiny_mce/tiny_mce/plugins/emotions/emotions.htm +1 -41
  95. data/templates/tiny_mce/tiny_mce/plugins/emotions/js/emotions.js +1 -22
  96. data/templates/tiny_mce/tiny_mce/plugins/emotions/langs/de_dlg.js +1 -0
  97. data/templates/tiny_mce/tiny_mce/plugins/emotions/langs/en_dlg.js +1 -20
  98. data/templates/tiny_mce/tiny_mce/plugins/example/dialog.htm +1 -22
  99. data/templates/tiny_mce/tiny_mce/plugins/example/editor_plugin.js +1 -1
  100. data/templates/tiny_mce/tiny_mce/plugins/example/editor_plugin_src.js +1 -84
  101. data/templates/tiny_mce/tiny_mce/plugins/example/js/dialog.js +1 -19
  102. data/templates/tiny_mce/tiny_mce/plugins/example/langs/en.js +1 -3
  103. data/templates/tiny_mce/tiny_mce/plugins/example/langs/en_dlg.js +1 -3
  104. data/templates/tiny_mce/tiny_mce/plugins/fullpage/css/fullpage.css +1 -182
  105. data/templates/tiny_mce/tiny_mce/plugins/fullpage/editor_plugin.js +1 -1
  106. data/templates/tiny_mce/tiny_mce/plugins/fullpage/editor_plugin_src.js +1 -166
  107. data/templates/tiny_mce/tiny_mce/plugins/fullpage/fullpage.htm +1 -571
  108. data/templates/tiny_mce/tiny_mce/plugins/fullpage/js/fullpage.js +1 -492
  109. data/templates/tiny_mce/tiny_mce/plugins/fullpage/langs/de_dlg.js +1 -0
  110. data/templates/tiny_mce/tiny_mce/plugins/fullpage/langs/en_dlg.js +1 -85
  111. data/templates/tiny_mce/tiny_mce/plugins/fullscreen/editor_plugin.js +1 -1
  112. data/templates/tiny_mce/tiny_mce/plugins/fullscreen/editor_plugin_src.js +1 -159
  113. data/templates/tiny_mce/tiny_mce/plugins/fullscreen/fullscreen.htm +1 -109
  114. data/templates/tiny_mce/tiny_mce/plugins/iespell/editor_plugin.js +1 -1
  115. data/templates/tiny_mce/tiny_mce/plugins/iespell/editor_plugin_src.js +1 -54
  116. data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/editor_plugin.js +1 -1
  117. data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/editor_plugin_src.js +1 -696
  118. data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css +1 -90
  119. data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/template.htm +1 -387
  120. data/templates/tiny_mce/tiny_mce/plugins/insertdatetime/editor_plugin.js +1 -1
  121. data/templates/tiny_mce/tiny_mce/plugins/insertdatetime/editor_plugin_src.js +1 -83
  122. data/templates/tiny_mce/tiny_mce/plugins/layer/editor_plugin.js +1 -1
  123. data/templates/tiny_mce/tiny_mce/plugins/layer/editor_plugin_src.js +1 -214
  124. data/templates/tiny_mce/tiny_mce/plugins/legacyoutput/editor_plugin.js +1 -1
  125. data/templates/tiny_mce/tiny_mce/plugins/legacyoutput/editor_plugin_src.js +1 -139
  126. data/templates/tiny_mce/tiny_mce/plugins/media/css/media.css +1 -17
  127. data/templates/tiny_mce/tiny_mce/plugins/media/editor_plugin.js +1 -1
  128. data/templates/tiny_mce/tiny_mce/plugins/media/editor_plugin_src.js +1 -770
  129. data/templates/tiny_mce/tiny_mce/plugins/media/js/embed.js +1 -73
  130. data/templates/tiny_mce/tiny_mce/plugins/media/js/media.js +1 -340
  131. data/templates/tiny_mce/tiny_mce/plugins/media/langs/de_dlg.js +1 -0
  132. data/templates/tiny_mce/tiny_mce/plugins/media/langs/en_dlg.js +1 -109
  133. data/templates/tiny_mce/tiny_mce/plugins/media/media.htm +1 -812
  134. data/templates/tiny_mce/tiny_mce/plugins/nonbreaking/editor_plugin.js +1 -1
  135. data/templates/tiny_mce/tiny_mce/plugins/nonbreaking/editor_plugin_src.js +1 -53
  136. data/templates/tiny_mce/tiny_mce/plugins/noneditable/editor_plugin.js +1 -1
  137. data/templates/tiny_mce/tiny_mce/plugins/noneditable/editor_plugin_src.js +1 -90
  138. data/templates/tiny_mce/tiny_mce/plugins/pagebreak/editor_plugin.js +1 -1
  139. data/templates/tiny_mce/tiny_mce/plugins/pagebreak/editor_plugin_src.js +1 -74
  140. data/templates/tiny_mce/tiny_mce/plugins/paste/editor_plugin.js +1 -1
  141. data/templates/tiny_mce/tiny_mce/plugins/paste/editor_plugin_src.js +1 -899
  142. data/templates/tiny_mce/tiny_mce/plugins/paste/js/pastetext.js +1 -36
  143. data/templates/tiny_mce/tiny_mce/plugins/paste/js/pasteword.js +1 -51
  144. data/templates/tiny_mce/tiny_mce/plugins/paste/langs/de_dlg.js +1 -0
  145. data/templates/tiny_mce/tiny_mce/plugins/paste/langs/en_dlg.js +1 -5
  146. data/templates/tiny_mce/tiny_mce/plugins/paste/pastetext.htm +1 -27
  147. data/templates/tiny_mce/tiny_mce/plugins/paste/pasteword.htm +1 -21
  148. data/templates/tiny_mce/tiny_mce/plugins/preview/editor_plugin.js +1 -1
  149. data/templates/tiny_mce/tiny_mce/plugins/preview/editor_plugin_src.js +1 -53
  150. data/templates/tiny_mce/tiny_mce/plugins/preview/example.html +17 -16
  151. data/templates/tiny_mce/tiny_mce/plugins/preview/jscripts/embed.js +1 -73
  152. data/templates/tiny_mce/tiny_mce/plugins/preview/preview.html +10 -9
  153. data/templates/tiny_mce/tiny_mce/plugins/print/editor_plugin.js +1 -1
  154. data/templates/tiny_mce/tiny_mce/plugins/print/editor_plugin_src.js +1 -34
  155. data/templates/tiny_mce/tiny_mce/plugins/save/editor_plugin.js +1 -1
  156. data/templates/tiny_mce/tiny_mce/plugins/save/editor_plugin_src.js +1 -101
  157. data/templates/tiny_mce/tiny_mce/plugins/searchreplace/css/searchreplace.css +1 -6
  158. data/templates/tiny_mce/tiny_mce/plugins/searchreplace/editor_plugin.js +1 -1
  159. data/templates/tiny_mce/tiny_mce/plugins/searchreplace/editor_plugin_src.js +1 -61
  160. data/templates/tiny_mce/tiny_mce/plugins/searchreplace/js/searchreplace.js +1 -140
  161. data/templates/tiny_mce/tiny_mce/plugins/searchreplace/langs/de_dlg.js +1 -0
  162. data/templates/tiny_mce/tiny_mce/plugins/searchreplace/langs/en_dlg.js +1 -16
  163. data/templates/tiny_mce/tiny_mce/plugins/searchreplace/searchreplace.htm +1 -100
  164. data/templates/tiny_mce/tiny_mce/plugins/spellchecker/css/content.css +1 -1
  165. data/templates/tiny_mce/tiny_mce/plugins/spellchecker/editor_plugin.js +1 -1
  166. data/templates/tiny_mce/tiny_mce/plugins/spellchecker/editor_plugin_src.js +1 -415
  167. data/templates/tiny_mce/tiny_mce/plugins/style/css/props.css +1 -13
  168. data/templates/tiny_mce/tiny_mce/plugins/style/editor_plugin.js +1 -1
  169. data/templates/tiny_mce/tiny_mce/plugins/style/editor_plugin_src.js +1 -55
  170. data/templates/tiny_mce/tiny_mce/plugins/style/js/props.js +1 -635
  171. data/templates/tiny_mce/tiny_mce/plugins/style/langs/de_dlg.js +1 -0
  172. data/templates/tiny_mce/tiny_mce/plugins/style/langs/en_dlg.js +1 -70
  173. data/templates/tiny_mce/tiny_mce/plugins/style/props.htm +1 -838
  174. data/templates/tiny_mce/tiny_mce/plugins/tabfocus/editor_plugin.js +1 -1
  175. data/templates/tiny_mce/tiny_mce/plugins/tabfocus/editor_plugin_src.js +1 -114
  176. data/templates/tiny_mce/tiny_mce/plugins/table/cell.htm +1 -178
  177. data/templates/tiny_mce/tiny_mce/plugins/table/css/cell.css +1 -17
  178. data/templates/tiny_mce/tiny_mce/plugins/table/css/row.css +1 -25
  179. data/templates/tiny_mce/tiny_mce/plugins/table/css/table.css +1 -13
  180. data/templates/tiny_mce/tiny_mce/plugins/table/editor_plugin.js +1 -1
  181. data/templates/tiny_mce/tiny_mce/plugins/table/editor_plugin_src.js +1 -1183
  182. data/templates/tiny_mce/tiny_mce/plugins/table/js/cell.js +1 -284
  183. data/templates/tiny_mce/tiny_mce/plugins/table/js/merge_cells.js +1 -27
  184. data/templates/tiny_mce/tiny_mce/plugins/table/js/row.js +1 -232
  185. data/templates/tiny_mce/tiny_mce/plugins/table/js/table.js +1 -450
  186. data/templates/tiny_mce/tiny_mce/plugins/table/langs/de_dlg.js +1 -0
  187. data/templates/tiny_mce/tiny_mce/plugins/table/langs/en_dlg.js +1 -74
  188. data/templates/tiny_mce/tiny_mce/plugins/table/merge_cells.htm +1 -32
  189. data/templates/tiny_mce/tiny_mce/plugins/table/row.htm +1 -157
  190. data/templates/tiny_mce/tiny_mce/plugins/table/table.htm +1 -188
  191. data/templates/tiny_mce/tiny_mce/plugins/template/blank.htm +1 -12
  192. data/templates/tiny_mce/tiny_mce/plugins/template/css/template.css +1 -23
  193. data/templates/tiny_mce/tiny_mce/plugins/template/editor_plugin.js +1 -1
  194. data/templates/tiny_mce/tiny_mce/plugins/template/editor_plugin_src.js +1 -159
  195. data/templates/tiny_mce/tiny_mce/plugins/template/js/template.js +1 -106
  196. data/templates/tiny_mce/tiny_mce/plugins/template/langs/de_dlg.js +1 -0
  197. data/templates/tiny_mce/tiny_mce/plugins/template/langs/en_dlg.js +1 -15
  198. data/templates/tiny_mce/tiny_mce/plugins/template/template.htm +1 -31
  199. data/templates/tiny_mce/tiny_mce/plugins/visualchars/editor_plugin.js +1 -1
  200. data/templates/tiny_mce/tiny_mce/plugins/visualchars/editor_plugin_src.js +1 -83
  201. data/templates/tiny_mce/tiny_mce/plugins/wordcount/editor_plugin.js +1 -1
  202. data/templates/tiny_mce/tiny_mce/plugins/wordcount/editor_plugin_src.js +1 -114
  203. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/abbr.htm +1 -142
  204. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/acronym.htm +1 -142
  205. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/attributes.htm +1 -149
  206. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/cite.htm +1 -142
  207. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/css/attributes.css +1 -11
  208. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/css/popup.css +1 -9
  209. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/del.htm +1 -162
  210. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/editor_plugin.js +1 -1
  211. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js +1 -132
  212. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/ins.htm +1 -162
  213. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/abbr.js +1 -28
  214. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/acronym.js +1 -28
  215. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/attributes.js +1 -125
  216. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/cite.js +1 -28
  217. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/del.js +1 -53
  218. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/element_common.js +1 -229
  219. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/ins.js +1 -53
  220. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/langs/de_dlg.js +1 -0
  221. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js +1 -32
  222. data/templates/tiny_mce/tiny_mce/themes/advanced/about.htm +1 -52
  223. data/templates/tiny_mce/tiny_mce/themes/advanced/anchor.htm +1 -26
  224. data/templates/tiny_mce/tiny_mce/themes/advanced/charmap.htm +1 -51
  225. data/templates/tiny_mce/tiny_mce/themes/advanced/color_picker.htm +1 -74
  226. data/templates/tiny_mce/tiny_mce/themes/advanced/editor_template.js +1 -1
  227. data/templates/tiny_mce/tiny_mce/themes/advanced/editor_template_src.js +1 -1328
  228. data/templates/tiny_mce/tiny_mce/themes/advanced/image.htm +1 -80
  229. data/templates/tiny_mce/tiny_mce/themes/advanced/js/about.js +1 -73
  230. data/templates/tiny_mce/tiny_mce/themes/advanced/js/anchor.js +1 -42
  231. data/templates/tiny_mce/tiny_mce/themes/advanced/js/charmap.js +1 -354
  232. data/templates/tiny_mce/tiny_mce/themes/advanced/js/color_picker.js +1 -329
  233. data/templates/tiny_mce/tiny_mce/themes/advanced/js/image.js +1 -247
  234. data/templates/tiny_mce/tiny_mce/themes/advanced/js/link.js +1 -153
  235. data/templates/tiny_mce/tiny_mce/themes/advanced/js/source_editor.js +1 -56
  236. data/templates/tiny_mce/tiny_mce/themes/advanced/langs/de.js +1 -0
  237. data/templates/tiny_mce/tiny_mce/themes/advanced/langs/de_dlg.js +1 -0
  238. data/templates/tiny_mce/tiny_mce/themes/advanced/langs/en.js +1 -68
  239. data/templates/tiny_mce/tiny_mce/themes/advanced/langs/en_dlg.js +1 -54
  240. data/templates/tiny_mce/tiny_mce/themes/advanced/link.htm +1 -57
  241. data/templates/tiny_mce/tiny_mce/themes/advanced/shortcuts.htm +1 -47
  242. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/default/content.css +1 -47
  243. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/default/dialog.css +1 -117
  244. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/default/ui.css +1 -213
  245. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/highcontrast/content.css +1 -23
  246. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/highcontrast/dialog.css +1 -105
  247. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/highcontrast/ui.css +1 -101
  248. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/content.css +1 -46
  249. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/dialog.css +1 -116
  250. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/ui.css +1 -215
  251. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/ui_black.css +1 -8
  252. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css +1 -5
  253. data/templates/tiny_mce/tiny_mce/themes/advanced/source_editor.htm +1 -25
  254. data/templates/tiny_mce/tiny_mce/themes/simple/editor_template.js +1 -1
  255. data/templates/tiny_mce/tiny_mce/themes/simple/editor_template_src.js +1 -84
  256. data/templates/tiny_mce/tiny_mce/themes/simple/langs/de.js +1 -0
  257. data/templates/tiny_mce/tiny_mce/themes/simple/langs/en.js +1 -11
  258. data/templates/tiny_mce/tiny_mce/themes/simple/skins/default/content.css +1 -25
  259. data/templates/tiny_mce/tiny_mce/themes/simple/skins/default/ui.css +1 -32
  260. data/templates/tiny_mce/tiny_mce/themes/simple/skins/o2k7/content.css +1 -17
  261. data/templates/tiny_mce/tiny_mce/themes/simple/skins/o2k7/ui.css +1 -35
  262. data/templates/tiny_mce/tiny_mce/tiny_mce.js +1 -1
  263. data/templates/tiny_mce/tiny_mce/tiny_mce_popup.js +1 -5
  264. data/templates/tiny_mce/tiny_mce/utils/editable_selects.js +1 -70
  265. data/templates/tiny_mce/tiny_mce/utils/form_utils.js +1 -207
  266. data/templates/tiny_mce/tiny_mce/utils/mctabs.js +1 -162
  267. data/templates/tiny_mce/tiny_mce/utils/validate.js +1 -252
  268. metadata +32 -17
  269. data/templates/mobile/jquery/mobile/default/form-check-off.png +0 -0
  270. data/templates/mobile/jquery/mobile/default/form-check-on.png +0 -0
  271. data/templates/mobile/jquery/mobile/default/form-radio-off.png +0 -0
  272. data/templates/mobile/jquery/mobile/default/form-radio-on.png +0 -0
  273. data/templates/mobile/jquery/mobile/valencia/form-check-off.png +0 -0
  274. data/templates/mobile/jquery/mobile/valencia/form-check-on.png +0 -0
  275. data/templates/mobile/jquery/mobile/valencia/form-radio-off.png +0 -0
  276. 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
- Created by David Kaneda <http://www.davidkaneda.com>
12
- Documentation and issue tracking on GitHub <http://wiki.github.com/senchalabs/jQTouch/>
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
- Special thanks to Jonathan Stark <http://jonathanstark.com/>
15
- and pinch/zoom <http://www.pinchzoom.com/>
14
+ Special thanks to Jonathan Stark <http://jonathanstark.com/>
15
+ and pinch/zoom <http://www.pinchzoom.com/>
16
16
 
17
- (c) 2010 by jQTouch project members.
18
- See LICENSE.txt for license.
17
+ (c) 2010 by jQTouch project members.
18
+ See LICENSE.txt for license.
19
19
 
20
- $Revision: 161 $
21
- $Date: Wed Jan 19 23:43:35 EST 2011 $
22
- $LastChangedBy: jonathanstark $
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
- $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: [
72
- // highest to lowest priority
73
- {selector:'.cube', name:'cubeleft', is3d:true},
74
- {selector:'.cubeleft', name:'cubeleft', is3d:true},
75
- {selector:'.cuberight', name:'cuberight', is3d:true},
76
- {selector:'.dissolve', name:'fade', is3d:false},
77
- {selector:'.fade', name:'fade', is3d:false},
78
- {selector:'.flip', name:'flipleft', is3d:true},
79
- {selector:'.flipleft', name:'flipleft', is3d:true},
80
- {selector:'.flipright', name:'flipright', is3d:true},
81
- {selector:'.pop', name:'pop', is3d:true},
82
- {selector:'.slide', name:'slideleft', is3d:false},
83
- {selector:'.slidedown', name:'slidedown', is3d:false},
84
- {selector:'.slideleft', name:'slideleft', is3d:false},
85
- {selector:'.slideright', name:'slideright', is3d:false},
86
- {selector:'.slideup', name:'slideup', is3d:false},
87
- {selector:'.swap', name:'swapleft', is3d:true},
88
- {selector:'#jqt > * > ul li a', name:'slideleft', is3d:false}
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
- console.log(delta + ': ' + message);
97
+ _log(delta + ': ' + message);
99
98
  } else {
100
- console.log(delta + ': ' + 'Called ' + arguments.callee.caller.name);
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
- // Make sure we are scrolled up to hide location bar
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 (backwards) {
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 (backwards) {
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
- console.warn('The reverse parameter was sent to goTo() function, which is bad.');
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 = 0, max = animations.length; i < max; 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, reverse)) {
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 (location.hash === hist[1].hash) {
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
- // Remove listener
440
- window.onhashchange = null;
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) === 'string') ? $(e).eq(0) : (e.target ? $(e.target) : $(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
- hash = $el.attr('hash'),
621
- animation = null;
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 = 0, max = animations.length; i < max; 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
- console.warn('Animation could not be found. Using slideleft.');
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, $(this).hasClass('reverse'));
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
- hoverTimeout = null,
702
- pressTimeout = null,
703
- touch,
704
- startX,
705
- startY,
706
- deltaX = 0,
707
- deltaY = 0,
708
- deltaT = 0;
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', touchmove).bind('touchend', touchend).bind('touchcancel', touchcancel);
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', touchmove).unbind('touchend', touchend).unbind('touchcancel', touchcancel);
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 touchcancel(e) {
714
+ function touchCancelHandler(e) {
732
715
  _debug();
733
716
  clearTimeout(hoverTimeout);
734
717
  $el.unselect();
735
- $el.unbind('touchmove', touchmove).unbind('touchend', touchend).unbind('touchcancel', touchcancel);
718
+ $el.unbind('touchmove',touchMoveHandler).unbind('touchend',touchEndHandler).unbind('touchcancel',touchCancelHandler);
736
719
  }
737
720
 
738
- function touchend(e) {
721
+ function touchEndHandler(e) {
739
722
  _debug();
740
723
  // updateChanges();
741
- $el.unbind('touchend', touchend).unbind('touchcancel', touchcancel);
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 touchmove(e) {
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', touchmove).unbind('touchend', touchend).unbind('touchcancel', touchcancel);
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
- console.warn('This device does not support touch interaction, or it has been deactivated by the developer. Some features might be unavailable.');
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
- console.warn('This device does not support 3d animation. 2d animations will be used instead.');
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 = 0, max = extensions.length; i < max; 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
- console.warn('NOTE: cubeSelector has been deprecated. Please use cubeleftSelector instead.');
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
- console.warn('NOTE: flipSelector has been deprecated. Please use flipleftSelector instead.');
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
- console.warn('NOTE: slideSelector has been deprecated. Please use slideleftSelector instead.');
843
+ _log('NOTE: slideSelector has been deprecated. Please use slideleftSelector instead.');
861
844
  jQTSettings['slideleftSelector'] = jQTSettings['slideSelector'];
862
845
  }
863
- for (var i = 0, max = defaults.animations.length; i < max; i++) {
846
+ for (var i=0, max=defaults.animations.length; i < max; i++) {
864
847
  var animation = defaults.animations[i];
865
- if (jQTSettings[animation.name + 'Selector'] !== undefined) {
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
- console.warn('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.');
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 3d specific css if need be
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
- .bind('click', clickHandler)
897
- .bind('mousedown', mousedownHandler)
898
- .bind('orientationchange', orientationChangeHandler)
899
- .bind('submit', submitHandler)
900
- .bind('tap', tapHandler)
901
- .trigger('orientationchange');
902
-
903
- // Normalize href
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
- if (history.replaceState !== undefined) {
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
- //cache.addEventListener('cached', logEvent, false);
6140
- //cache.addEventListener('checking', logEvent, false);
6141
- //cache.addEventListener('downloading', logEvent, false);
6142
- //cache.addEventListener('error', logEvent, false);
6143
- //cache.addEventListener('noupdate', logEvent, false);
6144
- //cache.addEventListener('obsolete', logEvent, false);
6145
- //cache.addEventListener('progress', logEvent, false);
6146
- //cache.addEventListener('updateready', logEvent, false);
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) {