compass-jquery-plugin 0.3.0.beta.24 → 0.3.0.beta.25

Sign up to get free protection for your applications and to get access to all the features.
Files changed (341) hide show
  1. data/README.textile +10 -9
  2. data/VERSION.yml +1 -1
  3. data/compass-jquery-plugin.gemspec +292 -288
  4. data/gem_tasks/ical.rake +85 -0
  5. data/gem_tasks/jqtouch.rake +1 -25
  6. data/gem_tasks/jrails.rake +127 -94
  7. data/gem_tasks/jstree.rake +2 -1
  8. data/gem_tasks/mobile.rake +33 -2
  9. data/gem_tasks/rubygems.rake +1 -1
  10. data/gem_tasks/tools.rake +66 -0
  11. data/lib/{compiler.jar → google-compiler-20100917.jar} +0 -0
  12. data/lib/handle_js_files.rb +27 -30
  13. data/lib/jquery/ical.rb +7 -0
  14. data/lib/jquery/{jqical → ical}/calendar.rb +5 -5
  15. data/lib/jquery/{jqical → ical}/event.rb +117 -117
  16. data/lib/jquery/{jqical → ical}/helpers/ui_event_helper.rb +1 -1
  17. data/lib/jquery/tools.rb +2 -0
  18. data/lib/js.jar +0 -0
  19. data/lib/jslint-check.js +36 -0
  20. data/lib/jslint.js +5500 -0
  21. data/templates/dynatree/jquery.dynatree.js +1170 -784
  22. data/templates/dynatree/jquery.dynatree.min.js +77 -67
  23. data/templates/emulators/emulators/blackberry.landscape.scss +1 -0
  24. data/templates/emulators/emulators/blackberry.portrait.scss +2 -2
  25. data/templates/emulators/emulators/blackberry.torch.portrait.png +0 -0
  26. data/templates/emulators/emulators/iphone.landscape.scss +1 -0
  27. data/templates/emulators/emulators/iphone.portrait.png +0 -0
  28. data/templates/emulators/emulators/iphone.portrait.scss +2 -1
  29. data/templates/emulators/emulators/palm.landscape.scss +1 -0
  30. data/templates/emulators/emulators/palm.portrait.scss +3 -2
  31. data/templates/emulators/emulators/palm.pre.portrait.png +0 -0
  32. data/templates/{jqical → ical}/app/views/shared/_ui_event_for.js.haml +0 -0
  33. data/templates/ical/config/initializers/ical.rb +7 -0
  34. data/templates/{jqical/jquery.jqical.js → ical/jquery.ical.js} +0 -0
  35. data/templates/{jqical/jquery.jqical.min.js → ical/jquery.ical.min.js} +0 -0
  36. data/templates/{jqical/jquery/jqical.scss → ical/jquery/ical.scss} +1 -1
  37. data/templates/{jqical/jquery/jqical → ical/jquery/ical}/calendar.png +0 -0
  38. data/templates/{jqical/jquery/jqical → ical/jquery/ical}/clock.png +0 -0
  39. data/templates/ical/manifest.rb +10 -0
  40. data/templates/jqtouch/config/initializers/jqtouch.rb +1 -1
  41. data/templates/jqtouch/manifest.rb +0 -261
  42. data/templates/jrails/config/initializers/jrails.rb +3 -3
  43. data/templates/jrails/{jquery-1.4.3.js → jquery-1.4.4.js} +102 -47
  44. data/templates/jrails/jquery-1.4.4.min.js +152 -0
  45. data/templates/jrails/lib/tasks/haml.rake +55 -0
  46. data/templates/jrails/manifest.rb +4 -2
  47. data/templates/jstree/jquery.jstree.js +148 -64
  48. data/templates/jstree/jquery.jstree.min.js +219 -215
  49. data/templates/mobile/config/initializers/mobile.rb +1 -1
  50. data/templates/jqtouch/jquery/touch/glyphish/Read me first - license.txt b/data/templates/mobile/glyphish/Read me first - → license.txt +0 -0
  51. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/01-refresh.png +0 -0
  52. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/02-redo.png +0 -0
  53. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/03-loopback.png +0 -0
  54. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/04-squiggle.png +0 -0
  55. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/05-shuffle.png +0 -0
  56. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/06-magnifying-glass.png +0 -0
  57. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/07-map-marker.png +0 -0
  58. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/08-chat.png +0 -0
  59. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/09-chat2.png +0 -0
  60. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/10-medical.png +0 -0
  61. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/100-coffee.png +0 -0
  62. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/101-gameplan.png +0 -0
  63. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/102-walk.png +0 -0
  64. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/103-map.png +0 -0
  65. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/104-index-cards.png +0 -0
  66. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/105-piano.png +0 -0
  67. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/106-sliders.png +0 -0
  68. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/107-widescreen.png +0 -0
  69. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/108-badge.png +0 -0
  70. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/109-chicken.png +0 -0
  71. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/11-clock.png +0 -0
  72. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/110-bug.png +0 -0
  73. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/111-user.png +0 -0
  74. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/112-group.png +0 -0
  75. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/113-navigation.png +0 -0
  76. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/114-balloon.png +0 -0
  77. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/115-bow-and-arrow.png +0 -0
  78. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/116-controller.png +0 -0
  79. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/117-todo.png +0 -0
  80. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/118-coathanger.png +0 -0
  81. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/119-piggybank.png +0 -0
  82. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/12-eye.png +0 -0
  83. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/120-headphones.png +0 -0
  84. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/121-lanscape.png +0 -0
  85. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/122-stats.png +0 -0
  86. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/123-id-card.png +0 -0
  87. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/124-bullhorn.png +0 -0
  88. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/125-food.png +0 -0
  89. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/126-moon.png +0 -0
  90. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/127-sock.png +0 -0
  91. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/128-bone.png +0 -0
  92. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/129-golf.png +0 -0
  93. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/13-target.png +0 -0
  94. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/130-dice.png +0 -0
  95. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/14-tag.png +0 -0
  96. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/15-tags.png +0 -0
  97. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/16-line-chart.png +0 -0
  98. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/17-bar-chart.png +0 -0
  99. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/18-envelope.png +0 -0
  100. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/19-gear.png +0 -0
  101. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/20-gear2.png +0 -0
  102. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/21-skull.png +0 -0
  103. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/22-skull-n-crossbones.png +0 -0
  104. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/23-bird.png +0 -0
  105. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/24-gift.png +0 -0
  106. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/25-weather.png +0 -0
  107. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/26-bandaid.png +0 -0
  108. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/27-planet.png +0 -0
  109. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/28-star.png +0 -0
  110. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/29-heart.png +0 -0
  111. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/30-key.png +0 -0
  112. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/31-ipod.png +0 -0
  113. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/32-iphone.png +0 -0
  114. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/33-cabinet.png +0 -0
  115. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/34-coffee.png +0 -0
  116. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/35-shopping-bag.png +0 -0
  117. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/36-toolbox.png +0 -0
  118. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/37-suitcase.png +0 -0
  119. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/38-airplane.png +0 -0
  120. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/39-spraycan.png +0 -0
  121. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/40-inbox.png +0 -0
  122. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/41-picture-frame.png +0 -0
  123. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/42-photos.png +0 -0
  124. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/43-film-roll.png +0 -0
  125. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/44-shoebox.png +0 -0
  126. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/45-movie1.png +0 -0
  127. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/46-movie2.png +0 -0
  128. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/47-fuel.png +0 -0
  129. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/48-fork-and-knife.png +0 -0
  130. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/49-battery.png +0 -0
  131. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/50-beaker.png +0 -0
  132. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/51-outlet.png +0 -0
  133. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/52-pinetree.png +0 -0
  134. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/53-house.png +0 -0
  135. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/54-lock.png +0 -0
  136. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/55-network.png +0 -0
  137. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/56-cloud.png +0 -0
  138. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/57-download.png +0 -0
  139. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/58-bookmark.png +0 -0
  140. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/59-flag.png +0 -0
  141. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/60-signpost.png +0 -0
  142. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/61-brightness.png +0 -0
  143. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/62-contrast.png +0 -0
  144. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/63-runner.png +0 -0
  145. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/64-zap.png +0 -0
  146. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/65-note.png +0 -0
  147. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/66-microphone.png +0 -0
  148. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/67-tshirt.png +0 -0
  149. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/68-paperclip.png +0 -0
  150. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/69-display.png +0 -0
  151. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/70-tv.png +0 -0
  152. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/71-compass.png +0 -0
  153. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/72-pin.png +0 -0
  154. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/73-radar.png +0 -0
  155. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/74-location.png +0 -0
  156. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/75-phone.png +0 -0
  157. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/76-baby.png +0 -0
  158. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/77-ekg.png +0 -0
  159. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/78-stopwatch.png +0 -0
  160. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/79-medical-bag.png +0 -0
  161. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/80-shopping-cart.png +0 -0
  162. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/81-dashboard.png +0 -0
  163. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/82-dogpaw.png +0 -0
  164. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/83-calendar.png +0 -0
  165. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/84-lightbulb.png +0 -0
  166. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/85-trophy.png +0 -0
  167. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/86-camera.png +0 -0
  168. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/87-wineglass.png +0 -0
  169. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/88-beermug.png +0 -0
  170. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/89-dumbbell.png +0 -0
  171. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/90-lifebuoy.png +0 -0
  172. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/91-beaker2.png +0 -0
  173. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/92-testtube.png +0 -0
  174. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/93-thermometer.png +0 -0
  175. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/94-pill.png +0 -0
  176. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/95-equalizer.png +0 -0
  177. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/96-book.png +0 -0
  178. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/97-puzzle.png +0 -0
  179. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/98-palette.png +0 -0
  180. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/icons/99-umbrella.png +0 -0
  181. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/01-refresh.png +0 -0
  182. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/02-redo.png +0 -0
  183. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/03-loopback.png +0 -0
  184. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/04-squiggle.png +0 -0
  185. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/05-shuffle.png +0 -0
  186. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/06-magnifying-glass.png +0 -0
  187. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/07-map-marker.png +0 -0
  188. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/08-chat.png +0 -0
  189. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/09-chat2.png +0 -0
  190. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/10-medical.png +0 -0
  191. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/100-coffee.png +0 -0
  192. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/101-gameplan.png +0 -0
  193. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/102-walk.png +0 -0
  194. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/103-map.png +0 -0
  195. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/104-index-cards.png +0 -0
  196. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/105-piano.png +0 -0
  197. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/106-sliders.png +0 -0
  198. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/107-widescreen.png +0 -0
  199. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/108-badge.png +0 -0
  200. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/109-chicken.png +0 -0
  201. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/11-clock.png +0 -0
  202. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/110-bug.png +0 -0
  203. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/111-user.png +0 -0
  204. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/112-group.png +0 -0
  205. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/113-navigation.png +0 -0
  206. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/114-balloon.png +0 -0
  207. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/115-bow-and-arrow.png +0 -0
  208. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/116-controller.png +0 -0
  209. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/117-todo.png +0 -0
  210. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/118-coathanger.png +0 -0
  211. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/119-piggybank.png +0 -0
  212. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/12-eye.png +0 -0
  213. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/120-headphones.png +0 -0
  214. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/121-lanscape.png +0 -0
  215. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/122-stats.png +0 -0
  216. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/123-id-card.png +0 -0
  217. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/124-bullhorn.png +0 -0
  218. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/125-food.png +0 -0
  219. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/126-moon.png +0 -0
  220. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/127-sock.png +0 -0
  221. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/128-bone.png +0 -0
  222. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/129-golf.png +0 -0
  223. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/13-target.png +0 -0
  224. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/130-dice.png +0 -0
  225. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/14-tag.png +0 -0
  226. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/15-tags.png +0 -0
  227. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/16-line-chart.png +0 -0
  228. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/17-bar-chart.png +0 -0
  229. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/18-envelope.png +0 -0
  230. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/19-gear.png +0 -0
  231. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/20-gear2.png +0 -0
  232. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/21-skull.png +0 -0
  233. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/22-skull-n-crossbones.png +0 -0
  234. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/23-bird.png +0 -0
  235. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/24-gift.png +0 -0
  236. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/25-weather.png +0 -0
  237. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/26-bandaid.png +0 -0
  238. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/27-planet.png +0 -0
  239. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/28-star.png +0 -0
  240. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/29-heart.png +0 -0
  241. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/30-key.png +0 -0
  242. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/31-ipod.png +0 -0
  243. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/32-iphone.png +0 -0
  244. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/33-cabinet.png +0 -0
  245. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/34-coffee.png +0 -0
  246. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/35-shopping-bag.png +0 -0
  247. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/36-toolbox.png +0 -0
  248. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/37-suitcase.png +0 -0
  249. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/38-airplane.png +0 -0
  250. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/39-spraycan.png +0 -0
  251. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/40-inbox.png +0 -0
  252. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/41-picture-frame.png +0 -0
  253. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/42-photos.png +0 -0
  254. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/43-film-roll.png +0 -0
  255. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/44-shoebox.png +0 -0
  256. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/45-movie1.png +0 -0
  257. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/46-movie2.png +0 -0
  258. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/47-fuel.png +0 -0
  259. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/48-fork-and-knife.png +0 -0
  260. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/49-battery.png +0 -0
  261. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/50-beaker.png +0 -0
  262. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/51-outlet.png +0 -0
  263. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/52-pinetree.png +0 -0
  264. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/53-house.png +0 -0
  265. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/54-lock.png +0 -0
  266. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/55-network.png +0 -0
  267. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/56-cloud.png +0 -0
  268. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/57-download.png +0 -0
  269. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/58-bookmark.png +0 -0
  270. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/59-flag.png +0 -0
  271. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/60-signpost.png +0 -0
  272. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/61-brightness.png +0 -0
  273. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/62-contrast.png +0 -0
  274. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/63-runner.png +0 -0
  275. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/64-zap.png +0 -0
  276. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/65-note.png +0 -0
  277. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/66-microphone.png +0 -0
  278. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/67-tshirt.png +0 -0
  279. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/68-paperclip.png +0 -0
  280. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/69-display.png +0 -0
  281. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/70-tv.png +0 -0
  282. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/71-compass.png +0 -0
  283. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/72-pin.png +0 -0
  284. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/73-radar.png +0 -0
  285. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/74-location.png +0 -0
  286. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/75-phone.png +0 -0
  287. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/76-baby.png +0 -0
  288. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/77-ekg.png +0 -0
  289. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/78-stopwatch.png +0 -0
  290. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/79-medical-bag.png +0 -0
  291. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/80-shopping-cart.png +0 -0
  292. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/81-dashboard.png +0 -0
  293. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/82-dogpaw.png +0 -0
  294. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/83-calendar.png +0 -0
  295. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/84-lightbulb.png +0 -0
  296. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/85-trophy.png +0 -0
  297. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/86-camera.png +0 -0
  298. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/87-wineglass.png +0 -0
  299. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/88-beermug.png +0 -0
  300. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/89-dumbbell.png +0 -0
  301. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/90-lifebuoy.png +0 -0
  302. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/91-beaker2.png +0 -0
  303. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/92-testtube.png +0 -0
  304. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/93-thermometer.png +0 -0
  305. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/94-pill.png +0 -0
  306. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/95-equalizer.png +0 -0
  307. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/96-book.png +0 -0
  308. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/97-puzzle.png +0 -0
  309. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/98-palette.png +0 -0
  310. data/templates/{jqtouch/jquery/touch → mobile}/glyphish/mini-icons/99-umbrella.png +0 -0
  311. data/templates/mobile/jquery.mobile.js +380 -179
  312. data/templates/mobile/jquery.mobile.min.js +3 -3
  313. data/templates/mobile/jquery/mobile/_base.scss +9 -10
  314. data/templates/mobile/jquery/mobile/default/ajax-loader.png +0 -0
  315. data/templates/mobile/jquery/mobile/default/icons-18-black.png +0 -0
  316. data/templates/mobile/jquery/mobile/default/icons-18-white.png +0 -0
  317. data/templates/mobile/jquery/mobile/default/icons-36-black.png +0 -0
  318. data/templates/mobile/jquery/mobile/default/icons-36-white.png +0 -0
  319. data/templates/mobile/jquery/mobile/valencia/ajax-loader.png +0 -0
  320. data/templates/mobile/jquery/mobile/valencia/icons-18-black.png +0 -0
  321. data/templates/mobile/jquery/mobile/valencia/icons-18-white.png +0 -0
  322. data/templates/mobile/jquery/mobile/valencia/icons-36-black.png +0 -0
  323. data/templates/mobile/jquery/mobile/valencia/icons-36-white.png +0 -0
  324. data/templates/mobile/lib/tasks/jquery.mobile.rake +106 -0
  325. data/templates/mobile/manifest.rb +262 -2
  326. data/templates/{jqtools/config/initializers/jqtools.rb → tools/config/initializers/tools.rb} +2 -2
  327. data/templates/{jqtools → tools}/jquery.tools.js +0 -0
  328. data/templates/{jqtools → tools}/jquery.tools.min.js +0 -0
  329. data/templates/tools/lib/tasks/jquery.tools.rake +43 -0
  330. data/templates/tools/manifest.rb +7 -0
  331. metadata +293 -289
  332. data/gem_tasks/jqical.rake +0 -86
  333. data/gem_tasks/jqtools.rake +0 -60
  334. data/lib/jquery/jqical.rb +0 -7
  335. data/lib/jquery/jqtools.rb +0 -2
  336. data/templates/jqical/config/initializers/jqical.rb +0 -7
  337. data/templates/jqical/manifest.rb +0 -10
  338. data/templates/jqtools/manifest.rb +0 -6
  339. data/templates/jrails/jquery-1.4.3.min.js +0 -152
  340. data/templates/mobile/jquery/mobile/default/ajax-loader.gif +0 -0
  341. data/templates/mobile/jquery/mobile/valencia/ajax-loader.gif +0 -0
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * http://docs.jquery.com/UI/Widget
9
9
  */
10
- (function(b,d){if(b.cleanData){var c=b.cleanData;b.cleanData=function(e){for(var f=0,g;(g=e[f])!=null;f++){b(g).triggerHandler("remove")}c(e)}}else{var a=b.fn.remove;b.fn.remove=function(e,f){return this.each(function(){if(!f){if(!e||b.filter(e,[this]).length){b("*",this).add([this]).each(function(){b(this).triggerHandler("remove")})}}return a.call(b(this),e,f)})}}b.widget=function(f,h,e){var g=f.split(".")[0],j;f=f.split(".")[1];j=g+"-"+f;if(!e){e=h;h=b.Widget}b.expr[":"][j]=function(k){return !!b.data(k,f)};b[g]=b[g]||{};b[g][f]=function(k,l){if(arguments.length){this._createWidget(k,l)}};var i=new h();i.options=b.extend(true,{},i.options);b[g][f].prototype=b.extend(true,i,{namespace:g,widgetName:f,widgetEventPrefix:b[g][f].prototype.widgetEventPrefix||f,widgetBaseClass:j},e);b.widget.bridge(f,b[g][f])};b.widget.bridge=function(f,e){b.fn[f]=function(i){var g=typeof i==="string",h=Array.prototype.slice.call(arguments,1),j=this;i=!g&&h.length?b.extend.apply(null,[true,i].concat(h)):i;if(g&&i.charAt(0)==="_"){return j}if(g){this.each(function(){var k=b.data(this,f);if(!k){throw"cannot call methods on "+f+" prior to initialization; attempted to call method '"+i+"'"}if(!b.isFunction(k[i])){throw"no such method '"+i+"' for "+f+" widget instance"}var l=k[i].apply(k,h);if(l!==k&&l!==d){j=l;return false}})}else{this.each(function(){var k=b.data(this,f);if(k){k.option(i||{})._init()}else{b.data(this,f,new e(i,this))}})}return j}};b.Widget=function(e,f){if(arguments.length){this._createWidget(e,f)}};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(f,g){b.data(g,this.widgetName,this);this.element=b(g);this.options=b.extend(true,{},this.options,this._getCreateOptions(),f);var e=this;this.element.bind("remove."+this.widgetName,function(){e.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){var e={};if(b.metadata){e=b.metadata.get(element)[this.widgetName]}return e},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(f,g){var e=f;if(arguments.length===0){return b.extend({},this.options)}if(typeof f==="string"){if(g===d){return this.options[f]}e={};e[f]=g}this._setOptions(e);return this},_setOptions:function(f){var e=this;b.each(f,function(g,h){e._setOption(g,h)});return this},_setOption:function(e,f){this.options[e]=f;if(e==="disabled"){this.widget()[f?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",f)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(f,g,h){var k=this.options[f];g=b.Event(g);g.type=(f===this.widgetEventPrefix?f:this.widgetEventPrefix+f).toLowerCase();h=h||{};if(g.originalEvent){for(var e=b.event.props.length,j;e;){j=b.event.props[--e];g[j]=g.originalEvent[j]}}this.element.trigger(g,h);return !(b.isFunction(k)&&k.call(this.element[0],g,h)===false||g.isDefaultPrevented())}}})(jQuery);(function(a){a.widget("mobile.widget",{_getCreateOptions:function(){var c=this.element,b={};a.each(this.options,function(d){var e=c.data(d.replace(/[A-Z]/g,function(f){return"-"+f.toLowerCase()}));if(e!==undefined){b[d]=e}});return b}})})(jQuery);(function(e){e.media=(function(){var j={},i=e("html"),k=e("<div id='jquery-mediatest'>"),l=e("<body>").append(k);return function(n){if(!(n in j)){var m=e("<style type='text/css'>@media "+n+"{#jquery-mediatest{position:absolute;}}</style>");i.prepend(l).prepend(m);j[n]=k.css("position")==="absolute";l.add(m).remove()}return j[n]}})();var f=e("<body>").prependTo("html"),b=f[0].style,h=["webkit","moz","o"],c=window.palmGetResource||window.PalmServiceBridge,g=window.blackberry;function d(l){var k=l.charAt(0).toUpperCase()+l.substr(1),j=(l+" "+h.join(k+" ")+k).split(" ");for(var i in j){if(b[i]!==undefined){return true}}}function a(){var l=location.protocol+"//"+location.host+location.pathname+"ui-dir/",k=e("<base>",{href:l}).appendTo("head"),j=e("<a href='testurl'></a>").prependTo(f),i=j[0].href;k.remove();return i.indexOf(l)===0}e.extend(e.support,{orientation:"orientation" in window,touch:"ontouchend" in document,WebKitAnimationEvent:typeof WebKitTransitionEvent==="object",pushState:!!history.pushState,mediaquery:e.media("only all"),cssPseudoElement:!!d("content"),boxShadow:!!d("boxShadow")&&!g,scrollTop:("pageXOffset" in window||"scrollTop" in document.documentElement||"scrollTop" in f[0])&&!c,dynamicBaseTag:a()});f.remove();if(!e.support.boxShadow){e("html").addClass("ui-mobile-nosupport-boxshadow")}})(jQuery);(function(e){e.each("touchstart touchmove touchend orientationchange tap taphold swipe swipeleft swiperight scrollstart scrollstop".split(" "),function(h,g){e.fn[g]=function(i){return i?this.bind(g,i):this.trigger(g)};e.attrFn[g]=true});var d=e.support.touch,c="touchmove scroll",a=d?"touchstart":"mousedown",f=d?"touchend":"mouseup",b=d?"touchmove":"mousemove";e.event.special.scrollstart={enabled:true,setup:function(){var g=this,j=e(g),i,k;function h(m,n){i=n;var l=m.type;m.type=i?"scrollstart":"scrollstop";e.event.handle.call(g,m);m.type=l}j.bind(c,function(l){if(!e.event.special.scrollstart.enabled){return}if(!i){h(l,true)}clearTimeout(k);k=setTimeout(function(){h(l,false)},50)})}};e.event.special.tap={setup:function(){var g=this,h=e(g);h.bind(a,function(l){if(l.which&&l.which!==1){return}var k=false,i=true,j,n;function m(){k=true}n=setTimeout(function(){if(i&&!k){j=l.type;l.type="taphold";e.event.handle.call(g,l);l.type=j}},750);h.one(b,m).one(f,function(o){h.unbind(b,m);clearTimeout(n);i=false;if(!k){j=o.type;o.type="tap";e.event.handle.call(g,o);o.type=j}})})}};e.event.special.swipe={setup:function(){var g=this,h=e(g);h.bind(a,function(j){var l=j.originalEvent.touches?j.originalEvent.touches[0]:j,m={time:(new Date).getTime(),coords:[l.pageX,l.pageY],origin:e(j.target)},i;function k(n){if(!m){return}var o=n.originalEvent.touches?n.originalEvent.touches[0]:n;i={time:(new Date).getTime(),coords:[o.pageX,o.pageY]};if(Math.abs(m.coords[0]-i.coords[0])>10){n.preventDefault()}}h.bind(b,k).one(f,function(n){h.unbind(b,k);if(m&&i){if(i.time-m.time<1000&&Math.abs(m.coords[0]-i.coords[0])>30&&Math.abs(m.coords[1]-i.coords[1])<75){m.origin.trigger("swipe").trigger(m.coords[0]>i.coords[0]?"swipeleft":"swiperight")}}m=i=undefined})})}};e.event.special.orientationchange={orientation:function(g){return document.body&&g.width()/g.height()<1.1?"portrait":"landscape"},setup:function(){var h=this,j=e(h),g=e.event.special.orientationchange.orientation(j);function i(){var k=e.event.special.orientationchange.orientation(j);if(g!==k){e.event.handle.call(h,"orientationchange",{orientation:k});g=k}}if(e.support.orientation){h.addEventListener("orientationchange",i,false)}else{j.bind("resize",i)}}};e.each({scrollstop:"scrollstart",taphold:"tap",swipeleft:"swipe",swiperight:"swipe"},function(h,g){e.event.special[h]={setup:function(){e(this).bind(g,e.noop)}}})})(jQuery);
10
+ (function(b,d){if(b.cleanData){var c=b.cleanData;b.cleanData=function(e){for(var f=0,g;(g=e[f])!=null;f++){b(g).triggerHandler("remove")}c(e)}}else{var a=b.fn.remove;b.fn.remove=function(e,f){return this.each(function(){if(!f){if(!e||b.filter(e,[this]).length){b("*",this).add([this]).each(function(){b(this).triggerHandler("remove")})}}return a.call(b(this),e,f)})}}b.widget=function(f,h,e){var g=f.split(".")[0],j;f=f.split(".")[1];j=g+"-"+f;if(!e){e=h;h=b.Widget}b.expr[":"][j]=function(k){return !!b.data(k,f)};b[g]=b[g]||{};b[g][f]=function(k,l){if(arguments.length){this._createWidget(k,l)}};var i=new h();i.options=b.extend(true,{},i.options);b[g][f].prototype=b.extend(true,i,{namespace:g,widgetName:f,widgetEventPrefix:b[g][f].prototype.widgetEventPrefix||f,widgetBaseClass:j},e);b.widget.bridge(f,b[g][f])};b.widget.bridge=function(f,e){b.fn[f]=function(i){var g=typeof i==="string",h=Array.prototype.slice.call(arguments,1),j=this;i=!g&&h.length?b.extend.apply(null,[true,i].concat(h)):i;if(g&&i.charAt(0)==="_"){return j}if(g){this.each(function(){var k=b.data(this,f);if(!k){throw"cannot call methods on "+f+" prior to initialization; attempted to call method '"+i+"'"}if(!b.isFunction(k[i])){throw"no such method '"+i+"' for "+f+" widget instance"}var l=k[i].apply(k,h);if(l!==k&&l!==d){j=l;return false}})}else{this.each(function(){var k=b.data(this,f);if(k){k.option(i||{})._init()}else{b.data(this,f,new e(i,this))}})}return j}};b.Widget=function(e,f){if(arguments.length){this._createWidget(e,f)}};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(f,g){b.data(g,this.widgetName,this);this.element=b(g);this.options=b.extend(true,{},this.options,this._getCreateOptions(),f);var e=this;this.element.bind("remove."+this.widgetName,function(){e.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){var e={};if(b.metadata){e=b.metadata.get(element)[this.widgetName]}return e},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(f,g){var e=f;if(arguments.length===0){return b.extend({},this.options)}if(typeof f==="string"){if(g===d){return this.options[f]}e={};e[f]=g}this._setOptions(e);return this},_setOptions:function(f){var e=this;b.each(f,function(g,h){e._setOption(g,h)});return this},_setOption:function(e,f){this.options[e]=f;if(e==="disabled"){this.widget()[f?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",f)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(f,g,h){var k=this.options[f];g=b.Event(g);g.type=(f===this.widgetEventPrefix?f:this.widgetEventPrefix+f).toLowerCase();h=h||{};if(g.originalEvent){for(var e=b.event.props.length,j;e;){j=b.event.props[--e];g[j]=g.originalEvent[j]}}this.element.trigger(g,h);return !(b.isFunction(k)&&k.call(this.element[0],g,h)===false||g.isDefaultPrevented())}}})(jQuery);(function(a){a.widget("mobile.widget",{_getCreateOptions:function(){var c=this.element,b={};a.each(this.options,function(d){var e=c.data(d.replace(/[A-Z]/g,function(f){return"-"+f.toLowerCase()}));if(e!==undefined){b[d]=e}});return b}})})(jQuery);(function(e){e.media=(function(){var j={},i=e("html"),k=e("<div id='jquery-mediatest'>"),l=e("<body>").append(k);return function(n){if(!(n in j)){var m=e("<style type='text/css'>@media "+n+"{#jquery-mediatest{position:absolute;}}</style>");i.prepend(l).prepend(m);j[n]=k.css("position")==="absolute";l.add(m).remove()}return j[n]}})();var f=e("<body>").prependTo("html"),b=f[0].style,h=["webkit","moz","o"],c=window.palmGetResource||window.PalmServiceBridge,g=window.blackberry;function d(l){var k=l.charAt(0).toUpperCase()+l.substr(1),j=(l+" "+h.join(k+" ")+k).split(" ");for(var i in j){if(b[i]!==undefined){return true}}}function a(){var l=location.protocol+"//"+location.host+location.pathname+"ui-dir/",k=e("<base>",{href:l}).appendTo("head"),j=e("<a href='testurl'></a>").prependTo(f),i=j[0].href;k.remove();return i.indexOf(l)===0}e.extend(e.support,{orientation:"orientation" in window,touch:"ontouchend" in document,cssTransitions:"WebKitTransitionEvent" in window,pushState:!!history.pushState,mediaquery:e.media("only all"),cssPseudoElement:!!d("content"),boxShadow:!!d("boxShadow")&&!g,scrollTop:("pageXOffset" in window||"scrollTop" in document.documentElement||"scrollTop" in f[0])&&!c,dynamicBaseTag:a()});f.remove();if(!e.support.boxShadow){e("html").addClass("ui-mobile-nosupport-boxshadow")}})(jQuery);(function(e){e.each("touchstart touchmove touchend orientationchange tap taphold swipe swipeleft swiperight scrollstart scrollstop".split(" "),function(h,g){e.fn[g]=function(i){return i?this.bind(g,i):this.trigger(g)};e.attrFn[g]=true});var d=e.support.touch,c="touchmove scroll",a=d?"touchstart":"mousedown",f=d?"touchend":"mouseup",b=d?"touchmove":"mousemove";e.event.special.scrollstart={enabled:true,setup:function(){var g=this,j=e(g),i,k;function h(m,n){i=n;var l=m.type;m.type=i?"scrollstart":"scrollstop";e.event.handle.call(g,m);m.type=l}j.bind(c,function(l){if(!e.event.special.scrollstart.enabled){return}if(!i){h(l,true)}clearTimeout(k);k=setTimeout(function(){h(l,false)},50)})}};e.event.special.tap={setup:function(){var g=this,h=e(g);h.bind(a,function(m){if(m.which&&m.which!==1){return}var l=false,j=true,i=[m.pageX,m.pageY],k,o;function n(){if((Math.abs(i[0]-m.pageX)>10)||(Math.abs(i[1]-m.pageY)>10)){l=true}}o=setTimeout(function(){if(j&&!l){k=m.type;m.type="taphold";e.event.handle.call(g,m);m.type=k}},750);h.one(b,n).one(f,function(p){h.unbind(b,n);clearTimeout(o);j=false;if(!l){k=p.type;p.type="tap";e.event.handle.call(g,p);p.type=k}})})}};e.event.special.swipe={setup:function(){var g=this,h=e(g);h.bind(a,function(j){var l=j.originalEvent.touches?j.originalEvent.touches[0]:j,m={time:(new Date).getTime(),coords:[l.pageX,l.pageY],origin:e(j.target)},i;function k(n){if(!m){return}var o=n.originalEvent.touches?n.originalEvent.touches[0]:n;i={time:(new Date).getTime(),coords:[o.pageX,o.pageY]};if(Math.abs(m.coords[0]-i.coords[0])>10){n.preventDefault()}}h.bind(b,k).one(f,function(n){h.unbind(b,k);if(m&&i){if(i.time-m.time<1000&&Math.abs(m.coords[0]-i.coords[0])>30&&Math.abs(m.coords[1]-i.coords[1])<75){m.origin.trigger("swipe").trigger(m.coords[0]>i.coords[0]?"swipeleft":"swiperight")}}m=i=undefined})})}};(function(l){var k=l(window),g,j,i;l.event.special.orientationchange=g={setup:function(){if(l.support.orientation){return false}i=j();k.bind("resize",h)},teardown:function(){if(l.support.orientation){return false}k.unbind("resize",h)},add:function(m){var n=m.handler;m.handler=function(o){o.orientation=j();return n.apply(this,arguments)}}};function h(){var m=j();if(m!==i){i=m;k.trigger("orientationchange")}}g.orientation=j=function(){var m=document.documentElement;return m&&m.clientWidth/m.clientHeight<1.1?"portrait":"landscape"}})(jQuery);e.each({scrollstop:"scrollstart",taphold:"tap",swipeleft:"swipe",swiperight:"swipe"},function(h,g){e.event.special[h]={setup:function(){e(this).bind(g,e.noop)}}})})(jQuery);
11
11
  /*
12
12
  * jQuery hashchange event - v1.3 - 7/21/2010
13
13
  * http://benalman.com/projects/jquery-hashchange-plugin/
@@ -16,7 +16,7 @@
16
16
  * Dual licensed under the MIT and GPL licenses.
17
17
  * http://benalman.com/about/license/
18
18
  */
19
- (function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$('<iframe tabindex="-1" title="empty"/>').hide().one("load",function(){r||l(a());n()}).attr("src",r||"javascript:0").insertAfter("body")[0].contentWindow;h.onpropertychange=function(){try{if(event.propertyName==="title"){q.document.title=h.title}}catch(s){}}}};j.stop=k;o=function(){return a(q.location.href)};l=function(v,s){var u=q.document,t=$.fn[c].domain;if(v!==s){u.title=h.title;u.open();t&&u.write('<script>document.domain="'+t+'"<\/script>');u.close();q.location.hash=v}}})();return j})()})(jQuery,this);(function(a){a.widget("mobile.page",a.mobile.widget,{options:{},_create:function(){var b=this.element;if(this._trigger("beforeCreate")===false){return}b.find("[data-role='page'], [data-role='content']").andSelf().each(function(){a(this).addClass("ui-"+a(this).data("role"))});b.find("[data-role='nojs']").addClass("ui-nojs");this._enchanceControls();var c=b.find("[data-role]").andSelf().each(function(){var h=a(this),i=h.data("role"),g=h.data("theme");if(i==="header"||i==="footer"){h.addClass("ui-bar-"+(g||h.parent("[data-role=page]").data("theme")||"a"));h.attr("role",i==="header"?"banner":"contentinfo");var d=h.children("a"),e=d.hasClass("ui-btn-left"),f=d.hasClass("ui-btn-right");if(!e){e=d.eq(0).not(".ui-btn-right").addClass("ui-btn-left").length}if(!f){f=d.eq(1).addClass("ui-btn-right").length}if(a.mobile.addBackBtn&&i==="header"&&(a.mobile.urlStack.length>1||a(".ui-page").length>1)&&!e&&!h.data("noBackBtn")){a("<a href='#' class='ui-btn-left' data-icon='arrow-l'>Back</a>").click(function(){history.back();return false}).prependTo(h)}h.children("h1, h2, h3, h4, h5, h6").addClass("ui-title").attr({tabindex:"0",role:"heading","aria-level":"1"})}else{if(i==="content"){if(g){h.addClass("ui-body-"+g)}h.attr("role","main")}else{if(i==="page"){h.addClass("ui-body-"+(g||"c"))}}}switch(i){case"header":case"footer":case"page":case"content":h.addClass("ui-"+i);break;case"collapsible":case"fieldcontain":case"navbar":case"listview":case"dialog":h[i]();break}});b.find("[data-role='button'], .ui-bar a, .ui-header a, .ui-footer a").not(".ui-btn").buttonMarkup();b.find("[data-role='controlgroup']").controlgroup();b.find("a:not(.ui-btn):not(.ui-link-inherit)").addClass("ui-link");b.fixHeaderFooter()},_enchanceControls:function(){this.element.find("input").each(function(){var b=this.getAttribute("type");if(a.mobile.degradeInputs[b]){a(this).replaceWith(a("<div>").html(a(this).clone()).html().replace(/type="([a-zA-Z]+)"/,"data-type='$1'"))}});this.element.find("[type='radio'], [type='checkbox']").checkboxradio();this.element.find("button, [type='button'], [type='submit'], [type='reset'], [type='image']").not(".ui-nojs").button();this.element.find("input, textarea").not("[type='radio'], [type='checkbox'], button, [type='button'], [type='submit'], [type='reset'], [type='image']").customTextInput();this.element.find("input, select").filter("[data-role='slider'], [data-type='range']").slider();this.element.find("select:not([data-role='slider'])").customSelect()}})})(jQuery);(function(a){a.fn.fixHeaderFooter=function(b){if(!a.support.scrollTop){return a(this)}return a(this).each(function(){if(a(this).data("fullscreen")){a(this).addClass("ui-page-fullscreen")}a(this).find('.ui-header[data-position="fixed"]').addClass("ui-header-fixed ui-fixed-inline fade");a(this).find('.ui-footer[data-position="fixed"]').addClass("ui-footer-fixed ui-fixed-inline fade")})};a.fixedToolbars=(function(){if(!a.support.scrollTop){return}var c="inline",b,i="a,input,textarea,select,button,label,.ui-header-fixed,.ui-footer-fixed",j=".ui-page-active .ui-header-fixed:first, .ui-page-active .ui-footer-fixed:not(.ui-footer-duplicate):last",h,e=a.support.touch,k=e?"touchstart":"mousedown",g=e?"touchend":"mouseup",d=null,f=false;a(function(){a(document).bind(k,function(n){if(a(n.target).closest(i).length){return}d=c;a.fixedToolbars.hide(true)}).bind("scrollstart",function(n){if(a(n.target).closest(i).length){return}f=true;if(d==null){d=c}a.fixedToolbars.hide(true)}).bind(g,function(n){if(a(n.target).closest(i).length){return}if(!f){a.fixedToolbars.toggle(d);d=null}}).bind("scrollstop",function(n){if(a(n.target).closest(i).length){return}f=false;a.fixedToolbars.toggle(d=="overlay"?"inline":"overlay");d=null});function m(n){var o=n.find('[data-role="footer"]');return jQuery('.ui-footer[data-id="'+o.data("id")+'"]:not(.ui-footer-duplicate)').not(o)}a(".ui-page").live("pagebeforeshow",function(n,o){h=m(a(n.target));if(h.length){if(h.parents(".ui-page:eq(0)").find('.ui-footer[data-id="'+h.data("id")+'"]').length==1){h.before(h.clone().addClass("ui-footer-duplicate"))}a(n.target).find('[data-role="footer"]').addClass("ui-footer-duplicate");h.appendTo(a.pageContainer).css("top",0);l(h)}});a(".ui-page").live("pageshow",function(n,o){if(h&&h.length){h.appendTo(n.target).css("top",0)}a.fixedToolbars.show(true)})});function l(q){var m=a(window).scrollTop(),r=q.offset().top,p=q.css("top")=="auto"?0:parseFloat(q.css("top")),t=window.innerHeight,s=q.outerHeight(),o=q.parents(".ui-page:not(.ui-page-fullscreen)").length,n;if(q.is(".ui-header-fixed")){n=m-r+p;if(n<r){n=0}return q.css("top",(o)?n:m)}else{n=-1*(r-(m+t)+p+s);if(n>r){n=0}return q.css("top",(o)?n:m+t-s)}}return{show:function(m){c="overlay";return a(j).each(function(){var p=a(this),n=a(window).scrollTop(),q=p.offset().top,s=window.innerHeight,r=p.outerHeight(),o=(p.is(".ui-header-fixed")&&n<=q+r)||(p.is(".ui-footer-fixed")&&q<=n+s);p.addClass("ui-fixed-overlay").removeClass("ui-fixed-inline");if(!o&&!m){p.addClass("in").animationComplete(function(){p.removeClass("in")})}l(p)})},hide:function(m){c="inline";return a(j).each(function(){var o=a(this);o.addClass("ui-fixed-inline").removeClass("ui-fixed-overlay");if(m){o.css("top",0)}else{if(o.css("top")!=="auto"&&parseFloat(o.css("top"))!==0){var n="out reverse";o.addClass(n).animationComplete(function(){o.removeClass(n);o.css("top",0)})}}})},hideAfterDelay:function(){b=setTimeout(function(){a.fixedToolbars.hide()},3000)},toggle:function(m){if(m){c=m}return(c=="overlay")?a.fixedToolbars.hide():a.fixedToolbars.show()}}})()})(jQuery);(function(a){a.widget("mobile.checkboxradio",a.mobile.widget,{options:{theme:undefined,icon:undefined},_create:function(){var b=this.element,d=jQuery("label[for='"+b.attr("id")+"']"),f=b.attr("type"),e="ui-icon-"+f+"-on",c="ui-icon-"+f+"-off";if(f!="checkbox"&&f!="radio"){return}d.buttonMarkup({iconpos:this.options.icon,theme:this.options.theme,icon:this.options.icon?c:(this.element.parents("[data-type='horizontal']").length?undefined:c),shadow:false});b.add(d).wrapAll("<div class='ui-"+f+"'></div>");d.bind({mouseover:function(){if(a(this).parent().is(".ui-disabled")){return false}},mousedown:function(){if(a(this).parent().is(".ui-disabled")){return false}d.data("state",b.attr("checked"))},click:function(){setTimeout(function(){if(b.attr("checked")===d.data("state")){b.trigger("click")}},1)}});b.bind({click:function(){jQuery("input[name='"+b.attr("name")+"'][type='"+f+"']").checkboxradio("refresh")},focus:function(){d.addClass("ui-focus")},blur:function(){d.removeClass("ui-focus")}});this.refresh()},refresh:function(){var b=this.element,d=jQuery("label[for='"+b.attr("id")+"']"),g=b.attr("type"),f=d.find(".ui-icon"),e="ui-icon-"+g+"-on",c="ui-icon-"+g+"-off";if(b[0].checked){d.addClass("ui-btn-active");f.addClass(e);f.removeClass(c)}else{d.removeClass("ui-btn-active");f.removeClass(e);f.addClass(c)}if(b.is(":disabled")){this.disable()}else{this.enable()}},disable:function(){this.element.attr("disabled",true).parent().addClass("ui-disabled")},enable:function(){this.element.attr("disabled",false).parent().removeClass("ui-disabled")}})})(jQuery);(function(a){jQuery.fn.customTextInput=function(b){return a(this).each(function(){var i=a(this);var e=a.extend({search:i.is('[type="search"],[data-type="search"]'),theme:i.data("theme")||"c"},b);a("label[for="+i.attr("id")+"]").addClass("ui-input-text");i.addClass("ui-input-text ui-body-"+e.theme);var g=i;if(e.search){g=i.wrap('<div class="ui-input-search ui-shadow-inset ui-btn-corner-all ui-body-c ui-btn-shadow ui-icon-search"></div>').parent();var j=a('<a href="#" class="ui-input-clear" title="clear text">clear text</a>').click(function(){i.val("").focus();i.trigger("change");j.addClass("ui-input-clear-hidden");return false}).appendTo(g).buttonMarkup({icon:"delete",iconpos:"notext",corners:true,shadow:true});function d(){if(i.val()==""){j.addClass("ui-input-clear-hidden")}else{j.removeClass("ui-input-clear-hidden")}}d();i.keyup(d)}else{i.addClass("ui-corner-all ui-shadow-inset")}i.focus(function(){g.addClass("ui-focus")}).blur(function(){g.removeClass("ui-focus")});if(i.is("textarea")){var f=15,h=100,c=function(){var m=i[0].scrollHeight,l=i[0].clientHeight;if(l<m){i.css({height:(m+f)})}},k;i.keyup(function(){clearTimeout(k);k=setTimeout(c,h)})}})}})(jQuery);(function(a){a.fn.customSelect=function(b){return a(this).each(function(){var s=a(this).attr("tabindex","-1").wrap("<div class='ui-select'>"),g=s.attr("id"),r=a("label[for="+g+"]").addClass("ui-select"),d=a.extend({chooseText:r.text(),theme:s.data("theme")},b),k=g+"-button",l=g+"-menu",p=s.closest(".ui-page"),q,m,f=a("<a>",{href:"#",role:"button",id:k,"aria-haspopup":"true","aria-owns":l}).text(a(this.options.item(this.selectedIndex)).text()).insertBefore(s).buttonMarkup({iconpos:"right",icon:"arrow-d",theme:d.theme}),n=a("<div data-role='dialog' data-theme='a'><div data-role='header' data-theme='b'><div class='ui-title'>"+d.chooseText+"</div></div><div data-role='content'></div></div>").appendTo(a.pageContainer).page(),j=n.find(".ui-content"),t=a("<div>",{"class":"ui-listbox-screen ui-overlay ui-screen-hidden fade"}).appendTo(p),c=a("<div>",{"class":"ui-listbox ui-listbox-hidden ui-body-a ui-overlay-shadow ui-corner-all pop"}).insertAfter(t),i=a("<ul>",{"class":"ui-listbox-list",id:l,role:"listbox","aria-labelledby":k}).appendTo(c);s.find("option").each(function(u){var v=(s[0].selectedIndex==u),o=a("<a>",{"aria-selected":v,role:"option",href:"#"}).text(a(this).text());a("<li>",{"class":v?"ui-btn-active":"","data-icon":"checkbox-on"}).append(o).appendTo(i)});i.listview();function h(){var o=i.outerHeight();m=[a(window).scrollLeft(),a(window).scrollTop()];if(o>window.innerHeight-80||!a.support.scrollTop){q="page";j.append(i);a.changePage(n,undefined)}else{q="overlay";t.height(a(document).height()).removeClass("ui-screen-hidden");c.append(i).removeClass("ui-listbox-hidden").css({top:a(window).scrollTop()+(window.innerHeight/2),"margin-top":-o/2,left:window.innerWidth/2,"margin-left":-1*c.outerWidth()/2}).addClass("in")}}function e(){if(q=="page"){a.changePage([n,p],undefined,true)}else{t.addClass("ui-screen-hidden");c.addClass("ui-listbox-hidden").removeAttr("style").removeClass("in")}}n.bind("pageshow",function(){i.find(".ui-btn-active").focus();return false}).bind("pagehide",function(){window.scrollTo(m[0],m[1]);s.focus();c.append(i).removeAttr("style");return false});s.change(function(){var o=s.get(0);f.find(".ui-btn-text").text(a(o.options.item(o.selectedIndex)).text())}).focus(function(){a(this).blur();f.focus()});f.mousedown(function(o){h();return false});i.find("li").mousedown(function(){i.find("li").removeClass("ui-btn-active").children(0).attr("aria-selected","false");a(this).addClass("ui-btn-active").find("a").attr("aria-selected","true");var u=i.find("li").index(this),o=s[0].selectedIndex;s[0].selectedIndex=u;if(u!==o){s.trigger("change")}e();return false});t.click(function(){e();return false})})}})(jQuery);(function(b){b.fn.buttonMarkup=function(c){return this.each(function(){var i=b(this),j=b.extend({},b.fn.buttonMarkup.defaults,i.data(),c),e,g="ui-btn-inner",d;if(a){a()}if(!j.theme){var f=i.closest("[class*='ui-bar-'],[class*='ui-body-']");j.theme=f.length?/ui-(bar|body)-([a-z])/.exec(f.attr("class"))[2]:"c"}e="ui-btn ui-btn-up-"+j.theme;if(j.inline){e+=" ui-btn-inline"}if(j.icon){j.icon="ui-icon-"+j.icon;j.iconpos=j.iconpos||"left";d="ui-icon "+j.icon;if(j.shadow){d+=" ui-icon-shadow"}}if(j.iconpos){e+=" ui-btn-icon-"+j.iconpos;if(j.iconpos=="notext"&&!i.attr("title")){i.attr("title",i.text())}}if(j.corners){e+=" ui-btn-corner-all";g+=" ui-btn-corner-all"}if(j.shadow){e+=" ui-shadow"}i.attr("data-theme",j.theme).addClass(e);var h=("<D class='"+g+"'><D class='ui-btn-text'></D>"+(j.icon?"<span class='"+d+"'></span>":"")+"</D>").replace(/D/g,j.wrapperEls);i.wrapInner(h)})};b.fn.buttonMarkup.defaults={corners:true,shadow:true,iconshadow:true,wrapperEls:"span"};var a=function(){b(".ui-btn").live({mousedown:function(){var c=b(this).attr("data-theme");b(this).removeClass("ui-btn-up-"+c).addClass("ui-btn-down-"+c)},mouseup:function(){var c=b(this).attr("data-theme");b(this).removeClass("ui-btn-down-"+c).addClass("ui-btn-up-"+c)},"mouseover focus":function(){var c=b(this).attr("data-theme");b(this).removeClass("ui-btn-up-"+c).addClass("ui-btn-hover-"+c)},"mouseout blur":function(){var c=b(this).attr("data-theme");b(this).removeClass("ui-btn-hover-"+c).addClass("ui-btn-up-"+c)}});a=null}})(jQuery);(function(a){a.widget("mobile.button",a.mobile.widget,{options:{},_create:function(){var b=this.element,c=b.attr("type");b.addClass("ui-btn-hidden").attr("tabindex","-1");a("<a>",{href:"#",role:"button","aria-label":b.attr("type")}).text(b.text()||b.val()).insertBefore(b).click(function(){if(c=="submit"){a(this).closest("form").submit()}else{b.click()}return false}).buttonMarkup({theme:b.data("theme"),icon:b.data("icon"),iconpos:b.data("iconpos"),inline:b.data("inline"),corners:b.data("corners"),shadow:b.data("shadow"),iconshadow:b.data("icon-shadow")})}})})(jQuery);(function(a){a.fn.slider=function(b){return this.each(function(){var i=a(this),k=i.parents("[class*=ui-bar-],[class*=ui-body-]").eq(0),n=a.extend({trackTheme:(k.length?k.attr("class").match(/ui-(bar|body)-([a-z])/)[2]:"c"),theme:i.data("theme")||(k.length?k.attr("class").match(/ui-(bar|body)-([a-z])/)[2]:"c")},e),l=i[0].nodeName.toLowerCase(),u=(l=="select")?"ui-slider-switch":"",f=i.attr("id"),m=f+"-label",h=a("[for="+f+"]").attr("id",m),x=(l=="input")?i.val():i[0].selectedIndex,r=(l=="input")?parseFloat(i.attr("min")):0,s=(l=="input")?parseFloat(i.attr("max")):i.find("option").length-1,c=x/(s-r)*100,g=c,q=a('<div class="ui-slider '+u+" ui-btn-down-"+n.trackTheme+' ui-btn-corner-all" role="application"></div>'),v=a('<a href="#" class="ui-slider-handle"></a>').appendTo(q).buttonMarkup({corners:true,theme:n.theme,shadow:true}).attr({role:"slider","aria-valuemin":r,"aria-valuemax":s,"aria-valuenow":x,"aria-valuetext":x,title:x,"aria-labelledby":m}),p=false;if(l=="select"){q.wrapInner('<div class="ui-slider-inneroffset"></div>');var e=i.find("option");i.find("option").each(function(z){var y=(z==0)?"b":"a",o=(z==0)?"right":"left",A=(z==0)?" ui-btn-down-"+n.trackTheme:" ui-btn-active";a('<div class="ui-slider-labelbg ui-slider-labelbg-'+y+A+" ui-btn-corner-"+o+'"></div>').prependTo(q);a('<span class="ui-slider-label ui-slider-label-'+y+A+" ui-btn-corner-"+o+'" role="img">'+a(this).text()+"</span>").prependTo(v)})}function d(o){if(l=="input"){i.val(o)}else{i[0].selectedIndex=o}i.trigger("change")}function j(y,B){if(B){c=parseFloat(B)/(s-r)*100}else{var A=y.originalEvent.touches?y.originalEvent.touches[0]:y,o=4;if(!p||A.pageX<q.offset().left-o||A.pageX>q.offset().left+q.width()+o){return}c=Math.round(((A.pageX-q.offset().left)/q.width())*100)}if(c<0){c=0}if(c>100){c=100}var z=Math.round((c/100)*s);if(z<r){z=r}if(z>s){z=s}if(c>60&&l=="select"){}g=Math.round(z/s*100);v.css("left",c+"%");v.attr({"aria-valuenow":(l=="input")?z:i.find("option").eq(z).attr("value"),"aria-valuetext":(l=="input")?z:i.find("option").eq(z).text(),title:z});w(z);d(z)}function w(o){if(l=="input"){return}if(o==0){q.addClass("ui-slider-switch-a").removeClass("ui-slider-switch-b")}else{q.addClass("ui-slider-switch-b").removeClass("ui-slider-switch-a")}}w(x);function t(){if(l=="select"){v.addClass("ui-slider-handle-snapping").css("left",g+"%").animationComplete(function(){v.removeClass("ui-slider-handle-snapping")})}}h.addClass("ui-slider");i.addClass((l=="input")?"ui-slider-input":"ui-slider-switch").keyup(function(o){j(o,a(this).val())});q.bind(a.support.touch?"touchstart":"mousedown",function(o){p=true;if((l=="select")){x=i[0].selectedIndex}j(o);return false}).bind(a.support.touch?"touchmove":"mousemove",function(o){j(o);return false}).bind(a.support.touch?"touchend":"mouseup",function(o){p=false;if(l=="select"){if(x==i[0].selectedIndex){x=x==0?1:0;j(o,x)}t()}return false}).insertAfter(i);v.css("left",c+"%").bind("click",function(o){return false})})}})(jQuery);(function(a){a.fn.collapsible=function(b){return a(this).each(function(){var e=a.extend({expandCueText:" click to expand contents",collapseCueText:" click to collapse contents",collapsed:a(this).is('[data-state="collapsed"]'),heading:">h1,>h2,>h3,>h4,>h5,>h6,>legend",theme:a(this).data("theme"),iconTheme:a(this).data("icontheme")||"d"},b);var c=a(this).addClass("ui-collapsible-contain"),d=a(this).find(e.heading).eq(0),h=c.wrapInner('<div class="ui-collapsible-content"></div>').find(".ui-collapsible-content"),g=a(this).closest("[data-role=collapsible-set]").addClass("ui-collapsible-set");if(d.is("legend")){d=a('<div role="heading">'+d.html()+"</div>").insertBefore(d);d.next().remove()}d.insertBefore(h);d.addClass("ui-collapsible-heading").append('<span class="ui-collapsible-heading-status"></span>').wrapInner('<a href="#" class="ui-collapsible-heading-toggle"></a>').find("a:eq(0)").buttonMarkup({shadow:!!!g.length,corners:false,iconPos:"left",icon:"plus",theme:e.theme}).find(".ui-icon").removeAttr("class").buttonMarkup({shadow:true,corners:true,iconPos:"notext",icon:"plus",theme:e.iconTheme});if(!g.length){d.find("a:eq(0)").addClass("ui-corner-all").find(".ui-btn-inner").addClass("ui-corner-all")}else{if(c.data("collapsible-last")){d.find("a:eq(0), .ui-btn-inner").addClass("ui-corner-bottom")}}c.bind("collapse",function(i){if(!i.isDefaultPrevented()){i.preventDefault();d.addClass("ui-collapsible-heading-collapsed").find(".ui-collapsible-heading-status").text(e.expandCueText);d.find(".ui-icon").removeClass("ui-icon-minus").addClass("ui-icon-plus");h.addClass("ui-collapsible-content-collapsed").attr("aria-hidden",true);if(c.data("collapsible-last")){d.find("a:eq(0), .ui-btn-inner").addClass("ui-corner-bottom")}}}).bind("expand",function(i){if(!i.isDefaultPrevented()){i.preventDefault();d.removeClass("ui-collapsible-heading-collapsed").find(".ui-collapsible-heading-status").text(e.collapseCueText);d.find(".ui-icon").removeClass("ui-icon-plus").addClass("ui-icon-minus");h.removeClass("ui-collapsible-content-collapsed").attr("aria-hidden",false);if(c.data("collapsible-last")){d.find("a:eq(0), .ui-btn-inner").removeClass("ui-corner-bottom")}}}).trigger(e.collapsed?"collapse":"expand");if(g.length&&!g.data("collapsiblebound")){g.data("collapsiblebound",true).bind("expand",function(i){a(this).find(".ui-collapsible-contain").not(a(i.target).closest(".ui-collapsible-contain")).not("> .ui-collapsible-contain .ui-collapsible-contain").trigger("collapse")});var f=g.find("[data-role=collapsible]");f.first().find("a:eq(0)").addClass("ui-corner-top").find(".ui-btn-inner").addClass("ui-corner-top");f.last().data("collapsible-last",true)}d.click(function(){if(d.is(".ui-collapsible-heading-collapsed")){c.trigger("expand")}else{c.trigger("collapse")}return false})})}})(jQuery);(function(a){a.fn.controlgroup=function(b){return a(this).each(function(){var f=a.extend({direction:a(this).data("type")||"vertical",shadow:false},b);var g=a(this).find(">legend"),c=f.direction=="horizontal"?["ui-corner-left","ui-corner-right"]:["ui-corner-top","ui-corner-bottom"],d=a(this).find("input:eq(0)").attr("type");if(g.length){a(this).wrapInner('<div class="ui-controlgroup-controls"></div>');a('<div role="heading" class="ui-controlgroup-label">'+g.html()+"</div>").insertBefore(a(this).children(0));g.remove()}a(this).addClass("ui-corner-all ui-controlgroup ui-controlgroup-"+f.direction);function e(h){h.removeClass("ui-btn-corner-all ui-shadow").eq(0).addClass(c[0]).end().filter(":last").addClass(c[1]).addClass("ui-controlgroup-last")}e(a(this).find(".ui-btn"));e(a(this).find(".ui-btn-inner"));if(f.shadow){a(this).addClass("ui-shadow")}})}})(jQuery);(function(a){a.fn.fieldcontain=function(b){var c=a.extend({theme:"c"},b);return a(this).addClass("ui-field-contain ui-body ui-br")}})(jQuery);(function(a){a.widget("mobile.listview",a.mobile.widget,{options:{theme:"c",countTheme:"c",headerTheme:"b",dividerTheme:"b",splitIcon:"arrow-r",splitTheme:"b",inset:false},_create:function(){var b=this.element,c=this.options;b.addClass("ui-listview").attr("role","listbox");if(c.inset){b.addClass("ui-listview-inset ui-corner-all ui-shadow")}b.delegate(".ui-li","focusin",function(){a(this).attr("tabindex","0")});this._itemApply(b,b);this.refresh(true);b.keydown(function(j){var i=a(j.target),d=i.closest("li");switch(j.keyCode){case 38:var h=d.prev();if(h.length){i.blur().attr("tabindex","-1");h.find("a").first().focus()}return false;break;case 40:var g=d.next();if(g.length){i.blur().attr("tabindex","-1");g.find("a").first().focus()}return false;break;case 39:var f=d.find("a.ui-li-link-alt");if(f.length){i.blur();f.first().focus()}return false;break;case 37:var f=d.find("a.ui-link-inherit");if(f.length){i.blur();f.first().focus()}return false;break;case 13:case 32:i.trigger("click");return false;break}});b.delegate("li","click",function(d){if(!a(d.target).closest("a").length){a(this).find("a").first().trigger("click");return false}})},_itemApply:function(c,d){d.find(".ui-li-count").addClass("ui-btn-up-"+(c.data("counttheme")||this.options.countTheme)+" ui-btn-corner-all");d.find("h1, h2, h3, h4, h5, h6").addClass("ui-li-heading");d.find("p, ul, dl").addClass("ui-li-desc");d.find("img").addClass("ui-li-thumb").each(function(){a(this).closest("li").addClass(a(this).is(".ui-li-icon")?"ui-li-has-icon":"ui-li-has-thumb")});var b=d.find(".ui-li-aside");if(b.length){b.each(function(e,f){$(f).prependTo($(f).parent())})}if(a.support.cssPseudoElement||!a.nodeName(d[0],"ol")){return}},refresh:function(f){this._createSubPages();var h=this.options,e=this.element,d=this,g=e.data("dividertheme")||h.dividerTheme,b=e.children("li"),c=a.support.cssPseudoElement||!a.nodeName(e[0],"ol")?0:1;if(c){e.find(".ui-li-dec").remove()}b.attr({role:"option",tabindex:"-1"});b.first().attr("tabindex","0");b.each(function(m){var k=a(this),l="ui-li";if(!f&&k.hasClass("ui-li")){return}var i=k.find("a");if(i.length){k.buttonMarkup({wrapperEls:"div",shadow:false,corners:false,iconpos:"right",icon:k.data("icon")||"arrow-r",theme:h.theme});i.first().addClass("ui-link-inherit");if(i.length>1){l+=" ui-li-has-alt";var j=i.last();j.attr("title",j.text()).addClass("ui-li-link-alt").empty().buttonMarkup({shadow:false,corners:false,theme:h.theme,icon:false,iconpos:false}).find(".ui-btn-inner").append(a("<span>").buttonMarkup({shadow:true,corners:true,theme:e.data("splittheme")||j.data("theme")||h.splitTheme,iconpos:"notext",icon:e.data("spliticon")||j.data("icon")||h.splitIcon}))}}else{if(k.data("role")==="list-divider"){l+=" ui-li-divider ui-btn ui-bar-"+g;k.attr("role","heading");if(c){c=1}}else{l+=" ui-li-static ui-btn-up-"+h.theme}}if(m===0){k.find("img").addClass("ui-corner-tl");if(h.inset){l+=" ui-corner-top";k.add(k.find(".ui-btn-inner")).find(".ui-li-link-alt").addClass("ui-corner-tr").end().find(".ui-li-thumb").addClass("ui-corner-tl")}}else{if(m===b.length-1){k.find("img").addClass("ui-corner-bl");if(h.inset){l+=" ui-corner-bottom";k.add(k.find(".ui-btn-inner")).find(".ui-li-link-alt").addClass("ui-corner-br").end().find(".ui-li-thumb").addClass("ui-corner-bl")}}}if(c&&l.indexOf("ui-li-divider")<0){k.find(".ui-link-inherit").first().addClass("ui-li-jsnumbering").prepend("<span class='ui-li-dec'>"+(c++)+". </span>")}k.addClass(l);if(!f){d._itemApply(e,k)}})},_createSubPages:function(){var c=this.element,b=c.closest(".ui-page"),f=b.attr("id"),e=this.options,d=b.find("[data-role='footer']").data("id");a(c.find("ul, ol").toArray().reverse()).each(function(g){var l=a(this),j=l.parent(),n=j.contents()[0].nodeValue.split("\n")[0],o=f+"&"+$.mobile.subPageUrlKey+"="+$.mobile.idStringEscape(n+" "+g),m=l.data("theme")||e.theme,k=l.data("counttheme")||c.data("counttheme")||e.countTheme,h=l.wrap("<div data-role='page'><div data-role='content'></div></div>").parent().before("<div data-role='header' data-theme='"+e.headerTheme+"'><div class='ui-title'>"+n+"</div></div>").after(d?$("<div>",{"data-role":"footer","data-id":d,"class":"ui-footer-duplicate"}):"").parent().attr({id:o,"data-theme":m,"data-count-theme":k}).appendTo(a.pageContainer);h.page();j.html("<a href='#"+o+"'>"+n+"</a>")}).listview()}})})(jQuery);(function(a){a.mobile.listview.prototype.options.filter=false;a("[data-role='listview']").live("listviewcreate",function(){var d=a(this),c=d.data("listview");if(!c.options.filter){return}var e=a("<form>",{"class":"ui-listview-filter ui-bar-c",role:"search"}),b=a("<input>",{placeholder:"Filter results...","data-type":"search"}).bind("keyup change",function(){var f=this.value.toLowerCase();d.children().show();if(f){d.children().filter(function(){return a(this).text().toLowerCase().indexOf(f)===-1}).hide()}}).appendTo(e).customTextInput();e.insertBefore(d)})})(jQuery);(function(a){a.widget("mobile.dialog",a.mobile.widget,{options:{},_create:function(){var b=this.element,c=a('<a href="#" data-icon="delete" data-iconpos="notext">Close</a>').click(function(){a.changePage([b,a.activePage],undefined,true);return false});this.element.bind("pageshow",function(){return false}).attr("role","dialog").addClass("ui-page ui-dialog ui-body-a").find("[data-role=header]").addClass("ui-corner-top ui-overlay-shadow").prepend(c).end().find(".ui-content,[data-role=footer]").last().addClass("ui-corner-bottom ui-overlay-shadow")}})})(jQuery);(function(a){a.widget("mobile.navbar",a.mobile.widget,{options:{iconpos:"top"},_create:function(){var d=this.element,b=d.find("a"),c=b.filter("icon").length?this.options.iconpos:undefined;d.addClass("ui-navbar").attr("role","navigation").find("ul").grid({grid:b.length>2?"b":"a"});if(!c){d.addClass("ui-navbar-noicons")}b.buttonMarkup({corners:false,shadow:false,iconpos:c});d.delegate("a","click",function(e){b.removeClass("ui-btn-active")})}})})(jQuery);(function(a){a.fn.grid=function(b){return a(this).each(function(){var c=a.extend({grid:"a"},b);a(this).addClass("ui-grid-"+c.grid);var d=a(this).children();iterator=c.grid=="a"?2:3;d.filter(":nth-child("+iterator+"n+1)").addClass("ui-block-a");d.filter(":nth-child("+iterator+"n+2)").addClass("ui-block-b");if(iterator==3){d.filter(":nth-child(3n+3)").addClass("ui-block-c")}})}})(jQuery);
19
+ (function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$('<iframe tabindex="-1" title="empty"/>').hide().one("load",function(){r||l(a());n()}).attr("src",r||"javascript:0").insertAfter("body")[0].contentWindow;h.onpropertychange=function(){try{if(event.propertyName==="title"){q.document.title=h.title}}catch(s){}}}};j.stop=k;o=function(){return a(q.location.href)};l=function(v,s){var u=q.document,t=$.fn[c].domain;if(v!==s){u.title=h.title;u.open();t&&u.write('<script>document.domain="'+t+'"<\/script>');u.close();q.location.hash=v}}})();return j})()})(jQuery,this);(function(a){a.widget("mobile.page",a.mobile.widget,{options:{backBtnText:"Back",addBackBtn:true,degradeInputs:{color:true,date:true,datetime:true,"datetime-local":true,email:true,month:true,number:true,range:true,search:true,tel:true,time:true,url:true,week:true}},_create:function(){var b=this.element,d=this.options;if(this._trigger("beforeCreate")===false){return}b.find("[data-role='page'], [data-role='content']").andSelf().each(function(){a(this).addClass("ui-"+a(this).data("role"))});b.find("[data-role='nojs']").addClass("ui-nojs");this._enchanceControls();var c=b.find("[data-role]").andSelf().each(function(){var i=a(this),j=i.data("role"),h=i.data("theme");if(j==="header"||j==="footer"){i.addClass("ui-bar-"+(h||i.parent("[data-role=page]").data("theme")||"a"));i.attr("role",j==="header"?"banner":"contentinfo");var e=i.children("a"),f=e.hasClass("ui-btn-left"),g=e.hasClass("ui-btn-right");if(!f){f=e.eq(0).not(".ui-btn-right").addClass("ui-btn-left").length}if(!g){g=e.eq(1).addClass("ui-btn-right").length}if(d.addBackBtn&&j==="header"&&(a.mobile.urlStack.length>1||a(".ui-page").length>1)&&!f&&!i.data("noBackBtn")){a("<a href='#' class='ui-btn-left' data-icon='arrow-l'>"+d.backBtnText+"</a>").click(function(){history.back();return false}).prependTo(i)}i.children("h1, h2, h3, h4, h5, h6").addClass("ui-title").attr({tabindex:"0",role:"heading","aria-level":"1"})}else{if(j==="content"){if(h){i.addClass("ui-body-"+h)}i.attr("role","main")}else{if(j==="page"){i.addClass("ui-body-"+(h||"c"))}}}switch(j){case"header":case"footer":case"page":case"content":i.addClass("ui-"+j);break;case"collapsible":case"fieldcontain":case"navbar":case"listview":case"dialog":i[j]();break}});b.find("[data-role='button'], .ui-bar a, .ui-header a, .ui-footer a").not(".ui-btn").buttonMarkup();b.find("[data-role='controlgroup']").controlgroup();b.find("a:not(.ui-btn):not(.ui-link-inherit)").addClass("ui-link");b.fixHeaderFooter()},_enchanceControls:function(){var b=this.options;this.element.find("input").each(function(){var c=this.getAttribute("type");if(b.degradeInputs[c]){a(this).replaceWith(a("<div>").html(a(this).clone()).html().replace(/type="([a-zA-Z]+)"/,"data-type='$1'"))}});this.element.find("[type='radio'], [type='checkbox']").checkboxradio();this.element.find("button, [type='button'], [type='submit'], [type='reset'], [type='image']").not(".ui-nojs").button();this.element.find("input, textarea").not("[type='radio'], [type='checkbox'], button, [type='button'], [type='submit'], [type='reset'], [type='image']").textinput();this.element.find("input, select").filter("[data-role='slider'], [data-type='range']").slider();this.element.find("select:not([data-role='slider'])").customSelect()}})})(jQuery);(function(a){a.fn.fixHeaderFooter=function(b){if(!a.support.scrollTop){return a(this)}return a(this).each(function(){if(a(this).data("fullscreen")){a(this).addClass("ui-page-fullscreen")}a(this).find('.ui-header[data-position="fixed"]').addClass("ui-header-fixed ui-fixed-inline fade");a(this).find('.ui-footer[data-position="fixed"]').addClass("ui-footer-fixed ui-fixed-inline fade")})};a.fixedToolbars=(function(){if(!a.support.scrollTop){return}var c="inline",b,i="a,input,textarea,select,button,label,.ui-header-fixed,.ui-footer-fixed",j=".ui-header-fixed:first, .ui-footer-fixed:not(.ui-footer-duplicate):last",h,e=a.support.touch,k=e?"touchstart":"mousedown",g=e?"touchend":"mouseup",d=null,f=false;a(function(){a(document).bind(k,function(n){if(a(n.target).closest(i).length){return}d=c;a.fixedToolbars.hide(true)}).bind("scrollstart",function(n){if(a(n.target).closest(i).length){return}f=true;if(d==null){d=c}a.fixedToolbars.hide(true)}).bind(g,function(n){if(a(n.target).closest(i).length){return}if(!f){a.fixedToolbars.toggle(d);d=null}}).bind("scrollstop",function(n){if(a(n.target).closest(i).length){return}f=false;a.fixedToolbars.toggle(d=="overlay"?"inline":"overlay");d=null});function m(n){var o=n.find('[data-role="footer"]');return jQuery('.ui-footer[data-id="'+o.data("id")+'"]:not(.ui-footer-duplicate)').not(o)}a(".ui-page").live("pagebeforeshow",function(n,o){h=m(a(n.target));if(h.length){if(h.parents(".ui-page:eq(0)").find('.ui-footer[data-id="'+h.data("id")+'"]').length==1){h.before(h.clone().addClass("ui-footer-duplicate"))}a(n.target).find('[data-role="footer"]').addClass("ui-footer-duplicate");h.appendTo(a.pageContainer).css("top",0);l(h)}});a(".ui-page").live("pageshow",function(n,o){if(h&&h.length){h.appendTo(n.target).css("top",0)}a.fixedToolbars.show(true)})});function l(q){var m=a(window).scrollTop(),r=q.offset().top,p=q.css("top")=="auto"?0:parseFloat(q.css("top")),t=window.innerHeight,s=q.outerHeight(),o=q.parents(".ui-page:not(.ui-page-fullscreen)").length,n;if(q.is(".ui-header-fixed")){n=m-r+p;if(n<r){n=0}return q.css("top",(o)?n:m)}else{n=-1*(r-(m+t)+p+s);if(n>r){n=0}return q.css("top",(o)?n:m+t-s)}}return{show:function(m){c="overlay";var n=a.activePage?a.activePage:a(".ui-page-active");return n.children(j).each(function(){var q=a(this),o=a(window).scrollTop(),r=q.offset().top,t=window.innerHeight,s=q.outerHeight(),p=(q.is(".ui-header-fixed")&&o<=r+s)||(q.is(".ui-footer-fixed")&&r<=o+t);q.addClass("ui-fixed-overlay").removeClass("ui-fixed-inline");if(!p&&!m){q.addClass("in").animationComplete(function(){q.removeClass("in")})}l(q)})},hide:function(m){c="inline";var n=a.activePage?a.activePage:a(".ui-page-active");return n.children(j).each(function(){var p=a(this);p.addClass("ui-fixed-inline").removeClass("ui-fixed-overlay");if(m){p.css("top",0)}else{if(p.css("top")!=="auto"&&parseFloat(p.css("top"))!==0){var o="out reverse";p.addClass(o).animationComplete(function(){p.removeClass(o);p.css("top",0)})}}})},hideAfterDelay:function(){b=setTimeout(function(){a.fixedToolbars.hide()},3000)},toggle:function(m){if(m){c=m}return(c=="overlay")?a.fixedToolbars.hide():a.fixedToolbars.show()}}})()})(jQuery);(function(a){a.widget("mobile.checkboxradio",a.mobile.widget,{options:{theme:undefined,icon:undefined},_create:function(){var b=this.element,d=jQuery("label[for='"+b.attr("id")+"']"),f=b.attr("type"),e="ui-icon-"+f+"-on",c="ui-icon-"+f+"-off";if(f!="checkbox"&&f!="radio"){return}d.buttonMarkup({iconpos:this.options.icon,theme:this.options.theme,icon:this.options.icon?c:(this.element.parents("[data-type='horizontal']").length?undefined:c),shadow:false});b.add(d).wrapAll("<div class='ui-"+f+"'></div>");d.bind({mouseover:function(){if(a(this).parent().is(".ui-disabled")){return false}},mousedown:function(){if(a(this).parent().is(".ui-disabled")){return false}d.data("state",b.attr("checked"))},click:function(){setTimeout(function(){if(b.attr("checked")===d.data("state")){b.trigger("click")}},1)}});b.bind({click:function(){jQuery("input[name='"+b.attr("name")+"'][type='"+f+"']").checkboxradio("refresh")},focus:function(){d.addClass("ui-focus")},blur:function(){d.removeClass("ui-focus")}});this.refresh()},refresh:function(){var b=this.element,d=jQuery("label[for='"+b.attr("id")+"']"),g=b.attr("type"),f=d.find(".ui-icon"),e="ui-icon-"+g+"-on",c="ui-icon-"+g+"-off";if(b[0].checked){d.addClass("ui-btn-active");f.addClass(e);f.removeClass(c)}else{d.removeClass("ui-btn-active");f.removeClass(e);f.addClass(c)}if(b.is(":disabled")){this.disable()}else{this.enable()}},disable:function(){this.element.attr("disabled",true).parent().addClass("ui-disabled")},enable:function(){this.element.attr("disabled",false).parent().removeClass("ui-disabled")}})})(jQuery);(function(a){a.widget("mobile.textinput",a.mobile.widget,{options:{theme:undefined},_create:function(){var j=this.element,d=this.options,g=d.theme,m;if(!g){var e=this.element.closest("[class*='ui-bar-'],[class*='ui-body-']");g=e.length?/ui-(bar|body)-([a-z])/.exec(e.attr("class"))[2]:"c"}m=" ui-body-"+g;a("label[for="+j.attr("id")+"]").addClass("ui-input-text");j.addClass("ui-input-text ui-body-"+d.theme);var h=j;if(j.is('[type="search"],[data-type="search"]')){h=j.wrap('<div class="ui-input-search ui-shadow-inset ui-btn-corner-all ui-btn-shadow ui-icon-search'+m+'"></div>').parent();var k=a('<a href="#" class="ui-input-clear" title="clear text">clear text</a>').click(function(){j.val("").focus();j.trigger("change");k.addClass("ui-input-clear-hidden");return false}).appendTo(h).buttonMarkup({icon:"delete",iconpos:"notext",corners:true,shadow:true});function c(){if(j.val()==""){k.addClass("ui-input-clear-hidden")}else{k.removeClass("ui-input-clear-hidden")}}c();j.keyup(c)}else{j.addClass("ui-corner-all ui-shadow-inset"+m)}j.focus(function(){h.addClass("ui-focus")}).blur(function(){h.removeClass("ui-focus")});if(j.is("textarea")){var f=15,i=100,b=function(){var o=j[0].scrollHeight,n=j[0].clientHeight;if(n<o){j.css({height:(o+f)})}},l;j.keyup(function(){clearTimeout(l);l=setTimeout(b,i)})}},disable:function(){(this.element.attr("disabled",true).is('[type="search"],[data-type="search"]')?this.element.parent():this.element).addClass("ui-disabled")},enable:function(){(this.element.attr("disabled",false).is('[type="search"],[data-type="search"]')?this.element.parent():this.element).removeClass("ui-disabled")}})})(jQuery);(function(a){a.fn.customSelect=function(b){return a(this).each(function(){var s=a(this).attr("tabindex","-1").wrap("<div class='ui-select'>"),g=s.attr("id"),r=a("label[for="+g+"]").addClass("ui-select"),d=a.extend({chooseText:r.text(),theme:s.data("theme")},b),k=g+"-button",l=g+"-menu",p=s.closest(".ui-page"),q,m,f=a("<a>",{href:"#",role:"button",id:k,"aria-haspopup":"true","aria-owns":l}).text(a(this.options.item(this.selectedIndex)).text()).insertBefore(s).buttonMarkup({iconpos:"right",icon:"arrow-d",theme:d.theme}),n=a("<div data-role='dialog' data-theme='a'><div data-role='header' data-theme='b'><div class='ui-title'>"+d.chooseText+"</div></div><div data-role='content'></div></div>").appendTo(a.pageContainer).page(),j=n.find(".ui-content"),t=a("<div>",{"class":"ui-listbox-screen ui-overlay ui-screen-hidden fade"}).appendTo(p),c=a("<div>",{"class":"ui-listbox ui-listbox-hidden ui-body-a ui-overlay-shadow ui-corner-all pop"}).insertAfter(t),i=a("<ul>",{"class":"ui-listbox-list",id:l,role:"listbox","aria-labelledby":k}).appendTo(c);s.find("option").each(function(u){var v=(s[0].selectedIndex==u),o=a("<a>",{"aria-selected":v,role:"option",href:"#"}).text(a(this).text());a("<li>",{"class":v?"ui-btn-active":"","data-icon":"checkbox-on"}).append(o).appendTo(i)});i.listview();function h(){var o=i.outerHeight();m=[a(window).scrollLeft(),a(window).scrollTop()];if(o>window.innerHeight-80||!a.support.scrollTop){q="page";j.append(i);a.changePage(n,undefined)}else{q="overlay";t.height(a(document).height()).removeClass("ui-screen-hidden");c.append(i).removeClass("ui-listbox-hidden").css({top:a(window).scrollTop()+(window.innerHeight/2),"margin-top":-o/2,left:window.innerWidth/2,"margin-left":-1*c.outerWidth()/2}).addClass("in")}}function e(){if(q=="page"){a.changePage([n,p],undefined,true)}else{t.addClass("ui-screen-hidden");c.addClass("ui-listbox-hidden").removeAttr("style").removeClass("in")}}n.bind("pageshow",function(){i.find(".ui-btn-active").focus();return false}).bind("pagehide",function(){window.scrollTo(m[0],m[1]);s.focus();c.append(i).removeAttr("style");return false});s.change(function(){var o=s.get(0);f.find(".ui-btn-text").text(a(o.options.item(o.selectedIndex)).text())}).focus(function(){a(this).blur();f.focus()});f.mousedown(function(o){h();return false});i.find("li").mousedown(function(){i.find("li").removeClass("ui-btn-active").children(0).attr("aria-selected","false");a(this).addClass("ui-btn-active").find("a").attr("aria-selected","true");var u=i.find("li").index(this),o=s[0].selectedIndex;s[0].selectedIndex=u;if(u!==o){s.trigger("change")}e();return false});t.click(function(){e();return false})})}})(jQuery);(function(b){b.fn.buttonMarkup=function(c){return this.each(function(){var i=b(this),j=b.extend({},b.fn.buttonMarkup.defaults,i.data(),c),e,g="ui-btn-inner",d;if(a){a()}if(!j.theme){var f=i.closest("[class*='ui-bar-'],[class*='ui-body-']");j.theme=f.length?/ui-(bar|body)-([a-z])/.exec(f.attr("class"))[2]:"c"}e="ui-btn ui-btn-up-"+j.theme;if(j.inline){e+=" ui-btn-inline"}if(j.icon){j.icon="ui-icon-"+j.icon;j.iconpos=j.iconpos||"left";d="ui-icon "+j.icon;if(j.shadow){d+=" ui-icon-shadow"}}if(j.iconpos){e+=" ui-btn-icon-"+j.iconpos;if(j.iconpos=="notext"&&!i.attr("title")){i.attr("title",i.text())}}if(j.corners){e+=" ui-btn-corner-all";g+=" ui-btn-corner-all"}if(j.shadow){e+=" ui-shadow"}i.attr("data-theme",j.theme).addClass(e);var h=("<D class='"+g+"'><D class='ui-btn-text'></D>"+(j.icon?"<span class='"+d+"'></span>":"")+"</D>").replace(/D/g,j.wrapperEls);i.wrapInner(h)})};b.fn.buttonMarkup.defaults={corners:true,shadow:true,iconshadow:true,wrapperEls:"span"};var a=function(){b(".ui-btn").live({mousedown:function(){var c=b(this).attr("data-theme");b(this).removeClass("ui-btn-up-"+c).addClass("ui-btn-down-"+c)},mouseup:function(){var c=b(this).attr("data-theme");b(this).removeClass("ui-btn-down-"+c).addClass("ui-btn-up-"+c)},"mouseover focus":function(){var c=b(this).attr("data-theme");b(this).removeClass("ui-btn-up-"+c).addClass("ui-btn-hover-"+c)},"mouseout blur":function(){var c=b(this).attr("data-theme");b(this).removeClass("ui-btn-hover-"+c).addClass("ui-btn-up-"+c)}});a=null}})(jQuery);(function(a){a.widget("mobile.button",a.mobile.widget,{options:{},_create:function(){var b=this.element,c=b.attr("type");b.addClass("ui-btn-hidden").attr("tabindex","-1");a("<a>",{href:"#",role:"button","aria-label":b.attr("type")}).text(b.text()||b.val()).insertBefore(b).click(function(){if(c=="submit"){a(this).closest("form").submit()}else{b.click()}return false}).buttonMarkup({theme:b.data("theme"),icon:b.data("icon"),iconpos:b.data("iconpos"),inline:b.data("inline"),corners:b.data("corners"),shadow:b.data("shadow"),iconshadow:b.data("icon-shadow")})}})})(jQuery);(function(a){a.fn.slider=function(b){return this.each(function(){var i=a(this),k=i.parents("[class*=ui-bar-],[class*=ui-body-]").eq(0),n=a.extend({trackTheme:(k.length?k.attr("class").match(/ui-(bar|body)-([a-z])/)[2]:"c"),theme:i.data("theme")||(k.length?k.attr("class").match(/ui-(bar|body)-([a-z])/)[2]:"c")},e),l=i[0].nodeName.toLowerCase(),u=(l=="select")?"ui-slider-switch":"",f=i.attr("id"),m=f+"-label",h=a("[for="+f+"]").attr("id",m),x=(l=="input")?i.val():i[0].selectedIndex,r=(l=="input")?parseFloat(i.attr("min")):0,s=(l=="input")?parseFloat(i.attr("max")):i.find("option").length-1,c=x/(s-r)*100,g=c,q=a('<div class="ui-slider '+u+" ui-btn-down-"+n.trackTheme+' ui-btn-corner-all" role="application"></div>'),v=a('<a href="#" class="ui-slider-handle"></a>').appendTo(q).buttonMarkup({corners:true,theme:n.theme,shadow:true}).attr({role:"slider","aria-valuemin":r,"aria-valuemax":s,"aria-valuenow":x,"aria-valuetext":x,title:x,"aria-labelledby":m}),p=false;if(l=="select"){q.wrapInner('<div class="ui-slider-inneroffset"></div>');var e=i.find("option");i.find("option").each(function(z){var y=(z==0)?"b":"a",o=(z==0)?"right":"left",A=(z==0)?" ui-btn-down-"+n.trackTheme:" ui-btn-active";a('<div class="ui-slider-labelbg ui-slider-labelbg-'+y+A+" ui-btn-corner-"+o+'"></div>').prependTo(q);a('<span class="ui-slider-label ui-slider-label-'+y+A+" ui-btn-corner-"+o+'" role="img">'+a(this).text()+"</span>").prependTo(v)})}function d(o){if(l=="input"){i.val(o)}else{i[0].selectedIndex=o}i.trigger("change")}function j(y,B){if(B){c=parseFloat(B)/(s-r)*100}else{var A=y.originalEvent.touches?y.originalEvent.touches[0]:y,o=4;if(!p||A.pageX<q.offset().left-o||A.pageX>q.offset().left+q.width()+o){return}c=Math.round(((A.pageX-q.offset().left)/q.width())*100)}if(c<0){c=0}if(c>100){c=100}var z=Math.round((c/100)*s);if(z<r){z=r}if(z>s){z=s}if(c>60&&l=="select"){}g=Math.round(z/s*100);v.css("left",c+"%");v.attr({"aria-valuenow":(l=="input")?z:i.find("option").eq(z).attr("value"),"aria-valuetext":(l=="input")?z:i.find("option").eq(z).text(),title:z});w(z);d(z)}function w(o){if(l=="input"){return}if(o==0){q.addClass("ui-slider-switch-a").removeClass("ui-slider-switch-b")}else{q.addClass("ui-slider-switch-b").removeClass("ui-slider-switch-a")}}w(x);function t(){if(l=="select"){v.addClass("ui-slider-handle-snapping").css("left",g+"%").animationComplete(function(){v.removeClass("ui-slider-handle-snapping")})}}h.addClass("ui-slider");i.addClass((l=="input")?"ui-slider-input":"ui-slider-switch").keyup(function(o){j(o,a(this).val())});q.bind(a.support.touch?"touchstart":"mousedown",function(o){p=true;if((l=="select")){x=i[0].selectedIndex}j(o);return false}).bind(a.support.touch?"touchmove":"mousemove",function(o){j(o);return false}).bind(a.support.touch?"touchend":"mouseup",function(o){p=false;if(l=="select"){if(x==i[0].selectedIndex){x=x==0?1:0;j(o,x)}t()}return false}).insertAfter(i);v.css("left",c+"%").bind("click",function(o){return false})})}})(jQuery);(function(a){a.widget("mobile.collapsible",a.mobile.widget,{options:{expandCueText:" click to expand contents",collapseCueText:" click to collapse contents",collapsed:false,heading:">:header,>legend",theme:undefined,iconTheme:"d"},_create:function(){var d=this.element,e=this.options,b=d.addClass("ui-collapsible-contain"),c=d.find(e.heading).eq(0),h=b.wrapInner('<div class="ui-collapsible-content"></div>').find(".ui-collapsible-content"),g=d.closest('[data-role="collapsible-set"]').addClass("ui-collapsible-set");if(c.is("legend")){c=a('<div role="heading">'+c.html()+"</div>").insertBefore(c);c.next().remove()}c.insertBefore(h);c.addClass("ui-collapsible-heading").append('<span class="ui-collapsible-heading-status"></span>').wrapInner('<a href="#" class="ui-collapsible-heading-toggle"></a>').find("a:eq(0)").buttonMarkup({shadow:!!!g.length,corners:false,iconPos:"left",icon:"plus",theme:e.theme}).find(".ui-icon").removeAttr("class").buttonMarkup({shadow:true,corners:true,iconPos:"notext",icon:"plus",theme:e.iconTheme});if(!g.length){c.find("a:eq(0)").addClass("ui-corner-all").find(".ui-btn-inner").addClass("ui-corner-all")}else{if(b.data("collapsible-last")){c.find("a:eq(0), .ui-btn-inner").addClass("ui-corner-bottom")}}b.bind("collapse",function(i){if(!i.isDefaultPrevented()){i.preventDefault();c.addClass("ui-collapsible-heading-collapsed").find(".ui-collapsible-heading-status").text(e.expandCueText);c.find(".ui-icon").removeClass("ui-icon-minus").addClass("ui-icon-plus");h.addClass("ui-collapsible-content-collapsed").attr("aria-hidden",true);if(b.data("collapsible-last")){c.find("a:eq(0), .ui-btn-inner").addClass("ui-corner-bottom")}}}).bind("expand",function(i){if(!i.isDefaultPrevented()){i.preventDefault();c.removeClass("ui-collapsible-heading-collapsed").find(".ui-collapsible-heading-status").text(e.collapseCueText);c.find(".ui-icon").removeClass("ui-icon-plus").addClass("ui-icon-minus");h.removeClass("ui-collapsible-content-collapsed").attr("aria-hidden",false);if(b.data("collapsible-last")){c.find("a:eq(0), .ui-btn-inner").removeClass("ui-corner-bottom")}}}).trigger(e.collapsed?"collapse":"expand");if(g.length&&!g.data("collapsiblebound")){g.data("collapsiblebound",true).bind("expand",function(i){a(this).find(".ui-collapsible-contain").not(a(i.target).closest(".ui-collapsible-contain")).not("> .ui-collapsible-contain .ui-collapsible-contain").trigger("collapse")});var f=g.find("[data-role=collapsible]");f.first().find("a:eq(0)").addClass("ui-corner-top").find(".ui-btn-inner").addClass("ui-corner-top");f.last().data("collapsible-last",true)}c.click(function(){if(c.is(".ui-collapsible-heading-collapsed")){b.trigger("expand")}else{b.trigger("collapse")}return false})}})})(jQuery);(function(a){a.fn.controlgroup=function(b){return a(this).each(function(){var f=a.extend({direction:a(this).data("type")||"vertical",shadow:false},b);var g=a(this).find(">legend"),c=f.direction=="horizontal"?["ui-corner-left","ui-corner-right"]:["ui-corner-top","ui-corner-bottom"],d=a(this).find("input:eq(0)").attr("type");if(g.length){a(this).wrapInner('<div class="ui-controlgroup-controls"></div>');a('<div role="heading" class="ui-controlgroup-label">'+g.html()+"</div>").insertBefore(a(this).children(0));g.remove()}a(this).addClass("ui-corner-all ui-controlgroup ui-controlgroup-"+f.direction);function e(h){h.removeClass("ui-btn-corner-all ui-shadow").eq(0).addClass(c[0]).end().filter(":last").addClass(c[1]).addClass("ui-controlgroup-last")}e(a(this).find(".ui-btn"));e(a(this).find(".ui-btn-inner"));if(f.shadow){a(this).addClass("ui-shadow")}})}})(jQuery);(function(a){a.fn.fieldcontain=function(b){var c=a.extend({theme:"c"},b);return a(this).addClass("ui-field-contain ui-body ui-br")}})(jQuery);(function(a){a.widget("mobile.listview",a.mobile.widget,{options:{theme:"c",countTheme:"c",headerTheme:"b",dividerTheme:"b",splitIcon:"arrow-r",splitTheme:"b",inset:false},_create:function(){var b=this.element,c=this.options;b.addClass("ui-listview").attr("role","listbox");if(c.inset){b.addClass("ui-listview-inset ui-corner-all ui-shadow")}b.delegate(".ui-li","focusin",function(){a(this).attr("tabindex","0")});this._itemApply(b,b);this.refresh(true);b.keydown(function(j){var i=a(j.target),d=i.closest("li");switch(j.keyCode){case 38:var h=d.prev();if(h.length){i.blur().attr("tabindex","-1");h.find("a").first().focus()}return false;break;case 40:var g=d.next();if(g.length){i.blur().attr("tabindex","-1");g.find("a").first().focus()}return false;break;case 39:var f=d.find("a.ui-li-link-alt");if(f.length){i.blur();f.first().focus()}return false;break;case 37:var f=d.find("a.ui-link-inherit");if(f.length){i.blur();f.first().focus()}return false;break;case 13:case 32:i.trigger("click");return false;break}});b.delegate("li","click",function(d){if(!a(d.target).closest("a").length){a(this).find("a").first().trigger("click");return false}})},_itemApply:function(c,d){d.find(".ui-li-count").addClass("ui-btn-up-"+(c.data("counttheme")||this.options.countTheme)+" ui-btn-corner-all");d.find("h1, h2, h3, h4, h5, h6").addClass("ui-li-heading");d.find("p, ul, dl").addClass("ui-li-desc");d.find("img").addClass("ui-li-thumb").each(function(){a(this).closest("li").addClass(a(this).is(".ui-li-icon")?"ui-li-has-icon":"ui-li-has-thumb")});var b=d.find(".ui-li-aside");if(b.length){b.each(function(e,f){$(f).prependTo($(f).parent())})}if(a.support.cssPseudoElement||!a.nodeName(d[0],"ol")){return}},refresh:function(f){this._createSubPages();var h=this.options,e=this.element,d=this,g=e.data("dividertheme")||h.dividerTheme,b=e.children("li"),c=a.support.cssPseudoElement||!a.nodeName(e[0],"ol")?0:1;if(c){e.find(".ui-li-dec").remove()}b.attr({role:"option",tabindex:"-1"});b.first().attr("tabindex","0");b.each(function(n){var l=a(this),m="ui-li";if(!f&&l.hasClass("ui-li")){return}var i=l.find("a");if(i.length){l.buttonMarkup({wrapperEls:"div",shadow:false,corners:false,iconpos:"right",icon:i.length>1?false:l.data("icon")||"arrow-r",theme:h.theme});i.first().addClass("ui-link-inherit");if(i.length>1){m+=" ui-li-has-alt";var k=i.last(),j=e.data("splittheme")||k.data("theme")||h.splitTheme;k.attr("title",k.text()).addClass("ui-li-link-alt").empty().buttonMarkup({shadow:false,corners:false,theme:h.theme,icon:false,iconpos:false}).find(".ui-btn-inner").append(a("<span>").buttonMarkup({shadow:true,corners:true,theme:j,iconpos:"notext",icon:e.data("spliticon")||k.data("icon")||h.splitIcon}))}}else{if(l.data("role")==="list-divider"){m+=" ui-li-divider ui-btn ui-bar-"+g;l.attr("role","heading");if(c){c=1}}else{m+=" ui-li-static ui-btn-up-"+h.theme}}if(n===0){if(h.inset){m+=" ui-corner-top";l.add(l.find(".ui-btn-inner")).find(".ui-li-link-alt").addClass("ui-corner-tr").end().find(".ui-li-thumb").addClass("ui-corner-tl")}}else{if(n===b.length-1){if(h.inset){m+=" ui-corner-bottom";l.add(l.find(".ui-btn-inner")).find(".ui-li-link-alt").addClass("ui-corner-br").end().find(".ui-li-thumb").addClass("ui-corner-bl")}}}if(c&&m.indexOf("ui-li-divider")<0){l.find(".ui-link-inherit").first().addClass("ui-li-jsnumbering").prepend("<span class='ui-li-dec'>"+(c++)+". </span>")}l.addClass(m);if(!f){d._itemApply(e,l)}})},_createSubPages:function(){var c=this.element,b=c.closest(".ui-page"),f=b.attr("id"),e=this.options,d=b.find("[data-role='footer']").data("id");a(c.find("ul, ol").toArray().reverse()).each(function(g){var l=a(this),j=l.parent(),n=j.contents()[0].nodeValue.split("\n")[0],o=f+"&"+$.mobile.subPageUrlKey+"="+$.mobile.idStringEscape(n+" "+g),m=l.data("theme")||e.theme,k=l.data("counttheme")||c.data("counttheme")||e.countTheme,h=l.wrap("<div data-role='page'><div data-role='content'></div></div>").parent().before("<div data-role='header' data-theme='"+e.headerTheme+"'><div class='ui-title'>"+n+"</div></div>").after(d?$("<div>",{"data-role":"footer","data-id":d,"class":"ui-footer-duplicate"}):"").parent().attr({id:o,"data-theme":m,"data-count-theme":k}).appendTo(a.pageContainer);h.page();j.html("<a href='#"+o+"'>"+n+"</a>")}).listview()}})})(jQuery);(function(a){a.mobile.listview.prototype.options.filter=false;a("[data-role='listview']").live("listviewcreate",function(){var d=a(this),c=d.data("listview");if(!c.options.filter){return}var e=a("<form>",{"class":"ui-listview-filter ui-bar-c",role:"search"}),b=a("<input>",{placeholder:"Filter results...","data-type":"search"}).bind("keyup change",function(){var f=this.value.toLowerCase();d.children().show();if(f){d.children().filter(function(){return a(this).text().toLowerCase().indexOf(f)===-1}).hide()}}).appendTo(e).customTextInput();e.insertBefore(d)})})(jQuery);(function(a){a.widget("mobile.dialog",a.mobile.widget,{options:{},_create:function(){var b=this,c=b.element,d=a('<a href="#" data-icon="delete" data-iconpos="notext">Close</a>');c.delegate("a, submit","click submit",function(f){if(f.type=="click"&&(a(f.target).closest("[data-back]")||a(f.target).closest(d))){b.close();return false}a.activePage=this.element});this.element.bind("pageshow",function(){return false}).attr("role","dialog").addClass("ui-page ui-dialog ui-body-a").find("[data-role=header]").addClass("ui-corner-top ui-overlay-shadow").prepend(d).end().find(".ui-content,[data-role=footer]").last().addClass("ui-corner-bottom ui-overlay-shadow")},close:function(){a.changePage([this.element,a.activePage],undefined,true)}})})(jQuery);(function(a){a.widget("mobile.navbar",a.mobile.widget,{options:{iconpos:"top"},_create:function(){var d=this.element,b=d.find("a"),c=b.filter("icon").length?this.options.iconpos:undefined;d.addClass("ui-navbar").attr("role","navigation").find("ul").grid({grid:b.length>2?"b":"a"});if(!c){d.addClass("ui-navbar-noicons")}b.buttonMarkup({corners:false,shadow:false,iconpos:c});d.delegate("a","click",function(e){b.removeClass("ui-btn-active")})}})})(jQuery);(function(a){a.fn.grid=function(b){return a(this).each(function(){var c=a.extend({grid:"a"},b);a(this).addClass("ui-grid-"+c.grid);var d=a(this).children();iterator=c.grid=="a"?2:3;d.filter(":nth-child("+iterator+"n+1)").addClass("ui-block-a");d.filter(":nth-child("+iterator+"n+2)").addClass("ui-block-b");if(iterator==3){d.filter(":nth-child(3n+3)").addClass("ui-block-c")}})}})(jQuery);
20
20
  /*
21
21
  * jQuery Mobile
22
22
  * http://jquerymobile.com/
@@ -25,4 +25,4 @@
25
25
  * Dual licensed under the MIT or GPL Version 2 licenses.
26
26
  * http://jquery.org/license
27
27
  */
28
- (function(A,E,l){if(!jQuery.support.mediaquery){return}jQuery.mobile={};jQuery.extend(jQuery.mobile,{subPageUrlKey:"ui-page",degradeInputs:{color:true,date:true,datetime:true,"datetime-local":true,email:true,month:true,number:true,range:true,search:true,tel:true,time:true,url:true,week:true},addBackBtn:true});var K=jQuery(E),C=jQuery("html"),t=jQuery("head"),z,w=jQuery('<div class="ui-loader ui-body-a ui-corner-all"><span class="ui-icon ui-icon-loading spin"></span><h1>loading</h1></div>'),H,b,o="ui-page-start",a="ui-page-active",k="ui-btn-active",v=null,J,m,e="slide slideup slidedown pop flip fade",L=350,I="Back",s=[{url:location.hash.replace(/^#/,""),transition:"slide"}],u="[tabindex],a,button:visible,select:visible,input",i=null,M=true,f="[data-rel=dialog]",c=q(location.protocol+"//"+location.host+location.pathname),D=[320,480,768,1024];A.mobile.urlStack=s;function j(O){return O.replace(/[^a-zA-Z0-9]/g,"-")}A.mobile.idStringEscape=j;function h(){jQuery.event.special.scrollstart.enabled=false;setTimeout(function(){E.scrollTo(0,0)},0);setTimeout(function(){jQuery.event.special.scrollstart.enabled=true},150)}function q(P){var O=P.replace(/#/,"").split("/");O.pop();return O.join("/")+(O.length?"/":"")}function n(O){return q(O||location.hash)}var G=!A.support.dynamicBaseTag?A.noop:function(O){A("#ui-base").attr("href",c+n(O))};var p=!A.support.dynamicBaseTag?A.noop:function(){A("#ui-base").attr("href",c)};A("form").live("submit",function(){var P=A(this).attr("method"),O=A(this).attr("action").replace(location.protocol+"//"+location.host,"");if(/^(:?\w+:)/.test(O)){return}if(O.indexOf("/")&&O.indexOf("#")!==0){O=n()+O}A.changePage({url:O,type:P,data:A(this).serialize()},l,l,true);return false});jQuery("a").live("click",function(R){var T=A(this),P=T.attr("href").replace(location.protocol+"//"+location.host,""),U=/^(:?\w+:)/.test(P)||T.is("[target],[rel=external]");if(P==="#"){return false}v=T.closest(".ui-btn").addClass(k);if(U){location.href=P}else{var O=T.data("transition")||"slide",Q=T.data("back")||l,S=!T.is(f);i=T.attr("data-rel");if(P.indexOf("/")&&P.indexOf("#")!==0){P=n()+P}P.replace(/^#/,"");g(P,O,Q,S)}R.preventDefault()});function B(O){if(O){C.removeClass("ui-loading")}else{w.appendTo(b).css({top:A(E).scrollTop()+75});C.addClass("ui-loading")}}function N(P){var O=P.find(".ui-title:eq(0)");if(O.length){O.focus()}else{P.find(u).eq(0).focus()}}function d(O){if(i){O.attr("data-role",i);i=l}}function r(O){var P=["data-role","data-theme","data-fullscreen"],Q=O.wrap("<div>").parent();A.each(P,function(R){if(O.attr(P[R])){Q.attr(P[R],O.attr(P[R]));O.removeAttr(P[R])}});return Q}function y(O){if(v&&(!v.closest(".ui-page-active").length)||O){v.removeClass(k)}v=null}function g(aa,X,S,Y){var W=A.type(aa)==="array",ab=W?aa[0]:A.activePage,aa=W?aa[1]:aa,O=fileUrl=A.type(aa)==="string"?aa.replace(/^#/,""):null,R=l,Z="get",S=(S!==l)?S:(s.length>1&&s[s.length-2].url===O),X=(X!==l)?X:(J||"slide");if(A.type(aa)==="object"){O=aa.url,R=aa.data,Z=aa.type;if(R&&Z=="get"){O+="?"+R;R=l}}J=l;m=l;p();if(S){X=s.pop().transition}else{s.push({url:O,transition:X})}function Q(){jQuery(document.activeElement).blur();ab.data("page")._trigger("beforehide",{nextPage:aa});aa.data("page")._trigger("beforeshow",{prevPage:ab});function ac(){B(true);if(ab.data("page")._trigger("hide",null,{nextPage:aa})!==false&&aa.data("page")._trigger("show",null,{prevPage:ab})!==false){A.activePage=aa}N(aa);if(Y&&O){M=false;location.hash=O;setTimeout(function(){M=true},500)}y()}if(X){b.addClass("ui-mobile-viewport-transitioning");ab.addClass(X+" out "+(S?"reverse":""));aa.addClass(a+" "+X+" in "+(S?"reverse":""));aa.animationComplete(function(){ab.add(aa).removeClass(" out in reverse "+e);ab.removeClass(a);ac();b.removeClass("ui-mobile-viewport-transitioning")})}else{ab.removeClass(a);aa.addClass(a);ac()}}function V(){d(aa);aa.page()}function P(ac){return ac.match("&"+jQuery.mobile.subPageUrlKey)?ac.split("&"+jQuery.mobile.subPageUrlKey)[0]:ac}if(O){aa=jQuery("[id='"+O+"']"),fileUrl=P(O)}else{var T=aa.attr("id"),U=P(T);if(T!=U){fileUrl=U}}if(aa.length){if(fileUrl){G(fileUrl)}V();Q()}else{B();A.ajax({url:fileUrl,type:Z,data:R,success:function(ac){G(fileUrl);var ad=jQuery("<div></div>");ad.get(0).innerHTML=ac;aa=ad.find('[data-role="page"]');if(!A.support.dynamicBaseTag){var ae=n(fileUrl);aa.find("[src],[href]").each(function(){var ag=A(this).is("[href]")?"href":"src",af=A(this).attr(ag);af.replace(location.protocol+"//"+location.host+location.pathname,"");if(!/^(\w+:|#|\/)/.test(af)){A(this).attr(ag,ae+af)}})}if(aa.attr("id")){aa=r(aa)}aa.attr("id",fileUrl).appendTo(b);V();Q()},error:function(){B(true);y(true);jQuery("<div class='ui-loader ui-overlay-shadow ui-body-e ui-corner-all'><h1>Error Loading Page</h1></div>").css({display:"block",opacity:0.96,top:A(E).scrollTop()+100}).appendTo(b).delay(800).fadeOut(400,function(){A(this).remove()})}})}}jQuery(function(){z=jQuery("body");B();K.bind("hashchange",function(P,O){if(!M){return}var R=location.hash,Q=(O&&O.manuallyTriggered)?false:l;if(R){g(R,Q)}else{if(A.activePage.length&&!H.is(A.activePage)&&!(O&&O.manuallyTriggered)){g(H,Q,true)}else{H.trigger("pagebeforeshow",{prevPage:A("")});H.addClass(a);B(true);if(H.trigger("pageshow",{prevPage:A("")})!==false){N(H)}}}})});C.addClass("ui-mobile");K.bind("orientationchange",function(O,P){C.removeClass("portrait landscape").addClass(P.orientation)});function x(){var O=K.width(),S="min-width-",Q="max-width-",U=[],R=[],T="px",P;C.removeClass(S+D.join(T+" "+S)+T+" "+Q+D.join(T+" "+Q)+T);A.each(D,function(V){if(O>=D[V]){U.push(S+D[V]+T)}if(O<=D[V]){R.push(Q+D[V]+T)}});if(U.length){P=U.join(" ")}if(R.length){P+=" "+R.join(" ")}C.addClass(P)}K.bind("orientationchange resize",x);x();A.mobile.addResolutionBreakpoints=function(O){if(A.type(O)==="array"){D=D.concat(O)}else{D.push(O)}x()};var F=t.prepend('<meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1" />'+(A.support.dynamicBaseTag?'<base href="" id="ui-base" />':""));p();jQuery.fn.animationComplete=function(O){if(jQuery.support.WebKitAnimationEvent){return jQuery(this).one("webkitAnimationEnd",O)}else{setTimeout(O,L)}};jQuery.extend({pageLoading:B,changePage:g,hideBrowserChrome:h});jQuery(function(){var O=jQuery("[data-role='page']");H=A.activePage=O.first();b=H.parent().addClass("ui-mobile-viewport");jQuery.extend({pageContainer:b});if(!H.attr("id")){H.attr("id",o)}O.page();K.trigger("hashchange",{manuallyTriggered:true});C.addClass(jQuery.event.special.orientationchange.orientation(K))});K.load(h)})(jQuery,this);
28
+ (function(d,j,e){jQuery.mobile=jQuery.extend({subPageUrlKey:"ui-page",nonHistorySelectors:"[data-rel=dialog]",activePageClass:"ui-page-active",activeBtnClass:"ui-btn-active",transitions:["slide","slideup","slidedown","pop","flip","fade"],defaultTransition:"slide",loadingMessage:"loading",metaViewportContent:"width=device-width, minimum-scale=1, maximum-scale=1",headExtras:e,gradeA:function(){return jQuery.support.mediaquery}},jQuery.mobile);if(!jQuery.mobile.gradeA()){return}var s=jQuery(j),v=jQuery("html"),p=jQuery("head"),u,t=d.mobile.loadingMessage?jQuery('<div class="ui-loader ui-body-a ui-corner-all"><span class="ui-icon ui-icon-loading spin"></span><h1>'+d.mobile.loadingMessage+"</h1></div>"):e,r=d.mobile.metaViewportContent?d("<meta>",{name:"viewport",content:d.mobile.metaViewportContent}):e,b=g(location.protocol+"//"+location.host+location.pathname),o=d.support.dynamicBaseTag?d("<base>",{href:b}):e,f,C,i=null,k=[{url:location.hash.replace(/^#/,""),transition:e}],x="[tabindex],a,button:visible,select:visible,input",c=null,m=true,z=[320,480,768,1024];p.prepend(d.mobile.headExtras||{},r||{},o||{});d.mobile.urlStack=k;function a(G){return G.replace(/[^a-zA-Z0-9]/g,"-")}d.mobile.idStringEscape=a;function B(){jQuery.event.special.scrollstart.enabled=false;setTimeout(function(){j.scrollTo(0,0)},0);setTimeout(function(){jQuery.event.special.scrollstart.enabled=true},150)}function g(H){var G=H.replace(/#/,"").split("/");G.pop();return G.join("/")+(G.length?"/":"")}function q(G){return g(G||location.hash)}var E=!d.support.dynamicBaseTag?d.noop:function(G){o.attr("href",b+q(G))};var F=!d.support.dynamicBaseTag?d.noop:function(){o.attr("href",b)};F();d("form").live("submit",function(){var H=d(this).attr("method"),G=d(this).attr("action").replace(location.protocol+"//"+location.host,"");if(/^(:?\w+:)/.test(G)){return}if(G.indexOf("/")&&G.indexOf("#")!==0){G=q()+G}d.changePage({url:G,type:H,data:d(this).serialize()},e,e,true);return false});jQuery("a").live("click",function(I){var K=d(this),H=K.attr("href").replace(location.protocol+"//"+location.host,""),M=/^(:?\w+:)/.test(H)||K.is("[target],[rel=external]");if(H==="#"){return false}i=K.closest(".ui-btn").addClass(d.mobile.activeBtnClass);if(M){location.href=H}else{var L=K.data("transition"),G=K.data("back"),J=!K.is(d.mobile.nonHistorySelectors);c=K.attr("data-rel");if(H.indexOf("/")&&H.indexOf("#")!==0){H=q()+H}H.replace(/^#/,"");y(H,L,G,J)}I.preventDefault()});function D(G){if(G){v.removeClass("ui-loading")}else{if(d.mobile.loadingMessage){t.appendTo(C).css({top:d(j).scrollTop()+75})}v.addClass("ui-loading")}}function h(H){var G=H.find(".ui-title:eq(0)");if(G.length){G.focus()}else{H.find(x).eq(0).focus()}}function n(G){if(c){G.attr("data-role",c);c=e}}function w(G){var H=["data-role","data-theme","data-fullscreen"],I=G.wrap("<div>").parent();d.each(H,function(J){if(G.attr(H[J])){I.attr(H[J],G.attr(H[J]));G.removeAttr(H[J])}});return I}function A(G){if(!!i&&(!i.closest(".ui-page-active").length||G)){i.removeClass(d.mobile.activeBtnClass)}i=null}function y(U,R,M,S){var Q=d.type(U)==="array",V=Q?U[0]:d.activePage,U=Q?U[1]:U,H=fileUrl=d.type(U)==="string"?U.replace(/^#/,""):null,L=e,T="get",I=false,G=null,M=(M!==e)?M:(k.length>1&&k[k.length-2].url===H),R=(R!==e)?R:d.mobile.defaultTransition;if(d.type(U)==="object"&&U.url){H=U.url,L=U.data,T=U.type,I=true;if(L&&T=="get"){H+="?"+L;L=e}}F();if(M){R=k.pop().transition}else{k.push({url:H,transition:R})}function K(){jQuery(document.activeElement).blur();V.data("page")._trigger("beforehide",{nextPage:U});U.data("page")._trigger("beforeshow",{prevPage:V});function W(){D(true);if(V.data("page")._trigger("hide",null,{nextPage:U})!==false&&U.data("page")._trigger("show",null,{prevPage:V})!==false){d.activePage=U}h(U);if(S&&H){m=false;location.hash=H}A();if(G!=null){G.remove()}}if(R){C.addClass("ui-mobile-viewport-transitioning");V.addClass(R+" out "+(M?"reverse":""));U.addClass(d.mobile.activePageClass+" "+R+" in "+(M?"reverse":""));U.animationComplete(function(){V.add(U).removeClass(" out in reverse "+d.mobile.transitions.join(" "));V.removeClass(d.mobile.activePageClass);W();C.removeClass("ui-mobile-viewport-transitioning")})}else{V.removeClass(d.mobile.activePageClass);U.addClass(d.mobile.activePageClass);W()}}function P(){n(U);U.page()}function J(W){return W.match("&"+jQuery.mobile.subPageUrlKey)?W.split("&"+jQuery.mobile.subPageUrlKey)[0]:W}if(H){U=jQuery("[id='"+H+"']"),fileUrl=J(H)}else{var N=U.attr("id"),O=J(N);if(N!=O){fileUrl=O}}if(U.length&&!I){if(fileUrl){E(fileUrl)}P();K()}else{if(U.length){G=U}D();d.ajax({url:fileUrl,type:T,data:L,success:function(W){E(fileUrl);var X=jQuery("<div></div>");X.get(0).innerHTML=W;U=X.find('[data-role="page"]');if(!d.support.dynamicBaseTag){var Y=q(fileUrl);U.find("[src],link[href]").each(function(){var aa=d(this).is("[href]")?"href":"src",Z=d(this).attr(aa);Z.replace(location.protocol+"//"+location.host+location.pathname,"");if(!/^(\w+:|#|\/)/.test(Z)){d(this).attr(aa,Y+Z)}})}if(U.attr("id")){U=w(U)}U.attr("id",fileUrl).appendTo(C);P();K()},error:function(){D(true);A(true);jQuery("<div class='ui-loader ui-overlay-shadow ui-body-e ui-corner-all'><h1>Error Loading Page</h1></div>").css({display:"block",opacity:0.96,top:d(j).scrollTop()+100}).appendTo(C).delay(800).fadeOut(400,function(){d(this).remove()})}})}}jQuery(function(){u=jQuery("body");D();s.bind("hashchange",function(H,G){if(!m){m=true;return}var J=location.hash,I=G?false:e;if(J){y(J,I)}else{if(d.activePage.length&&!f.is(d.activePage)&&!G){y(f,I,true)}else{f.trigger("pagebeforeshow",{prevPage:d("")});f.addClass(d.mobile.activePageClass);D(true);if(f.trigger("pageshow",{prevPage:d("")})!==false){h(f)}}}})});v.addClass("ui-mobile");s.bind("orientationchange.htmlclass",function(G){v.removeClass("portrait landscape").addClass(G.orientation)});function l(){var G=s.width(),K="min-width-",I="max-width-",M=[],J=[],L="px",H;v.removeClass(K+z.join(L+" "+K)+L+" "+I+z.join(L+" "+I)+L);d.each(z,function(N){if(G>=z[N]){M.push(K+z[N]+L)}if(G<=z[N]){J.push(I+z[N]+L)}});if(M.length){H=M.join(" ")}if(J.length){H+=" "+J.join(" ")}v.addClass(H)}s.bind("orientationchange resize",l);l();d.mobile.addResolutionBreakpoints=function(G){if(d.type(G)==="array"){z=z.concat(G)}else{z.push(G)}l()};jQuery.fn.animationComplete=function(G){if(jQuery.support.cssTransitions){return jQuery(this).one("webkitAnimationEnd",G)}else{G()}};jQuery.extend({pageLoading:D,changePage:y,hideBrowserChrome:B});jQuery(function(){var G=jQuery("[data-role='page']");f=d.activePage=G.first();C=f.parent().addClass("ui-mobile-viewport");jQuery.extend({pageContainer:C});G.page();s.trigger("hashchange",[true]);s.trigger("orientationchange.htmlclass")});s.load(B).unload(A)})(jQuery,this);(function(a){a.themeswitcher=function(){var d="/stylesheets/compiled/jquery/mobile/",b=["default","valencia"],e=a.activePage,f=a("<div data-role='dialog' data-theme='a'><div data-role='header' data-theme='b'><div class='ui-title'>Switch Theme:</div></div><div data-role='content' data-theme='c'><ul data-role='listview' data-inset='true'></ul></div></div>").appendTo(a.pageContainer),h=f.find("ul");a.each(b,function(j){a("<li><a href='#'>"+b[j].charAt(0).toUpperCase()+b[j].substr(1)+"</a></li>").click(function(){g(b[j]);c();return false}).appendTo(h)});function g(i){a("head").append("<link rel='stylesheet' href='"+d+i+".css' />")}function c(){a.changePage([f,e],"pop",true);f.bind("pagehide",function(){f.remove()});return false}f.find(".ui-btn-left").click(c);f.page();a.changePage([e,f],"pop",false)}})(jQuery);
@@ -21,7 +21,6 @@
21
21
  .ui-mobile-viewport {
22
22
  margin: 0;
23
23
  overflow-x: hidden;
24
- -webkit-backface-visibility: hidden;
25
24
  -webkit-text-size-adjust: none;
26
25
  -ms-text-size-adjust: none;
27
26
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
@@ -39,7 +38,6 @@
39
38
  min-height: 100%;
40
39
  position: absolute;
41
40
  display: none;
42
- -webkit-backface-visibility: hidden;
43
41
  border: 0; }
44
42
 
45
43
  .ui-page-active {
@@ -141,6 +139,7 @@
141
139
  .ui-content {
142
140
  border-width: 0;
143
141
  overflow: visible;
142
+ overflow-x: hidden;
144
143
  padding: 15px; }
145
144
 
146
145
  .ui-page-fullscreen .ui-content {
@@ -196,13 +195,11 @@
196
195
  white-space: nowrap;
197
196
  position: relative; }
198
197
 
199
- .ui-btn-text {}
200
-
201
198
  .ui-header .ui-btn-inner, .ui-footer .ui-btn-inner, .ui-bar .ui-btn-inner {
202
199
  padding: .4em 8px .5em; }
203
200
 
204
201
  .ui-btn-icon-notext {
205
- display: block;
202
+ display: inline-block;
206
203
  width: 20px;
207
204
  height: 20px;
208
205
  padding: 1px 0px 1px 2px;
@@ -710,13 +707,12 @@ textarea.ui-input-text {
710
707
  display: inline-block;
711
708
  width: 20%;
712
709
  margin: 0 2% 0 0; }
713
- input.ui-input-text {
710
+ input.ui-input-text, textarea.ui-input-text {
714
711
  width: 60%;
715
- display: inline-block;
716
- textarea.ui-input-text, .ui-input-search {
717
- width: 60%;
718
- display: inline-block; } }
712
+ display: inline-block; }
719
713
  .ui-input-search {
714
+ width: 60%;
715
+ display: inline-block;
720
716
  width: 50%; } }
721
717
 
722
718
  /*
@@ -1242,6 +1238,9 @@ Built by David Kaneda and maintained by Jonathan Stark.
1242
1238
 
1243
1239
  .flip {
1244
1240
  -webkit-animation-duration: .65s;
1241
+ -webkit-backface-visibility: hidden;
1242
+ -webkit-transform: translateX(0);
1243
+ /* Needed to work around an iOS 3.1 bug that causes listview thumbs to disappear when -webkit-visibility:hidden is used. */
1245
1244
  &.in {
1246
1245
  -webkit-transform: rotateY(0) scale(1);
1247
1246
  -webkit-animation-name: flipinfromleft; }
@@ -0,0 +1,106 @@
1
+ require 'fileutils'
2
+ JQ_MOBILE_SRC = File.join(RAILS_ROOT, 'tmp', 'jquery-mobile')
3
+
4
+ def convert2haml(src, dest)
5
+ tmp = src.gsub(/\.html$/, '.tmp')
6
+ open File.join(tmp), 'w' do |f|
7
+ text = File.read(src)
8
+ text.slice!(0..(text.index('<body>')+6))
9
+ text.lstrip!
10
+ text.slice!((text.rindex('</body>'))..text.length)
11
+ f.print text
12
+ f.close
13
+ end
14
+ system "html2haml -x #{tmp} #{dest}"
15
+ FileUtils.remove_file tmp if File.exists? tmp
16
+ puts "Converted: #{src}"
17
+ end
18
+
19
+ def cleanup(pattern)
20
+ puts "Cleanup started for: #{pattern}"
21
+ Dir["#{pattern}"].each do |file|
22
+ FileUtils.remove_file file if File.exists? file
23
+ puts "Removed: #{file}"
24
+ end
25
+ puts "Cleanup finished for: #{pattern}"
26
+ end
27
+
28
+ namespace :jquery do
29
+ namespace :mobile do
30
+
31
+ namespace :haml do
32
+ desc 'Cleanup directory'
33
+ task :cleanup, :dir do | t, args |
34
+ cleanup(args[:dir])
35
+ end
36
+ end
37
+
38
+ namespace :convert do
39
+ desc 'Convert API-Viewer files to haml'
40
+ task :api do
41
+ puts "Haml conversion started for API-Viewer:"
42
+
43
+ path = File.join(JQ_MOBILE_SRC, 'experiments/api-viewer')
44
+ cleanup("#{path}/*.html.haml")
45
+ Dir["#{path}/*.html"].each do |src|
46
+ dest = src.gsub(/\.html$/, '.html.haml')
47
+ convert2haml(src, dest)
48
+ end
49
+
50
+ path = File.join(path, 'docs')
51
+ cleanup("#{path}/*.html.haml")
52
+ Dir["#{path}/**/*.html"].each do |src|
53
+ dest = src.gsub(/\/index.html$/, '.html.haml')
54
+ convert2haml(src, dest)
55
+ end
56
+ puts "Haml conversion finished for API-Viewer."
57
+ end
58
+
59
+ desc 'Convert /docs files to haml'
60
+ task :docs do
61
+ puts "Haml conversion started for /docs files:"
62
+
63
+ path = File.join(JQ_MOBILE_SRC, 'docs')
64
+ cleanup("#{path}/*.html.haml")
65
+ Dir["#{path}/*.html"].each do |src|
66
+ dest = src.gsub(/\.html$/, '.html.haml')
67
+ convert2haml(src, dest)
68
+ end
69
+
70
+ cleanup("#{path}/**/*.html.haml")
71
+ Dir["#{path}/**/*.html"].each do |src|
72
+ dest = src.gsub(/\.html$/, '.html.haml')
73
+ convert2haml(src, dest)
74
+ end
75
+ puts "Haml conversion finished for /docs files."
76
+ end
77
+
78
+ desc 'Convert /experiments files to haml'
79
+ task :experiments do
80
+ puts "Haml conversion started for /experiments files:"
81
+
82
+ path = File.join(JQ_MOBILE_SRC, 'experiments')
83
+ cleanup("#{path}/**/*.html.haml")
84
+ Dir["#{path}/**/*.html"].each do |src|
85
+ next if /api-viewer/ =~ src
86
+ dest = src.gsub(/\.html$/, '.html.haml')
87
+ convert2haml(src, dest)
88
+ end
89
+ puts "Haml conversion finished for /experiments files."
90
+ end
91
+
92
+ desc 'Convert /speed files to haml'
93
+ task :speed do
94
+ puts "Haml conversion started for /speed files:"
95
+
96
+ path = File.join(JQ_MOBILE_SRC, 'speed')
97
+ cleanup("#{path}/*.html.haml")
98
+ Dir["#{path}/*.html"].each do |src|
99
+ dest = src.gsub(/\.html$/, '.html.haml')
100
+ convert2haml(src, dest)
101
+ end
102
+ puts "Haml conversion finished for /speed files."
103
+ end
104
+ end
105
+ end
106
+ end
@@ -2,11 +2,11 @@
2
2
  # Install with: compass install jquery/mobile
3
3
 
4
4
  file 'config/initializers/mobile.rb'
5
+ file 'lib/tasks/jquery.mobile.rake'
5
6
  javascript 'jquery.mobile.js'
6
7
  javascript 'jquery.mobile.min.js'
7
8
  stylesheet 'jquery/mobile/_base.scss'
8
9
  stylesheet 'jquery/mobile/default.scss'
9
- image 'jquery/mobile/default/ajax-loader.gif'
10
10
  image 'jquery/mobile/default/ajax-loader.png'
11
11
  image 'jquery/mobile/default/form-check-off.png'
12
12
  image 'jquery/mobile/default/form-check-on.png'
@@ -25,7 +25,6 @@ image 'jquery/mobile/default/icons-18-white.png'
25
25
  image 'jquery/mobile/default/icons-36-black.png'
26
26
  image 'jquery/mobile/default/icons-36-white.png'
27
27
  stylesheet 'jquery/mobile/valencia.scss'
28
- image 'jquery/mobile/valencia/ajax-loader.gif'
29
28
  image 'jquery/mobile/valencia/ajax-loader.png'
30
29
  image 'jquery/mobile/valencia/form-check-off.png'
31
30
  image 'jquery/mobile/valencia/form-check-on.png'
@@ -45,3 +44,264 @@ image 'jquery/mobile/valencia/icons-36-black.png'
45
44
  image 'jquery/mobile/valencia/icons-36-white.png'
46
45
  image 'jquery/mobile/valencia/texture_05.png'
47
46
  image 'jquery/mobile/valencia/texture_075.png'
47
+ image 'glyphish/icons/01-refresh.png'
48
+ image 'glyphish/icons/02-redo.png'
49
+ image 'glyphish/icons/03-loopback.png'
50
+ image 'glyphish/icons/04-squiggle.png'
51
+ image 'glyphish/icons/05-shuffle.png'
52
+ image 'glyphish/icons/06-magnifying-glass.png'
53
+ image 'glyphish/icons/07-map-marker.png'
54
+ image 'glyphish/icons/08-chat.png'
55
+ image 'glyphish/icons/09-chat2.png'
56
+ image 'glyphish/icons/10-medical.png'
57
+ image 'glyphish/icons/100-coffee.png'
58
+ image 'glyphish/icons/101-gameplan.png'
59
+ image 'glyphish/icons/102-walk.png'
60
+ image 'glyphish/icons/103-map.png'
61
+ image 'glyphish/icons/104-index-cards.png'
62
+ image 'glyphish/icons/105-piano.png'
63
+ image 'glyphish/icons/106-sliders.png'
64
+ image 'glyphish/icons/107-widescreen.png'
65
+ image 'glyphish/icons/108-badge.png'
66
+ image 'glyphish/icons/109-chicken.png'
67
+ image 'glyphish/icons/11-clock.png'
68
+ image 'glyphish/icons/110-bug.png'
69
+ image 'glyphish/icons/111-user.png'
70
+ image 'glyphish/icons/112-group.png'
71
+ image 'glyphish/icons/113-navigation.png'
72
+ image 'glyphish/icons/114-balloon.png'
73
+ image 'glyphish/icons/115-bow-and-arrow.png'
74
+ image 'glyphish/icons/116-controller.png'
75
+ image 'glyphish/icons/117-todo.png'
76
+ image 'glyphish/icons/118-coathanger.png'
77
+ image 'glyphish/icons/119-piggybank.png'
78
+ image 'glyphish/icons/12-eye.png'
79
+ image 'glyphish/icons/120-headphones.png'
80
+ image 'glyphish/icons/121-lanscape.png'
81
+ image 'glyphish/icons/122-stats.png'
82
+ image 'glyphish/icons/123-id-card.png'
83
+ image 'glyphish/icons/124-bullhorn.png'
84
+ image 'glyphish/icons/125-food.png'
85
+ image 'glyphish/icons/126-moon.png'
86
+ image 'glyphish/icons/127-sock.png'
87
+ image 'glyphish/icons/128-bone.png'
88
+ image 'glyphish/icons/129-golf.png'
89
+ image 'glyphish/icons/13-target.png'
90
+ image 'glyphish/icons/130-dice.png'
91
+ image 'glyphish/icons/14-tag.png'
92
+ image 'glyphish/icons/15-tags.png'
93
+ image 'glyphish/icons/16-line-chart.png'
94
+ image 'glyphish/icons/17-bar-chart.png'
95
+ image 'glyphish/icons/18-envelope.png'
96
+ image 'glyphish/icons/19-gear.png'
97
+ image 'glyphish/icons/20-gear2.png'
98
+ image 'glyphish/icons/21-skull.png'
99
+ image 'glyphish/icons/22-skull-n-crossbones.png'
100
+ image 'glyphish/icons/23-bird.png'
101
+ image 'glyphish/icons/24-gift.png'
102
+ image 'glyphish/icons/25-weather.png'
103
+ image 'glyphish/icons/26-bandaid.png'
104
+ image 'glyphish/icons/27-planet.png'
105
+ image 'glyphish/icons/28-star.png'
106
+ image 'glyphish/icons/29-heart.png'
107
+ image 'glyphish/icons/30-key.png'
108
+ image 'glyphish/icons/31-ipod.png'
109
+ image 'glyphish/icons/32-iphone.png'
110
+ image 'glyphish/icons/33-cabinet.png'
111
+ image 'glyphish/icons/34-coffee.png'
112
+ image 'glyphish/icons/35-shopping-bag.png'
113
+ image 'glyphish/icons/36-toolbox.png'
114
+ image 'glyphish/icons/37-suitcase.png'
115
+ image 'glyphish/icons/38-airplane.png'
116
+ image 'glyphish/icons/39-spraycan.png'
117
+ image 'glyphish/icons/40-inbox.png'
118
+ image 'glyphish/icons/41-picture-frame.png'
119
+ image 'glyphish/icons/42-photos.png'
120
+ image 'glyphish/icons/43-film-roll.png'
121
+ image 'glyphish/icons/44-shoebox.png'
122
+ image 'glyphish/icons/45-movie1.png'
123
+ image 'glyphish/icons/46-movie2.png'
124
+ image 'glyphish/icons/47-fuel.png'
125
+ image 'glyphish/icons/48-fork-and-knife.png'
126
+ image 'glyphish/icons/49-battery.png'
127
+ image 'glyphish/icons/50-beaker.png'
128
+ image 'glyphish/icons/51-outlet.png'
129
+ image 'glyphish/icons/52-pinetree.png'
130
+ image 'glyphish/icons/53-house.png'
131
+ image 'glyphish/icons/54-lock.png'
132
+ image 'glyphish/icons/55-network.png'
133
+ image 'glyphish/icons/56-cloud.png'
134
+ image 'glyphish/icons/57-download.png'
135
+ image 'glyphish/icons/58-bookmark.png'
136
+ image 'glyphish/icons/59-flag.png'
137
+ image 'glyphish/icons/60-signpost.png'
138
+ image 'glyphish/icons/61-brightness.png'
139
+ image 'glyphish/icons/62-contrast.png'
140
+ image 'glyphish/icons/63-runner.png'
141
+ image 'glyphish/icons/64-zap.png'
142
+ image 'glyphish/icons/65-note.png'
143
+ image 'glyphish/icons/66-microphone.png'
144
+ image 'glyphish/icons/67-tshirt.png'
145
+ image 'glyphish/icons/68-paperclip.png'
146
+ image 'glyphish/icons/69-display.png'
147
+ image 'glyphish/icons/70-tv.png'
148
+ image 'glyphish/icons/71-compass.png'
149
+ image 'glyphish/icons/72-pin.png'
150
+ image 'glyphish/icons/73-radar.png'
151
+ image 'glyphish/icons/74-location.png'
152
+ image 'glyphish/icons/75-phone.png'
153
+ image 'glyphish/icons/76-baby.png'
154
+ image 'glyphish/icons/77-ekg.png'
155
+ image 'glyphish/icons/78-stopwatch.png'
156
+ image 'glyphish/icons/79-medical-bag.png'
157
+ image 'glyphish/icons/80-shopping-cart.png'
158
+ image 'glyphish/icons/81-dashboard.png'
159
+ image 'glyphish/icons/82-dogpaw.png'
160
+ image 'glyphish/icons/83-calendar.png'
161
+ image 'glyphish/icons/84-lightbulb.png'
162
+ image 'glyphish/icons/85-trophy.png'
163
+ image 'glyphish/icons/86-camera.png'
164
+ image 'glyphish/icons/87-wineglass.png'
165
+ image 'glyphish/icons/88-beermug.png'
166
+ image 'glyphish/icons/89-dumbbell.png'
167
+ image 'glyphish/icons/90-lifebuoy.png'
168
+ image 'glyphish/icons/91-beaker2.png'
169
+ image 'glyphish/icons/92-testtube.png'
170
+ image 'glyphish/icons/93-thermometer.png'
171
+ image 'glyphish/icons/94-pill.png'
172
+ image 'glyphish/icons/95-equalizer.png'
173
+ image 'glyphish/icons/96-book.png'
174
+ image 'glyphish/icons/97-puzzle.png'
175
+ image 'glyphish/icons/98-palette.png'
176
+ image 'glyphish/icons/99-umbrella.png'
177
+ image 'glyphish/mini-icons/01-refresh.png'
178
+ image 'glyphish/mini-icons/02-redo.png'
179
+ image 'glyphish/mini-icons/03-loopback.png'
180
+ image 'glyphish/mini-icons/04-squiggle.png'
181
+ image 'glyphish/mini-icons/05-shuffle.png'
182
+ image 'glyphish/mini-icons/06-magnifying-glass.png'
183
+ image 'glyphish/mini-icons/07-map-marker.png'
184
+ image 'glyphish/mini-icons/08-chat.png'
185
+ image 'glyphish/mini-icons/09-chat2.png'
186
+ image 'glyphish/mini-icons/10-medical.png'
187
+ image 'glyphish/mini-icons/100-coffee.png'
188
+ image 'glyphish/mini-icons/101-gameplan.png'
189
+ image 'glyphish/mini-icons/102-walk.png'
190
+ image 'glyphish/mini-icons/103-map.png'
191
+ image 'glyphish/mini-icons/104-index-cards.png'
192
+ image 'glyphish/mini-icons/105-piano.png'
193
+ image 'glyphish/mini-icons/106-sliders.png'
194
+ image 'glyphish/mini-icons/107-widescreen.png'
195
+ image 'glyphish/mini-icons/108-badge.png'
196
+ image 'glyphish/mini-icons/109-chicken.png'
197
+ image 'glyphish/mini-icons/11-clock.png'
198
+ image 'glyphish/mini-icons/110-bug.png'
199
+ image 'glyphish/mini-icons/111-user.png'
200
+ image 'glyphish/mini-icons/112-group.png'
201
+ image 'glyphish/mini-icons/113-navigation.png'
202
+ image 'glyphish/mini-icons/114-balloon.png'
203
+ image 'glyphish/mini-icons/115-bow-and-arrow.png'
204
+ image 'glyphish/mini-icons/116-controller.png'
205
+ image 'glyphish/mini-icons/117-todo.png'
206
+ image 'glyphish/mini-icons/118-coathanger.png'
207
+ image 'glyphish/mini-icons/119-piggybank.png'
208
+ image 'glyphish/mini-icons/12-eye.png'
209
+ image 'glyphish/mini-icons/120-headphones.png'
210
+ image 'glyphish/mini-icons/121-lanscape.png'
211
+ image 'glyphish/mini-icons/122-stats.png'
212
+ image 'glyphish/mini-icons/123-id-card.png'
213
+ image 'glyphish/mini-icons/124-bullhorn.png'
214
+ image 'glyphish/mini-icons/125-food.png'
215
+ image 'glyphish/mini-icons/126-moon.png'
216
+ image 'glyphish/mini-icons/127-sock.png'
217
+ image 'glyphish/mini-icons/128-bone.png'
218
+ image 'glyphish/mini-icons/129-golf.png'
219
+ image 'glyphish/mini-icons/13-target.png'
220
+ image 'glyphish/mini-icons/130-dice.png'
221
+ image 'glyphish/mini-icons/14-tag.png'
222
+ image 'glyphish/mini-icons/15-tags.png'
223
+ image 'glyphish/mini-icons/16-line-chart.png'
224
+ image 'glyphish/mini-icons/17-bar-chart.png'
225
+ image 'glyphish/mini-icons/18-envelope.png'
226
+ image 'glyphish/mini-icons/19-gear.png'
227
+ image 'glyphish/mini-icons/20-gear2.png'
228
+ image 'glyphish/mini-icons/21-skull.png'
229
+ image 'glyphish/mini-icons/22-skull-n-crossbones.png'
230
+ image 'glyphish/mini-icons/23-bird.png'
231
+ image 'glyphish/mini-icons/24-gift.png'
232
+ image 'glyphish/mini-icons/25-weather.png'
233
+ image 'glyphish/mini-icons/26-bandaid.png'
234
+ image 'glyphish/mini-icons/27-planet.png'
235
+ image 'glyphish/mini-icons/28-star.png'
236
+ image 'glyphish/mini-icons/29-heart.png'
237
+ image 'glyphish/mini-icons/30-key.png'
238
+ image 'glyphish/mini-icons/31-ipod.png'
239
+ image 'glyphish/mini-icons/32-iphone.png'
240
+ image 'glyphish/mini-icons/33-cabinet.png'
241
+ image 'glyphish/mini-icons/34-coffee.png'
242
+ image 'glyphish/mini-icons/35-shopping-bag.png'
243
+ image 'glyphish/mini-icons/36-toolbox.png'
244
+ image 'glyphish/mini-icons/37-suitcase.png'
245
+ image 'glyphish/mini-icons/38-airplane.png'
246
+ image 'glyphish/mini-icons/39-spraycan.png'
247
+ image 'glyphish/mini-icons/40-inbox.png'
248
+ image 'glyphish/mini-icons/41-picture-frame.png'
249
+ image 'glyphish/mini-icons/42-photos.png'
250
+ image 'glyphish/mini-icons/43-film-roll.png'
251
+ image 'glyphish/mini-icons/44-shoebox.png'
252
+ image 'glyphish/mini-icons/45-movie1.png'
253
+ image 'glyphish/mini-icons/46-movie2.png'
254
+ image 'glyphish/mini-icons/47-fuel.png'
255
+ image 'glyphish/mini-icons/48-fork-and-knife.png'
256
+ image 'glyphish/mini-icons/49-battery.png'
257
+ image 'glyphish/mini-icons/50-beaker.png'
258
+ image 'glyphish/mini-icons/51-outlet.png'
259
+ image 'glyphish/mini-icons/52-pinetree.png'
260
+ image 'glyphish/mini-icons/53-house.png'
261
+ image 'glyphish/mini-icons/54-lock.png'
262
+ image 'glyphish/mini-icons/55-network.png'
263
+ image 'glyphish/mini-icons/56-cloud.png'
264
+ image 'glyphish/mini-icons/57-download.png'
265
+ image 'glyphish/mini-icons/58-bookmark.png'
266
+ image 'glyphish/mini-icons/59-flag.png'
267
+ image 'glyphish/mini-icons/60-signpost.png'
268
+ image 'glyphish/mini-icons/61-brightness.png'
269
+ image 'glyphish/mini-icons/62-contrast.png'
270
+ image 'glyphish/mini-icons/63-runner.png'
271
+ image 'glyphish/mini-icons/64-zap.png'
272
+ image 'glyphish/mini-icons/65-note.png'
273
+ image 'glyphish/mini-icons/66-microphone.png'
274
+ image 'glyphish/mini-icons/67-tshirt.png'
275
+ image 'glyphish/mini-icons/68-paperclip.png'
276
+ image 'glyphish/mini-icons/69-display.png'
277
+ image 'glyphish/mini-icons/70-tv.png'
278
+ image 'glyphish/mini-icons/71-compass.png'
279
+ image 'glyphish/mini-icons/72-pin.png'
280
+ image 'glyphish/mini-icons/73-radar.png'
281
+ image 'glyphish/mini-icons/74-location.png'
282
+ image 'glyphish/mini-icons/75-phone.png'
283
+ image 'glyphish/mini-icons/76-baby.png'
284
+ image 'glyphish/mini-icons/77-ekg.png'
285
+ image 'glyphish/mini-icons/78-stopwatch.png'
286
+ image 'glyphish/mini-icons/79-medical-bag.png'
287
+ image 'glyphish/mini-icons/80-shopping-cart.png'
288
+ image 'glyphish/mini-icons/81-dashboard.png'
289
+ image 'glyphish/mini-icons/82-dogpaw.png'
290
+ image 'glyphish/mini-icons/83-calendar.png'
291
+ image 'glyphish/mini-icons/84-lightbulb.png'
292
+ image 'glyphish/mini-icons/85-trophy.png'
293
+ image 'glyphish/mini-icons/86-camera.png'
294
+ image 'glyphish/mini-icons/87-wineglass.png'
295
+ image 'glyphish/mini-icons/88-beermug.png'
296
+ image 'glyphish/mini-icons/89-dumbbell.png'
297
+ image 'glyphish/mini-icons/90-lifebuoy.png'
298
+ image 'glyphish/mini-icons/91-beaker2.png'
299
+ image 'glyphish/mini-icons/92-testtube.png'
300
+ image 'glyphish/mini-icons/93-thermometer.png'
301
+ image 'glyphish/mini-icons/94-pill.png'
302
+ image 'glyphish/mini-icons/95-equalizer.png'
303
+ image 'glyphish/mini-icons/96-book.png'
304
+ image 'glyphish/mini-icons/97-puzzle.png'
305
+ image 'glyphish/mini-icons/98-palette.png'
306
+ image 'glyphish/mini-icons/99-umbrella.png'
307
+ image 'glyphish/Read me first - license.txt'