compass-jquery-plugin 0.3.0.beta.26 → 0.3.0.rc.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (415) hide show
  1. data/README.textile +1 -52
  2. data/VERSION.yml +1 -1
  3. data/compass-jquery-plugin.gemspec +6 -407
  4. data/gem_tasks/jrails.rake +84 -85
  5. data/gem_tasks/rubygems.rake +9 -1
  6. data/templates/jqtouch/config/initializers/jqtouch.rb +1 -1
  7. data/templates/jrails/config/initializers/jrails.rb +3 -3
  8. data/templates/jrails/{jquery-ui-1.8.6.js → jquery-ui.js} +0 -0
  9. data/templates/jrails/{jquery-ui-1.8.6.min.js → jquery-ui.min.js} +0 -0
  10. data/templates/jrails/{jquery-1.4.4.js → jquery.js} +360 -284
  11. data/templates/jrails/jquery.min.js +151 -0
  12. data/templates/jrails/manifest.rb +4 -4
  13. metadata +9 -410
  14. data/gem_tasks/jqgrid.rake +0 -119
  15. data/gem_tasks/mobile.rake +0 -144
  16. data/gem_tasks/secret_sauce.rake +0 -64
  17. data/lib/jquery/gridify/assertions.rb +0 -37
  18. data/lib/jquery/gridify/grid.rb +0 -147
  19. data/lib/jquery/gridify/grid_column.rb +0 -134
  20. data/lib/jquery/gridify/grid_finder.rb +0 -223
  21. data/lib/jquery/gridify/grid_options.rb +0 -279
  22. data/lib/jquery/gridify/grid_view.rb +0 -435
  23. data/lib/jquery/gridify.rb +0 -42
  24. data/lib/jquery/jqgrid/jqgrid.rb +0 -438
  25. data/lib/jquery/jqgrid.rb +0 -5
  26. data/lib/jquery/mobile.rb +0 -3
  27. data/lib/jquery/secret_sauce/controller/ui_dialog_controls.rb +0 -14
  28. data/lib/jquery/secret_sauce/controller/ui_grid_controls.rb +0 -18
  29. data/lib/jquery/secret_sauce/helpers/ui_dialog_helper.rb +0 -6
  30. data/lib/jquery/secret_sauce/helpers/ui_form_helper.rb +0 -118
  31. data/lib/jquery/secret_sauce/helpers/ui_grid_helper.rb +0 -226
  32. data/lib/jquery/secret_sauce/model/find_for_grid.rb +0 -42
  33. data/lib/jquery/secret_sauce.rb +0 -9
  34. data/templates/jqgrid/config/initializers/jqgrid.rb +0 -4
  35. data/templates/jqgrid/config/locales/jquery/jqgrid/de.yml +0 -7
  36. data/templates/jqgrid/config/locales/jquery/jqgrid/en.yml +0 -7
  37. data/templates/jqgrid/i18n/jqgrid/locale-bg.js +0 -132
  38. data/templates/jqgrid/i18n/jqgrid/locale-bg.min.js +0 -6
  39. data/templates/jqgrid/i18n/jqgrid/locale-bg1251.js +0 -132
  40. data/templates/jqgrid/i18n/jqgrid/locale-bg1251.min.js +0 -6
  41. data/templates/jqgrid/i18n/jqgrid/locale-cat.js +0 -128
  42. data/templates/jqgrid/i18n/jqgrid/locale-cat.min.js +0 -6
  43. data/templates/jqgrid/i18n/jqgrid/locale-cn.js +0 -132
  44. data/templates/jqgrid/i18n/jqgrid/locale-cn.min.js +0 -5
  45. data/templates/jqgrid/i18n/jqgrid/locale-cs.js +0 -128
  46. data/templates/jqgrid/i18n/jqgrid/locale-cs.min.js +0 -6
  47. data/templates/jqgrid/i18n/jqgrid/locale-da.js +0 -128
  48. data/templates/jqgrid/i18n/jqgrid/locale-da.min.js +0 -6
  49. data/templates/jqgrid/i18n/jqgrid/locale-de.js +0 -133
  50. data/templates/jqgrid/i18n/jqgrid/locale-de.min.js +0 -7
  51. data/templates/jqgrid/i18n/jqgrid/locale-el.js +0 -126
  52. data/templates/jqgrid/i18n/jqgrid/locale-el.min.js +0 -7
  53. data/templates/jqgrid/i18n/jqgrid/locale-en.js +0 -128
  54. data/templates/jqgrid/i18n/jqgrid/locale-en.min.js +0 -6
  55. data/templates/jqgrid/i18n/jqgrid/locale-es.js +0 -128
  56. data/templates/jqgrid/i18n/jqgrid/locale-es.min.js +0 -7
  57. data/templates/jqgrid/i18n/jqgrid/locale-fa.js +0 -125
  58. data/templates/jqgrid/i18n/jqgrid/locale-fa.min.js +0 -6
  59. data/templates/jqgrid/i18n/jqgrid/locale-fi.js +0 -130
  60. data/templates/jqgrid/i18n/jqgrid/locale-fi.min.js +0 -6
  61. data/templates/jqgrid/i18n/jqgrid/locale-fr.js +0 -126
  62. data/templates/jqgrid/i18n/jqgrid/locale-fr.min.js +0 -7
  63. data/templates/jqgrid/i18n/jqgrid/locale-gl.js +0 -126
  64. data/templates/jqgrid/i18n/jqgrid/locale-gl.min.js +0 -7
  65. data/templates/jqgrid/i18n/jqgrid/locale-he.js +0 -127
  66. data/templates/jqgrid/i18n/jqgrid/locale-he.min.js +0 -6
  67. data/templates/jqgrid/i18n/jqgrid/locale-hu.js +0 -129
  68. data/templates/jqgrid/i18n/jqgrid/locale-hu.min.js +0 -6
  69. data/templates/jqgrid/i18n/jqgrid/locale-is.js +0 -126
  70. data/templates/jqgrid/i18n/jqgrid/locale-is.min.js +0 -6
  71. data/templates/jqgrid/i18n/jqgrid/locale-it.js +0 -1
  72. data/templates/jqgrid/i18n/jqgrid/locale-it.min.js +0 -7
  73. data/templates/jqgrid/i18n/jqgrid/locale-ja.js +0 -155
  74. data/templates/jqgrid/i18n/jqgrid/locale-ja.min.js +0 -5
  75. data/templates/jqgrid/i18n/jqgrid/locale-nl.js +0 -149
  76. data/templates/jqgrid/i18n/jqgrid/locale-nl.min.js +0 -6
  77. data/templates/jqgrid/i18n/jqgrid/locale-no.js +0 -1
  78. data/templates/jqgrid/i18n/jqgrid/locale-no.min.js +0 -6
  79. data/templates/jqgrid/i18n/jqgrid/locale-pl.js +0 -127
  80. data/templates/jqgrid/i18n/jqgrid/locale-pl.min.js +0 -6
  81. data/templates/jqgrid/i18n/jqgrid/locale-pt-br.js +0 -127
  82. data/templates/jqgrid/i18n/jqgrid/locale-pt-br.min.js +0 -6
  83. data/templates/jqgrid/i18n/jqgrid/locale-pt.js +0 -125
  84. data/templates/jqgrid/i18n/jqgrid/locale-pt.min.js +0 -6
  85. data/templates/jqgrid/i18n/jqgrid/locale-ro.js +0 -139
  86. data/templates/jqgrid/i18n/jqgrid/locale-ro.min.js +0 -7
  87. data/templates/jqgrid/i18n/jqgrid/locale-ru.js +0 -127
  88. data/templates/jqgrid/i18n/jqgrid/locale-ru.min.js +0 -7
  89. data/templates/jqgrid/i18n/jqgrid/locale-sk.js +0 -127
  90. data/templates/jqgrid/i18n/jqgrid/locale-sk.min.js +0 -6
  91. data/templates/jqgrid/i18n/jqgrid/locale-sv.js +0 -127
  92. data/templates/jqgrid/i18n/jqgrid/locale-sv.min.js +0 -6
  93. data/templates/jqgrid/i18n/jqgrid/locale-tr.js +0 -126
  94. data/templates/jqgrid/i18n/jqgrid/locale-tr.min.js +0 -6
  95. data/templates/jqgrid/i18n/jqgrid/locale-ua.js +0 -127
  96. data/templates/jqgrid/i18n/jqgrid/locale-ua.min.js +0 -7
  97. data/templates/jqgrid/jquery/jqGrid.scss +0 -692
  98. data/templates/jqgrid/jquery.jqGrid.js +0 -11576
  99. data/templates/jqgrid/jquery.jqGrid.min.js +0 -472
  100. data/templates/jqgrid/manifest.rb +0 -70
  101. data/templates/jqgrid/public/stylesheets/ellipsis-xbl.xml +0 -13
  102. data/templates/jrails/jquery-1.4.4.min.js +0 -152
  103. data/templates/mobile/config/initializers/mobile.rb +0 -6
  104. data/templates/mobile/glyphish/Read me first - license.txt +0 -14
  105. data/templates/mobile/glyphish/icons/01-refresh.png +0 -0
  106. data/templates/mobile/glyphish/icons/02-redo.png +0 -0
  107. data/templates/mobile/glyphish/icons/03-loopback.png +0 -0
  108. data/templates/mobile/glyphish/icons/04-squiggle.png +0 -0
  109. data/templates/mobile/glyphish/icons/05-shuffle.png +0 -0
  110. data/templates/mobile/glyphish/icons/06-magnifying-glass.png +0 -0
  111. data/templates/mobile/glyphish/icons/07-map-marker.png +0 -0
  112. data/templates/mobile/glyphish/icons/08-chat.png +0 -0
  113. data/templates/mobile/glyphish/icons/09-chat2.png +0 -0
  114. data/templates/mobile/glyphish/icons/10-medical.png +0 -0
  115. data/templates/mobile/glyphish/icons/100-coffee.png +0 -0
  116. data/templates/mobile/glyphish/icons/101-gameplan.png +0 -0
  117. data/templates/mobile/glyphish/icons/102-walk.png +0 -0
  118. data/templates/mobile/glyphish/icons/103-map.png +0 -0
  119. data/templates/mobile/glyphish/icons/104-index-cards.png +0 -0
  120. data/templates/mobile/glyphish/icons/105-piano.png +0 -0
  121. data/templates/mobile/glyphish/icons/106-sliders.png +0 -0
  122. data/templates/mobile/glyphish/icons/107-widescreen.png +0 -0
  123. data/templates/mobile/glyphish/icons/108-badge.png +0 -0
  124. data/templates/mobile/glyphish/icons/109-chicken.png +0 -0
  125. data/templates/mobile/glyphish/icons/11-clock.png +0 -0
  126. data/templates/mobile/glyphish/icons/110-bug.png +0 -0
  127. data/templates/mobile/glyphish/icons/111-user.png +0 -0
  128. data/templates/mobile/glyphish/icons/112-group.png +0 -0
  129. data/templates/mobile/glyphish/icons/113-navigation.png +0 -0
  130. data/templates/mobile/glyphish/icons/114-balloon.png +0 -0
  131. data/templates/mobile/glyphish/icons/115-bow-and-arrow.png +0 -0
  132. data/templates/mobile/glyphish/icons/116-controller.png +0 -0
  133. data/templates/mobile/glyphish/icons/117-todo.png +0 -0
  134. data/templates/mobile/glyphish/icons/118-coathanger.png +0 -0
  135. data/templates/mobile/glyphish/icons/119-piggybank.png +0 -0
  136. data/templates/mobile/glyphish/icons/12-eye.png +0 -0
  137. data/templates/mobile/glyphish/icons/120-headphones.png +0 -0
  138. data/templates/mobile/glyphish/icons/121-lanscape.png +0 -0
  139. data/templates/mobile/glyphish/icons/122-stats.png +0 -0
  140. data/templates/mobile/glyphish/icons/123-id-card.png +0 -0
  141. data/templates/mobile/glyphish/icons/124-bullhorn.png +0 -0
  142. data/templates/mobile/glyphish/icons/125-food.png +0 -0
  143. data/templates/mobile/glyphish/icons/126-moon.png +0 -0
  144. data/templates/mobile/glyphish/icons/127-sock.png +0 -0
  145. data/templates/mobile/glyphish/icons/128-bone.png +0 -0
  146. data/templates/mobile/glyphish/icons/129-golf.png +0 -0
  147. data/templates/mobile/glyphish/icons/13-target.png +0 -0
  148. data/templates/mobile/glyphish/icons/130-dice.png +0 -0
  149. data/templates/mobile/glyphish/icons/14-tag.png +0 -0
  150. data/templates/mobile/glyphish/icons/15-tags.png +0 -0
  151. data/templates/mobile/glyphish/icons/16-line-chart.png +0 -0
  152. data/templates/mobile/glyphish/icons/17-bar-chart.png +0 -0
  153. data/templates/mobile/glyphish/icons/18-envelope.png +0 -0
  154. data/templates/mobile/glyphish/icons/19-gear.png +0 -0
  155. data/templates/mobile/glyphish/icons/20-gear2.png +0 -0
  156. data/templates/mobile/glyphish/icons/21-skull.png +0 -0
  157. data/templates/mobile/glyphish/icons/22-skull-n-crossbones.png +0 -0
  158. data/templates/mobile/glyphish/icons/23-bird.png +0 -0
  159. data/templates/mobile/glyphish/icons/24-gift.png +0 -0
  160. data/templates/mobile/glyphish/icons/25-weather.png +0 -0
  161. data/templates/mobile/glyphish/icons/26-bandaid.png +0 -0
  162. data/templates/mobile/glyphish/icons/27-planet.png +0 -0
  163. data/templates/mobile/glyphish/icons/28-star.png +0 -0
  164. data/templates/mobile/glyphish/icons/29-heart.png +0 -0
  165. data/templates/mobile/glyphish/icons/30-key.png +0 -0
  166. data/templates/mobile/glyphish/icons/31-ipod.png +0 -0
  167. data/templates/mobile/glyphish/icons/32-iphone.png +0 -0
  168. data/templates/mobile/glyphish/icons/33-cabinet.png +0 -0
  169. data/templates/mobile/glyphish/icons/34-coffee.png +0 -0
  170. data/templates/mobile/glyphish/icons/35-shopping-bag.png +0 -0
  171. data/templates/mobile/glyphish/icons/36-toolbox.png +0 -0
  172. data/templates/mobile/glyphish/icons/37-suitcase.png +0 -0
  173. data/templates/mobile/glyphish/icons/38-airplane.png +0 -0
  174. data/templates/mobile/glyphish/icons/39-spraycan.png +0 -0
  175. data/templates/mobile/glyphish/icons/40-inbox.png +0 -0
  176. data/templates/mobile/glyphish/icons/41-picture-frame.png +0 -0
  177. data/templates/mobile/glyphish/icons/42-photos.png +0 -0
  178. data/templates/mobile/glyphish/icons/43-film-roll.png +0 -0
  179. data/templates/mobile/glyphish/icons/44-shoebox.png +0 -0
  180. data/templates/mobile/glyphish/icons/45-movie1.png +0 -0
  181. data/templates/mobile/glyphish/icons/46-movie2.png +0 -0
  182. data/templates/mobile/glyphish/icons/47-fuel.png +0 -0
  183. data/templates/mobile/glyphish/icons/48-fork-and-knife.png +0 -0
  184. data/templates/mobile/glyphish/icons/49-battery.png +0 -0
  185. data/templates/mobile/glyphish/icons/50-beaker.png +0 -0
  186. data/templates/mobile/glyphish/icons/51-outlet.png +0 -0
  187. data/templates/mobile/glyphish/icons/52-pinetree.png +0 -0
  188. data/templates/mobile/glyphish/icons/53-house.png +0 -0
  189. data/templates/mobile/glyphish/icons/54-lock.png +0 -0
  190. data/templates/mobile/glyphish/icons/55-network.png +0 -0
  191. data/templates/mobile/glyphish/icons/56-cloud.png +0 -0
  192. data/templates/mobile/glyphish/icons/57-download.png +0 -0
  193. data/templates/mobile/glyphish/icons/58-bookmark.png +0 -0
  194. data/templates/mobile/glyphish/icons/59-flag.png +0 -0
  195. data/templates/mobile/glyphish/icons/60-signpost.png +0 -0
  196. data/templates/mobile/glyphish/icons/61-brightness.png +0 -0
  197. data/templates/mobile/glyphish/icons/62-contrast.png +0 -0
  198. data/templates/mobile/glyphish/icons/63-runner.png +0 -0
  199. data/templates/mobile/glyphish/icons/64-zap.png +0 -0
  200. data/templates/mobile/glyphish/icons/65-note.png +0 -0
  201. data/templates/mobile/glyphish/icons/66-microphone.png +0 -0
  202. data/templates/mobile/glyphish/icons/67-tshirt.png +0 -0
  203. data/templates/mobile/glyphish/icons/68-paperclip.png +0 -0
  204. data/templates/mobile/glyphish/icons/69-display.png +0 -0
  205. data/templates/mobile/glyphish/icons/70-tv.png +0 -0
  206. data/templates/mobile/glyphish/icons/71-compass.png +0 -0
  207. data/templates/mobile/glyphish/icons/72-pin.png +0 -0
  208. data/templates/mobile/glyphish/icons/73-radar.png +0 -0
  209. data/templates/mobile/glyphish/icons/74-location.png +0 -0
  210. data/templates/mobile/glyphish/icons/75-phone.png +0 -0
  211. data/templates/mobile/glyphish/icons/76-baby.png +0 -0
  212. data/templates/mobile/glyphish/icons/77-ekg.png +0 -0
  213. data/templates/mobile/glyphish/icons/78-stopwatch.png +0 -0
  214. data/templates/mobile/glyphish/icons/79-medical-bag.png +0 -0
  215. data/templates/mobile/glyphish/icons/80-shopping-cart.png +0 -0
  216. data/templates/mobile/glyphish/icons/81-dashboard.png +0 -0
  217. data/templates/mobile/glyphish/icons/82-dogpaw.png +0 -0
  218. data/templates/mobile/glyphish/icons/83-calendar.png +0 -0
  219. data/templates/mobile/glyphish/icons/84-lightbulb.png +0 -0
  220. data/templates/mobile/glyphish/icons/85-trophy.png +0 -0
  221. data/templates/mobile/glyphish/icons/86-camera.png +0 -0
  222. data/templates/mobile/glyphish/icons/87-wineglass.png +0 -0
  223. data/templates/mobile/glyphish/icons/88-beermug.png +0 -0
  224. data/templates/mobile/glyphish/icons/89-dumbbell.png +0 -0
  225. data/templates/mobile/glyphish/icons/90-lifebuoy.png +0 -0
  226. data/templates/mobile/glyphish/icons/91-beaker2.png +0 -0
  227. data/templates/mobile/glyphish/icons/92-testtube.png +0 -0
  228. data/templates/mobile/glyphish/icons/93-thermometer.png +0 -0
  229. data/templates/mobile/glyphish/icons/94-pill.png +0 -0
  230. data/templates/mobile/glyphish/icons/95-equalizer.png +0 -0
  231. data/templates/mobile/glyphish/icons/96-book.png +0 -0
  232. data/templates/mobile/glyphish/icons/97-puzzle.png +0 -0
  233. data/templates/mobile/glyphish/icons/98-palette.png +0 -0
  234. data/templates/mobile/glyphish/icons/99-umbrella.png +0 -0
  235. data/templates/mobile/glyphish/mini-icons/01-refresh.png +0 -0
  236. data/templates/mobile/glyphish/mini-icons/02-redo.png +0 -0
  237. data/templates/mobile/glyphish/mini-icons/03-loopback.png +0 -0
  238. data/templates/mobile/glyphish/mini-icons/04-squiggle.png +0 -0
  239. data/templates/mobile/glyphish/mini-icons/05-shuffle.png +0 -0
  240. data/templates/mobile/glyphish/mini-icons/06-magnifying-glass.png +0 -0
  241. data/templates/mobile/glyphish/mini-icons/07-map-marker.png +0 -0
  242. data/templates/mobile/glyphish/mini-icons/08-chat.png +0 -0
  243. data/templates/mobile/glyphish/mini-icons/09-chat2.png +0 -0
  244. data/templates/mobile/glyphish/mini-icons/10-medical.png +0 -0
  245. data/templates/mobile/glyphish/mini-icons/100-coffee.png +0 -0
  246. data/templates/mobile/glyphish/mini-icons/101-gameplan.png +0 -0
  247. data/templates/mobile/glyphish/mini-icons/102-walk.png +0 -0
  248. data/templates/mobile/glyphish/mini-icons/103-map.png +0 -0
  249. data/templates/mobile/glyphish/mini-icons/104-index-cards.png +0 -0
  250. data/templates/mobile/glyphish/mini-icons/105-piano.png +0 -0
  251. data/templates/mobile/glyphish/mini-icons/106-sliders.png +0 -0
  252. data/templates/mobile/glyphish/mini-icons/107-widescreen.png +0 -0
  253. data/templates/mobile/glyphish/mini-icons/108-badge.png +0 -0
  254. data/templates/mobile/glyphish/mini-icons/109-chicken.png +0 -0
  255. data/templates/mobile/glyphish/mini-icons/11-clock.png +0 -0
  256. data/templates/mobile/glyphish/mini-icons/110-bug.png +0 -0
  257. data/templates/mobile/glyphish/mini-icons/111-user.png +0 -0
  258. data/templates/mobile/glyphish/mini-icons/112-group.png +0 -0
  259. data/templates/mobile/glyphish/mini-icons/113-navigation.png +0 -0
  260. data/templates/mobile/glyphish/mini-icons/114-balloon.png +0 -0
  261. data/templates/mobile/glyphish/mini-icons/115-bow-and-arrow.png +0 -0
  262. data/templates/mobile/glyphish/mini-icons/116-controller.png +0 -0
  263. data/templates/mobile/glyphish/mini-icons/117-todo.png +0 -0
  264. data/templates/mobile/glyphish/mini-icons/118-coathanger.png +0 -0
  265. data/templates/mobile/glyphish/mini-icons/119-piggybank.png +0 -0
  266. data/templates/mobile/glyphish/mini-icons/12-eye.png +0 -0
  267. data/templates/mobile/glyphish/mini-icons/120-headphones.png +0 -0
  268. data/templates/mobile/glyphish/mini-icons/121-lanscape.png +0 -0
  269. data/templates/mobile/glyphish/mini-icons/122-stats.png +0 -0
  270. data/templates/mobile/glyphish/mini-icons/123-id-card.png +0 -0
  271. data/templates/mobile/glyphish/mini-icons/124-bullhorn.png +0 -0
  272. data/templates/mobile/glyphish/mini-icons/125-food.png +0 -0
  273. data/templates/mobile/glyphish/mini-icons/126-moon.png +0 -0
  274. data/templates/mobile/glyphish/mini-icons/127-sock.png +0 -0
  275. data/templates/mobile/glyphish/mini-icons/128-bone.png +0 -0
  276. data/templates/mobile/glyphish/mini-icons/129-golf.png +0 -0
  277. data/templates/mobile/glyphish/mini-icons/13-target.png +0 -0
  278. data/templates/mobile/glyphish/mini-icons/130-dice.png +0 -0
  279. data/templates/mobile/glyphish/mini-icons/14-tag.png +0 -0
  280. data/templates/mobile/glyphish/mini-icons/15-tags.png +0 -0
  281. data/templates/mobile/glyphish/mini-icons/16-line-chart.png +0 -0
  282. data/templates/mobile/glyphish/mini-icons/17-bar-chart.png +0 -0
  283. data/templates/mobile/glyphish/mini-icons/18-envelope.png +0 -0
  284. data/templates/mobile/glyphish/mini-icons/19-gear.png +0 -0
  285. data/templates/mobile/glyphish/mini-icons/20-gear2.png +0 -0
  286. data/templates/mobile/glyphish/mini-icons/21-skull.png +0 -0
  287. data/templates/mobile/glyphish/mini-icons/22-skull-n-crossbones.png +0 -0
  288. data/templates/mobile/glyphish/mini-icons/23-bird.png +0 -0
  289. data/templates/mobile/glyphish/mini-icons/24-gift.png +0 -0
  290. data/templates/mobile/glyphish/mini-icons/25-weather.png +0 -0
  291. data/templates/mobile/glyphish/mini-icons/26-bandaid.png +0 -0
  292. data/templates/mobile/glyphish/mini-icons/27-planet.png +0 -0
  293. data/templates/mobile/glyphish/mini-icons/28-star.png +0 -0
  294. data/templates/mobile/glyphish/mini-icons/29-heart.png +0 -0
  295. data/templates/mobile/glyphish/mini-icons/30-key.png +0 -0
  296. data/templates/mobile/glyphish/mini-icons/31-ipod.png +0 -0
  297. data/templates/mobile/glyphish/mini-icons/32-iphone.png +0 -0
  298. data/templates/mobile/glyphish/mini-icons/33-cabinet.png +0 -0
  299. data/templates/mobile/glyphish/mini-icons/34-coffee.png +0 -0
  300. data/templates/mobile/glyphish/mini-icons/35-shopping-bag.png +0 -0
  301. data/templates/mobile/glyphish/mini-icons/36-toolbox.png +0 -0
  302. data/templates/mobile/glyphish/mini-icons/37-suitcase.png +0 -0
  303. data/templates/mobile/glyphish/mini-icons/38-airplane.png +0 -0
  304. data/templates/mobile/glyphish/mini-icons/39-spraycan.png +0 -0
  305. data/templates/mobile/glyphish/mini-icons/40-inbox.png +0 -0
  306. data/templates/mobile/glyphish/mini-icons/41-picture-frame.png +0 -0
  307. data/templates/mobile/glyphish/mini-icons/42-photos.png +0 -0
  308. data/templates/mobile/glyphish/mini-icons/43-film-roll.png +0 -0
  309. data/templates/mobile/glyphish/mini-icons/44-shoebox.png +0 -0
  310. data/templates/mobile/glyphish/mini-icons/45-movie1.png +0 -0
  311. data/templates/mobile/glyphish/mini-icons/46-movie2.png +0 -0
  312. data/templates/mobile/glyphish/mini-icons/47-fuel.png +0 -0
  313. data/templates/mobile/glyphish/mini-icons/48-fork-and-knife.png +0 -0
  314. data/templates/mobile/glyphish/mini-icons/49-battery.png +0 -0
  315. data/templates/mobile/glyphish/mini-icons/50-beaker.png +0 -0
  316. data/templates/mobile/glyphish/mini-icons/51-outlet.png +0 -0
  317. data/templates/mobile/glyphish/mini-icons/52-pinetree.png +0 -0
  318. data/templates/mobile/glyphish/mini-icons/53-house.png +0 -0
  319. data/templates/mobile/glyphish/mini-icons/54-lock.png +0 -0
  320. data/templates/mobile/glyphish/mini-icons/55-network.png +0 -0
  321. data/templates/mobile/glyphish/mini-icons/56-cloud.png +0 -0
  322. data/templates/mobile/glyphish/mini-icons/57-download.png +0 -0
  323. data/templates/mobile/glyphish/mini-icons/58-bookmark.png +0 -0
  324. data/templates/mobile/glyphish/mini-icons/59-flag.png +0 -0
  325. data/templates/mobile/glyphish/mini-icons/60-signpost.png +0 -0
  326. data/templates/mobile/glyphish/mini-icons/61-brightness.png +0 -0
  327. data/templates/mobile/glyphish/mini-icons/62-contrast.png +0 -0
  328. data/templates/mobile/glyphish/mini-icons/63-runner.png +0 -0
  329. data/templates/mobile/glyphish/mini-icons/64-zap.png +0 -0
  330. data/templates/mobile/glyphish/mini-icons/65-note.png +0 -0
  331. data/templates/mobile/glyphish/mini-icons/66-microphone.png +0 -0
  332. data/templates/mobile/glyphish/mini-icons/67-tshirt.png +0 -0
  333. data/templates/mobile/glyphish/mini-icons/68-paperclip.png +0 -0
  334. data/templates/mobile/glyphish/mini-icons/69-display.png +0 -0
  335. data/templates/mobile/glyphish/mini-icons/70-tv.png +0 -0
  336. data/templates/mobile/glyphish/mini-icons/71-compass.png +0 -0
  337. data/templates/mobile/glyphish/mini-icons/72-pin.png +0 -0
  338. data/templates/mobile/glyphish/mini-icons/73-radar.png +0 -0
  339. data/templates/mobile/glyphish/mini-icons/74-location.png +0 -0
  340. data/templates/mobile/glyphish/mini-icons/75-phone.png +0 -0
  341. data/templates/mobile/glyphish/mini-icons/76-baby.png +0 -0
  342. data/templates/mobile/glyphish/mini-icons/77-ekg.png +0 -0
  343. data/templates/mobile/glyphish/mini-icons/78-stopwatch.png +0 -0
  344. data/templates/mobile/glyphish/mini-icons/79-medical-bag.png +0 -0
  345. data/templates/mobile/glyphish/mini-icons/80-shopping-cart.png +0 -0
  346. data/templates/mobile/glyphish/mini-icons/81-dashboard.png +0 -0
  347. data/templates/mobile/glyphish/mini-icons/82-dogpaw.png +0 -0
  348. data/templates/mobile/glyphish/mini-icons/83-calendar.png +0 -0
  349. data/templates/mobile/glyphish/mini-icons/84-lightbulb.png +0 -0
  350. data/templates/mobile/glyphish/mini-icons/85-trophy.png +0 -0
  351. data/templates/mobile/glyphish/mini-icons/86-camera.png +0 -0
  352. data/templates/mobile/glyphish/mini-icons/87-wineglass.png +0 -0
  353. data/templates/mobile/glyphish/mini-icons/88-beermug.png +0 -0
  354. data/templates/mobile/glyphish/mini-icons/89-dumbbell.png +0 -0
  355. data/templates/mobile/glyphish/mini-icons/90-lifebuoy.png +0 -0
  356. data/templates/mobile/glyphish/mini-icons/91-beaker2.png +0 -0
  357. data/templates/mobile/glyphish/mini-icons/92-testtube.png +0 -0
  358. data/templates/mobile/glyphish/mini-icons/93-thermometer.png +0 -0
  359. data/templates/mobile/glyphish/mini-icons/94-pill.png +0 -0
  360. data/templates/mobile/glyphish/mini-icons/95-equalizer.png +0 -0
  361. data/templates/mobile/glyphish/mini-icons/96-book.png +0 -0
  362. data/templates/mobile/glyphish/mini-icons/97-puzzle.png +0 -0
  363. data/templates/mobile/glyphish/mini-icons/98-palette.png +0 -0
  364. data/templates/mobile/glyphish/mini-icons/99-umbrella.png +0 -0
  365. data/templates/mobile/jquery/mobile/_base.scss +0 -1325
  366. data/templates/mobile/jquery/mobile/default/ajax-loader.png +0 -0
  367. data/templates/mobile/jquery/mobile/default/form-check-off.png +0 -0
  368. data/templates/mobile/jquery/mobile/default/form-check-on.png +0 -0
  369. data/templates/mobile/jquery/mobile/default/form-radio-off.png +0 -0
  370. data/templates/mobile/jquery/mobile/default/form-radio-on.png +0 -0
  371. data/templates/mobile/jquery/mobile/default/icon-arrow-white-down.png +0 -0
  372. data/templates/mobile/jquery/mobile/default/icon-arrow-white-left.png +0 -0
  373. data/templates/mobile/jquery/mobile/default/icon-arrow-white-right.png +0 -0
  374. data/templates/mobile/jquery/mobile/default/icon-arrow-white-up.png +0 -0
  375. data/templates/mobile/jquery/mobile/default/icon-delete.png +0 -0
  376. data/templates/mobile/jquery/mobile/default/icon-minus-white.png +0 -0
  377. data/templates/mobile/jquery/mobile/default/icon-plus-white.png +0 -0
  378. data/templates/mobile/jquery/mobile/default/icon-search-black.png +0 -0
  379. data/templates/mobile/jquery/mobile/default/icons-18-black.png +0 -0
  380. data/templates/mobile/jquery/mobile/default/icons-18-white.png +0 -0
  381. data/templates/mobile/jquery/mobile/default/icons-36-black.png +0 -0
  382. data/templates/mobile/jquery/mobile/default/icons-36-white.png +0 -0
  383. data/templates/mobile/jquery/mobile/default.scss +0 -742
  384. data/templates/mobile/jquery/mobile/valencia/ajax-loader.png +0 -0
  385. data/templates/mobile/jquery/mobile/valencia/form-check-off.png +0 -0
  386. data/templates/mobile/jquery/mobile/valencia/form-check-on.png +0 -0
  387. data/templates/mobile/jquery/mobile/valencia/form-radio-off.png +0 -0
  388. data/templates/mobile/jquery/mobile/valencia/form-radio-on.png +0 -0
  389. data/templates/mobile/jquery/mobile/valencia/icon-arrow-white-down.png +0 -0
  390. data/templates/mobile/jquery/mobile/valencia/icon-arrow-white-left.png +0 -0
  391. data/templates/mobile/jquery/mobile/valencia/icon-arrow-white-right.png +0 -0
  392. data/templates/mobile/jquery/mobile/valencia/icon-arrow-white-up.png +0 -0
  393. data/templates/mobile/jquery/mobile/valencia/icon-delete.png +0 -0
  394. data/templates/mobile/jquery/mobile/valencia/icon-minus-white.png +0 -0
  395. data/templates/mobile/jquery/mobile/valencia/icon-plus-white.png +0 -0
  396. data/templates/mobile/jquery/mobile/valencia/icon-search-black.png +0 -0
  397. data/templates/mobile/jquery/mobile/valencia/icons-18-black.png +0 -0
  398. data/templates/mobile/jquery/mobile/valencia/icons-18-white.png +0 -0
  399. data/templates/mobile/jquery/mobile/valencia/icons-36-black.png +0 -0
  400. data/templates/mobile/jquery/mobile/valencia/icons-36-white.png +0 -0
  401. data/templates/mobile/jquery/mobile/valencia/texture_05.png +0 -0
  402. data/templates/mobile/jquery/mobile/valencia/texture_075.png +0 -0
  403. data/templates/mobile/jquery/mobile/valencia.scss +0 -804
  404. data/templates/mobile/jquery.mobile.js +0 -3390
  405. data/templates/mobile/jquery.mobile.min.js +0 -28
  406. data/templates/mobile/lib/tasks/jquery.mobile.rake +0 -106
  407. data/templates/mobile/manifest.rb +0 -307
  408. data/templates/secret_sauce/app/views/shared/_ui_form_error_messages.html.haml +0 -6
  409. data/templates/secret_sauce/app/views/shared/_ui_grid_for_without_block.js.haml +0 -144
  410. data/templates/secret_sauce/app/views/shared/_ui_static_dialog.html.haml +0 -6
  411. data/templates/secret_sauce/config/initializers/secret_sauce.rb +0 -8
  412. data/templates/secret_sauce/jquery/secret_sauce.scss +0 -33
  413. data/templates/secret_sauce/manifest.rb +0 -10
  414. data/templates/secret_sauce/secret_sauce.js +0 -12
  415. data/templates/secret_sauce/secret_sauce.min.js +0 -1
@@ -333,7 +333,7 @@ jQuery.fn.init.prototype = jQuery.fn;
333
333
 
334
334
  jQuery.extend = jQuery.fn.extend = function() {
335
335
  // copy reference to target object
336
- var target = arguments[0] || {}, i = 1, length = arguments.length, deep = false, options, name, src, copy, copyIsArray, clone;
336
+ var target = arguments[0] || {}, i = 1, length = arguments.length, deep = false, options, name, src, copy, copyIsArray;
337
337
 
338
338
  // Handle a deep copy situation
339
339
  if ( typeof target === "boolean" ) {
@@ -445,8 +445,8 @@ jQuery.extend({
445
445
  }
446
446
 
447
447
  // Trigger any bound ready events
448
- if ( jQuery.fn.trigger ) {
449
- jQuery( document ).trigger( "ready" ).unbind( "ready" );
448
+ if ( jQuery.fn.triggerHandler ) {
449
+ jQuery( document ).triggerHandler( "ready" );
450
450
  }
451
451
  }
452
452
  },
@@ -968,7 +968,6 @@ return (window.jQuery = window.$ = jQuery);
968
968
  optSelected: opt.selected,
969
969
 
970
970
  // Will be defined later
971
- deleteExpando: true,
972
971
  optDisabled: false,
973
972
  checkClone: false,
974
973
  scriptEval: false,
@@ -999,15 +998,6 @@ return (window.jQuery = window.$ = jQuery);
999
998
  delete window[ id ];
1000
999
  }
1001
1000
 
1002
- // Test to see if it's possible to delete an expando from an element
1003
- // Fails in Internet Explorer
1004
- try {
1005
- delete script.test;
1006
-
1007
- } catch(e) {
1008
- jQuery.support.deleteExpando = false;
1009
- }
1010
-
1011
1001
  root.removeChild( script );
1012
1002
 
1013
1003
  if ( div.attachEvent && div.fireEvent ) {
@@ -1100,6 +1090,20 @@ return (window.jQuery = window.$ = jQuery);
1100
1090
  // release memory in IE
1101
1091
  root = script = div = all = a = null;
1102
1092
  })();
1093
+
1094
+ jQuery.props = {
1095
+ "for": "htmlFor",
1096
+ "class": "className",
1097
+ readonly: "readOnly",
1098
+ maxlength: "maxLength",
1099
+ cellspacing: "cellSpacing",
1100
+ rowspan: "rowSpan",
1101
+ colspan: "colSpan",
1102
+ tabindex: "tabIndex",
1103
+ usemap: "useMap",
1104
+ frameborder: "frameBorder"
1105
+ };
1106
+
1103
1107
  })( jQuery );
1104
1108
 
1105
1109
 
@@ -1239,24 +1243,8 @@ jQuery.extend({
1239
1243
 
1240
1244
  jQuery.fn.extend({
1241
1245
  data: function( key, value ) {
1242
- var data = null;
1243
-
1244
1246
  if ( typeof key === "undefined" ) {
1245
- if ( this.length ) {
1246
- var attr = this[0].attributes, name;
1247
- data = jQuery.data( this[0] );
1248
-
1249
- for ( var i = 0, l = attr.length; i < l; i++ ) {
1250
- name = attr[i].name;
1251
-
1252
- if ( name.indexOf( "data-" ) === 0 ) {
1253
- name = name.substr( 5 );
1254
- dataAttr( this[0], name, data[ name ] );
1255
- }
1256
- }
1257
- }
1258
-
1259
- return data;
1247
+ return this.length ? jQuery.data( this[0] ) : null;
1260
1248
 
1261
1249
  } else if ( typeof key === "object" ) {
1262
1250
  return this.each(function() {
@@ -1268,12 +1256,31 @@ jQuery.fn.extend({
1268
1256
  parts[1] = parts[1] ? "." + parts[1] : "";
1269
1257
 
1270
1258
  if ( value === undefined ) {
1271
- data = this.triggerHandler("getData" + parts[1] + "!", [parts[0]]);
1259
+ var data = this.triggerHandler("getData" + parts[1] + "!", [parts[0]]);
1272
1260
 
1273
1261
  // Try to fetch any internally stored data first
1274
1262
  if ( data === undefined && this.length ) {
1275
1263
  data = jQuery.data( this[0], key );
1276
- data = dataAttr( this[0], key, data );
1264
+
1265
+ // If nothing was found internally, try to fetch any
1266
+ // data from the HTML5 data-* attribute
1267
+ if ( data === undefined && this[0].nodeType === 1 ) {
1268
+ data = this[0].getAttribute( "data-" + key );
1269
+
1270
+ if ( typeof data === "string" ) {
1271
+ try {
1272
+ data = data === "true" ? true :
1273
+ data === "false" ? false :
1274
+ data === "null" ? null :
1275
+ !jQuery.isNaN( data ) ? parseFloat( data ) :
1276
+ rbrace.test( data ) ? jQuery.parseJSON( data ) :
1277
+ data;
1278
+ } catch( e ) {}
1279
+
1280
+ } else {
1281
+ data = undefined;
1282
+ }
1283
+ }
1277
1284
  }
1278
1285
 
1279
1286
  return data === undefined && parts[1] ?
@@ -1298,33 +1305,6 @@ jQuery.fn.extend({
1298
1305
  }
1299
1306
  });
1300
1307
 
1301
- function dataAttr( elem, key, data ) {
1302
- // If nothing was found internally, try to fetch any
1303
- // data from the HTML5 data-* attribute
1304
- if ( data === undefined && elem.nodeType === 1 ) {
1305
- data = elem.getAttribute( "data-" + key );
1306
-
1307
- if ( typeof data === "string" ) {
1308
- try {
1309
- data = data === "true" ? true :
1310
- data === "false" ? false :
1311
- data === "null" ? null :
1312
- !jQuery.isNaN( data ) ? parseFloat( data ) :
1313
- rbrace.test( data ) ? jQuery.parseJSON( data ) :
1314
- data;
1315
- } catch( e ) {}
1316
-
1317
- // Make sure we set the data so it isn't changed later
1318
- jQuery.data( elem, key, data );
1319
-
1320
- } else {
1321
- data = undefined;
1322
- }
1323
- }
1324
-
1325
- return data;
1326
- }
1327
-
1328
1308
  })( jQuery );
1329
1309
 
1330
1310
 
@@ -1435,19 +1415,6 @@ var rclass = /[\n\t]/g,
1435
1415
  rclickable = /^a(?:rea)?$/i,
1436
1416
  rradiocheck = /^(?:radio|checkbox)$/i;
1437
1417
 
1438
- jQuery.props = {
1439
- "for": "htmlFor",
1440
- "class": "className",
1441
- readonly: "readOnly",
1442
- maxlength: "maxLength",
1443
- cellspacing: "cellSpacing",
1444
- rowspan: "rowSpan",
1445
- colspan: "colSpan",
1446
- tabindex: "tabIndex",
1447
- usemap: "useMap",
1448
- frameborder: "frameBorder"
1449
- };
1450
-
1451
1418
  jQuery.fn.extend({
1452
1419
  attr: function( name, value ) {
1453
1420
  return jQuery.access( this, name, value, true, jQuery.attr );
@@ -1835,9 +1802,6 @@ jQuery.event = {
1835
1802
 
1836
1803
  if ( handler === false ) {
1837
1804
  handler = returnFalse;
1838
- } else if ( !handler ) {
1839
- // Fixes bug #7229. Fix recommended by jdalton
1840
- return;
1841
1805
  }
1842
1806
 
1843
1807
  var handleObjIn, handleObj;
@@ -2871,7 +2835,7 @@ function liveHandler( event ) {
2871
2835
  if ( event.liveFired === this || !events || !events.live || event.button && event.type === "click" ) {
2872
2836
  return;
2873
2837
  }
2874
-
2838
+
2875
2839
  if ( event.namespace ) {
2876
2840
  namespace = new RegExp("(^|\\.)" + event.namespace.split(".").join("\\.(?:.*\\.)?") + "(\\.|$)");
2877
2841
  }
@@ -2935,9 +2899,6 @@ function liveHandler( event ) {
2935
2899
  if ( ret === false ) {
2936
2900
  stop = false;
2937
2901
  }
2938
- if ( event.isImmediatePropagationStopped() ) {
2939
- break;
2940
- }
2941
2902
  }
2942
2903
  }
2943
2904
 
@@ -3007,12 +2968,12 @@ var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[
3007
2968
  // optimization where it does not always call our comparision
3008
2969
  // function. If that is the case, discard the hasDuplicate value.
3009
2970
  // Thus far that includes Google Chrome.
3010
- [0, 0].sort(function(){
2971
+ [0, 0].sort(function() {
3011
2972
  baseHasDuplicate = false;
3012
2973
  return 0;
3013
2974
  });
3014
2975
 
3015
- var Sizzle = function(selector, context, results, seed) {
2976
+ var Sizzle = function( selector, context, results, seed ) {
3016
2977
  results = results || [];
3017
2978
  context = context || document;
3018
2979
 
@@ -3026,13 +2987,16 @@ var Sizzle = function(selector, context, results, seed) {
3026
2987
  return results;
3027
2988
  }
3028
2989
 
3029
- var parts = [], m, set, checkSet, extra, prune = true, contextXML = Sizzle.isXML(context),
3030
- soFar = selector, ret, cur, pop, i;
2990
+ var m, set, checkSet, extra, ret, cur, pop, i,
2991
+ prune = true,
2992
+ contextXML = Sizzle.isXML( context ),
2993
+ parts = [],
2994
+ soFar = selector;
3031
2995
 
3032
2996
  // Reset the position of the chunker regexp (start from head)
3033
2997
  do {
3034
- chunker.exec("");
3035
- m = chunker.exec(soFar);
2998
+ chunker.exec( "" );
2999
+ m = chunker.exec( soFar );
3036
3000
 
3037
3001
  if ( m ) {
3038
3002
  soFar = m[3];
@@ -3047,8 +3011,10 @@ var Sizzle = function(selector, context, results, seed) {
3047
3011
  } while ( m );
3048
3012
 
3049
3013
  if ( parts.length > 1 && origPOS.exec( selector ) ) {
3014
+
3050
3015
  if ( parts.length === 2 && Expr.relative[ parts[0] ] ) {
3051
3016
  set = posProcess( parts[0] + parts[1], context );
3017
+
3052
3018
  } else {
3053
3019
  set = Expr.relative[ parts[0] ] ?
3054
3020
  [ context ] :
@@ -3064,23 +3030,31 @@ var Sizzle = function(selector, context, results, seed) {
3064
3030
  set = posProcess( selector, set );
3065
3031
  }
3066
3032
  }
3033
+
3067
3034
  } else {
3068
3035
  // Take a shortcut and set the context if the root selector is an ID
3069
3036
  // (but not if it'll be faster if the inner selector is an ID)
3070
3037
  if ( !seed && parts.length > 1 && context.nodeType === 9 && !contextXML &&
3071
3038
  Expr.match.ID.test(parts[0]) && !Expr.match.ID.test(parts[parts.length - 1]) ) {
3039
+
3072
3040
  ret = Sizzle.find( parts.shift(), context, contextXML );
3073
- context = ret.expr ? Sizzle.filter( ret.expr, ret.set )[0] : ret.set[0];
3041
+ context = ret.expr ?
3042
+ Sizzle.filter( ret.expr, ret.set )[0] :
3043
+ ret.set[0];
3074
3044
  }
3075
3045
 
3076
3046
  if ( context ) {
3077
3047
  ret = seed ?
3078
3048
  { expr: parts.pop(), set: makeArray(seed) } :
3079
3049
  Sizzle.find( parts.pop(), parts.length === 1 && (parts[0] === "~" || parts[0] === "+") && context.parentNode ? context.parentNode : context, contextXML );
3080
- set = ret.expr ? Sizzle.filter( ret.expr, ret.set ) : ret.set;
3050
+
3051
+ set = ret.expr ?
3052
+ Sizzle.filter( ret.expr, ret.set ) :
3053
+ ret.set;
3081
3054
 
3082
3055
  if ( parts.length > 0 ) {
3083
- checkSet = makeArray(set);
3056
+ checkSet = makeArray( set );
3057
+
3084
3058
  } else {
3085
3059
  prune = false;
3086
3060
  }
@@ -3101,6 +3075,7 @@ var Sizzle = function(selector, context, results, seed) {
3101
3075
 
3102
3076
  Expr.relative[ cur ]( checkSet, pop, contextXML );
3103
3077
  }
3078
+
3104
3079
  } else {
3105
3080
  checkSet = parts = [];
3106
3081
  }
@@ -3117,12 +3092,14 @@ var Sizzle = function(selector, context, results, seed) {
3117
3092
  if ( toString.call(checkSet) === "[object Array]" ) {
3118
3093
  if ( !prune ) {
3119
3094
  results.push.apply( results, checkSet );
3095
+
3120
3096
  } else if ( context && context.nodeType === 1 ) {
3121
3097
  for ( i = 0; checkSet[i] != null; i++ ) {
3122
3098
  if ( checkSet[i] && (checkSet[i] === true || checkSet[i].nodeType === 1 && Sizzle.contains(context, checkSet[i])) ) {
3123
3099
  results.push( set[i] );
3124
3100
  }
3125
3101
  }
3102
+
3126
3103
  } else {
3127
3104
  for ( i = 0; checkSet[i] != null; i++ ) {
3128
3105
  if ( checkSet[i] && checkSet[i].nodeType === 1 ) {
@@ -3130,6 +3107,7 @@ var Sizzle = function(selector, context, results, seed) {
3130
3107
  }
3131
3108
  }
3132
3109
  }
3110
+
3133
3111
  } else {
3134
3112
  makeArray( checkSet, results );
3135
3113
  }
@@ -3142,15 +3120,15 @@ var Sizzle = function(selector, context, results, seed) {
3142
3120
  return results;
3143
3121
  };
3144
3122
 
3145
- Sizzle.uniqueSort = function(results){
3123
+ Sizzle.uniqueSort = function( results ) {
3146
3124
  if ( sortOrder ) {
3147
3125
  hasDuplicate = baseHasDuplicate;
3148
- results.sort(sortOrder);
3126
+ results.sort( sortOrder );
3149
3127
 
3150
3128
  if ( hasDuplicate ) {
3151
3129
  for ( var i = 1; i < results.length; i++ ) {
3152
- if ( results[i] === results[i-1] ) {
3153
- results.splice(i--, 1);
3130
+ if ( results[i] === results[ i - 1 ] ) {
3131
+ results.splice( i--, 1 );
3154
3132
  }
3155
3133
  }
3156
3134
  }
@@ -3159,15 +3137,15 @@ Sizzle.uniqueSort = function(results){
3159
3137
  return results;
3160
3138
  };
3161
3139
 
3162
- Sizzle.matches = function(expr, set){
3163
- return Sizzle(expr, null, null, set);
3140
+ Sizzle.matches = function( expr, set ) {
3141
+ return Sizzle( expr, null, null, set );
3164
3142
  };
3165
3143
 
3166
- Sizzle.matchesSelector = function(node, expr){
3167
- return Sizzle(expr, null, null, [node]).length > 0;
3144
+ Sizzle.matchesSelector = function( node, expr ) {
3145
+ return Sizzle( expr, null, null, [node] ).length > 0;
3168
3146
  };
3169
3147
 
3170
- Sizzle.find = function(expr, context, isXML){
3148
+ Sizzle.find = function( expr, context, isXML ) {
3171
3149
  var set;
3172
3150
 
3173
3151
  if ( !expr ) {
@@ -3175,15 +3153,17 @@ Sizzle.find = function(expr, context, isXML){
3175
3153
  }
3176
3154
 
3177
3155
  for ( var i = 0, l = Expr.order.length; i < l; i++ ) {
3178
- var type = Expr.order[i], match;
3156
+ var match,
3157
+ type = Expr.order[i];
3179
3158
 
3180
3159
  if ( (match = Expr.leftMatch[ type ].exec( expr )) ) {
3181
3160
  var left = match[1];
3182
- match.splice(1,1);
3161
+ match.splice( 1, 1 );
3183
3162
 
3184
3163
  if ( left.substr( left.length - 1 ) !== "\\" ) {
3185
3164
  match[1] = (match[1] || "").replace(/\\/g, "");
3186
3165
  set = Expr.find[ type ]( match, context, isXML );
3166
+
3187
3167
  if ( set != null ) {
3188
3168
  expr = expr.replace( Expr.match[ type ], "" );
3189
3169
  break;
@@ -3193,20 +3173,26 @@ Sizzle.find = function(expr, context, isXML){
3193
3173
  }
3194
3174
 
3195
3175
  if ( !set ) {
3196
- set = context.getElementsByTagName("*");
3176
+ set = context.getElementsByTagName( "*" );
3197
3177
  }
3198
3178
 
3199
- return {set: set, expr: expr};
3179
+ return { set: set, expr: expr };
3200
3180
  };
3201
3181
 
3202
- Sizzle.filter = function(expr, set, inplace, not){
3203
- var old = expr, result = [], curLoop = set, match, anyFound,
3204
- isXMLFilter = set && set[0] && Sizzle.isXML(set[0]);
3182
+ Sizzle.filter = function( expr, set, inplace, not ) {
3183
+ var match, anyFound,
3184
+ old = expr,
3185
+ result = [],
3186
+ curLoop = set,
3187
+ isXMLFilter = set && set[0] && Sizzle.isXML( set[0] );
3205
3188
 
3206
3189
  while ( expr && set.length ) {
3207
3190
  for ( var type in Expr.filter ) {
3208
3191
  if ( (match = Expr.leftMatch[ type ].exec( expr )) != null && match[2] ) {
3209
- var filter = Expr.filter[ type ], found, item, left = match[1];
3192
+ var found, item,
3193
+ filter = Expr.filter[ type ],
3194
+ left = match[1];
3195
+
3210
3196
  anyFound = false;
3211
3197
 
3212
3198
  match.splice(1,1);
@@ -3224,6 +3210,7 @@ Sizzle.filter = function(expr, set, inplace, not){
3224
3210
 
3225
3211
  if ( !match ) {
3226
3212
  anyFound = found = true;
3213
+
3227
3214
  } else if ( match === true ) {
3228
3215
  continue;
3229
3216
  }
@@ -3238,9 +3225,11 @@ Sizzle.filter = function(expr, set, inplace, not){
3238
3225
  if ( inplace && found != null ) {
3239
3226
  if ( pass ) {
3240
3227
  anyFound = true;
3228
+
3241
3229
  } else {
3242
3230
  curLoop[i] = false;
3243
3231
  }
3232
+
3244
3233
  } else if ( pass ) {
3245
3234
  result.push( item );
3246
3235
  anyFound = true;
@@ -3269,6 +3258,7 @@ Sizzle.filter = function(expr, set, inplace, not){
3269
3258
  if ( expr === old ) {
3270
3259
  if ( anyFound == null ) {
3271
3260
  Sizzle.error( expr );
3261
+
3272
3262
  } else {
3273
3263
  break;
3274
3264
  }
@@ -3286,6 +3276,7 @@ Sizzle.error = function( msg ) {
3286
3276
 
3287
3277
  var Expr = Sizzle.selectors = {
3288
3278
  order: [ "ID", "NAME", "TAG" ],
3279
+
3289
3280
  match: {
3290
3281
  ID: /#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,
3291
3282
  CLASS: /\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,
@@ -3296,20 +3287,24 @@ var Expr = Sizzle.selectors = {
3296
3287
  POS: /:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,
3297
3288
  PSEUDO: /:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/
3298
3289
  },
3290
+
3299
3291
  leftMatch: {},
3292
+
3300
3293
  attrMap: {
3301
3294
  "class": "className",
3302
3295
  "for": "htmlFor"
3303
3296
  },
3297
+
3304
3298
  attrHandle: {
3305
- href: function(elem){
3306
- return elem.getAttribute("href");
3299
+ href: function( elem ) {
3300
+ return elem.getAttribute( "href" );
3307
3301
  }
3308
3302
  },
3303
+
3309
3304
  relative: {
3310
3305
  "+": function(checkSet, part){
3311
3306
  var isPartStr = typeof part === "string",
3312
- isTag = isPartStr && !/\W/.test(part),
3307
+ isTag = isPartStr && !/\W/.test( part ),
3313
3308
  isPartStrNotTag = isPartStr && !isTag;
3314
3309
 
3315
3310
  if ( isTag ) {
@@ -3330,23 +3325,29 @@ var Expr = Sizzle.selectors = {
3330
3325
  Sizzle.filter( part, checkSet, true );
3331
3326
  }
3332
3327
  },
3333
- ">": function(checkSet, part){
3334
- var isPartStr = typeof part === "string",
3335
- elem, i = 0, l = checkSet.length;
3336
3328
 
3337
- if ( isPartStr && !/\W/.test(part) ) {
3329
+ ">": function( checkSet, part ) {
3330
+ var elem,
3331
+ isPartStr = typeof part === "string",
3332
+ i = 0,
3333
+ l = checkSet.length;
3334
+
3335
+ if ( isPartStr && !/\W/.test( part ) ) {
3338
3336
  part = part.toLowerCase();
3339
3337
 
3340
3338
  for ( ; i < l; i++ ) {
3341
3339
  elem = checkSet[i];
3340
+
3342
3341
  if ( elem ) {
3343
3342
  var parent = elem.parentNode;
3344
3343
  checkSet[i] = parent.nodeName.toLowerCase() === part ? parent : false;
3345
3344
  }
3346
3345
  }
3346
+
3347
3347
  } else {
3348
3348
  for ( ; i < l; i++ ) {
3349
3349
  elem = checkSet[i];
3350
+
3350
3351
  if ( elem ) {
3351
3352
  checkSet[i] = isPartStr ?
3352
3353
  elem.parentNode :
@@ -3359,8 +3360,11 @@ var Expr = Sizzle.selectors = {
3359
3360
  }
3360
3361
  }
3361
3362
  },
3363
+
3362
3364
  "": function(checkSet, part, isXML){
3363
- var doneName = done++, checkFn = dirCheck, nodeCheck;
3365
+ var nodeCheck,
3366
+ doneName = done++,
3367
+ checkFn = dirCheck;
3364
3368
 
3365
3369
  if ( typeof part === "string" && !/\W/.test(part) ) {
3366
3370
  part = part.toLowerCase();
@@ -3368,22 +3372,26 @@ var Expr = Sizzle.selectors = {
3368
3372
  checkFn = dirNodeCheck;
3369
3373
  }
3370
3374
 
3371
- checkFn("parentNode", part, doneName, checkSet, nodeCheck, isXML);
3375
+ checkFn( "parentNode", part, doneName, checkSet, nodeCheck, isXML );
3372
3376
  },
3373
- "~": function(checkSet, part, isXML){
3374
- var doneName = done++, checkFn = dirCheck, nodeCheck;
3375
3377
 
3376
- if ( typeof part === "string" && !/\W/.test(part) ) {
3378
+ "~": function( checkSet, part, isXML ) {
3379
+ var nodeCheck,
3380
+ doneName = done++,
3381
+ checkFn = dirCheck;
3382
+
3383
+ if ( typeof part === "string" && !/\W/.test( part ) ) {
3377
3384
  part = part.toLowerCase();
3378
3385
  nodeCheck = part;
3379
3386
  checkFn = dirNodeCheck;
3380
3387
  }
3381
3388
 
3382
- checkFn("previousSibling", part, doneName, checkSet, nodeCheck, isXML);
3389
+ checkFn( "previousSibling", part, doneName, checkSet, nodeCheck, isXML );
3383
3390
  }
3384
3391
  },
3392
+
3385
3393
  find: {
3386
- ID: function(match, context, isXML){
3394
+ ID: function( match, context, isXML ) {
3387
3395
  if ( typeof context.getElementById !== "undefined" && !isXML ) {
3388
3396
  var m = context.getElementById(match[1]);
3389
3397
  // Check parentNode to catch when Blackberry 4.6 returns
@@ -3391,9 +3399,11 @@ var Expr = Sizzle.selectors = {
3391
3399
  return m && m.parentNode ? [m] : [];
3392
3400
  }
3393
3401
  },
3394
- NAME: function(match, context){
3402
+
3403
+ NAME: function( match, context ) {
3395
3404
  if ( typeof context.getElementsByName !== "undefined" ) {
3396
- var ret = [], results = context.getElementsByName(match[1]);
3405
+ var ret = [],
3406
+ results = context.getElementsByName( match[1] );
3397
3407
 
3398
3408
  for ( var i = 0, l = results.length; i < l; i++ ) {
3399
3409
  if ( results[i].getAttribute("name") === match[1] ) {
@@ -3404,12 +3414,13 @@ var Expr = Sizzle.selectors = {
3404
3414
  return ret.length === 0 ? null : ret;
3405
3415
  }
3406
3416
  },
3407
- TAG: function(match, context){
3408
- return context.getElementsByTagName(match[1]);
3417
+
3418
+ TAG: function( match, context ) {
3419
+ return context.getElementsByTagName( match[1] );
3409
3420
  }
3410
3421
  },
3411
3422
  preFilter: {
3412
- CLASS: function(match, curLoop, inplace, result, not, isXML){
3423
+ CLASS: function( match, curLoop, inplace, result, not, isXML ) {
3413
3424
  match = " " + match[1].replace(/\\/g, "") + " ";
3414
3425
 
3415
3426
  if ( isXML ) {
@@ -3422,6 +3433,7 @@ var Expr = Sizzle.selectors = {
3422
3433
  if ( !inplace ) {
3423
3434
  result.push( elem );
3424
3435
  }
3436
+
3425
3437
  } else if ( inplace ) {
3426
3438
  curLoop[i] = false;
3427
3439
  }
@@ -3430,13 +3442,16 @@ var Expr = Sizzle.selectors = {
3430
3442
 
3431
3443
  return false;
3432
3444
  },
3433
- ID: function(match){
3445
+
3446
+ ID: function( match ) {
3434
3447
  return match[1].replace(/\\/g, "");
3435
3448
  },
3436
- TAG: function(match, curLoop){
3449
+
3450
+ TAG: function( match, curLoop ) {
3437
3451
  return match[1].toLowerCase();
3438
3452
  },
3439
- CHILD: function(match){
3453
+
3454
+ CHILD: function( match ) {
3440
3455
  if ( match[1] === "nth" ) {
3441
3456
  // parse equations like 'even', 'odd', '5', '2n', '3n+2', '4n-1', '-n+6'
3442
3457
  var test = /(-?)(\d*)n((?:\+|-)?\d*)/.exec(
@@ -3453,7 +3468,8 @@ var Expr = Sizzle.selectors = {
3453
3468
 
3454
3469
  return match;
3455
3470
  },
3456
- ATTR: function(match, curLoop, inplace, result, not, isXML){
3471
+
3472
+ ATTR: function( match, curLoop, inplace, result, not, isXML ) {
3457
3473
  var name = match[1].replace(/\\/g, "");
3458
3474
 
3459
3475
  if ( !isXML && Expr.attrMap[name] ) {
@@ -3466,122 +3482,156 @@ var Expr = Sizzle.selectors = {
3466
3482
 
3467
3483
  return match;
3468
3484
  },
3469
- PSEUDO: function(match, curLoop, inplace, result, not){
3485
+
3486
+ PSEUDO: function( match, curLoop, inplace, result, not ) {
3470
3487
  if ( match[1] === "not" ) {
3471
3488
  // If we're dealing with a complex expression, or a simple one
3472
3489
  if ( ( chunker.exec(match[3]) || "" ).length > 1 || /^\w/.test(match[3]) ) {
3473
3490
  match[3] = Sizzle(match[3], null, null, curLoop);
3491
+
3474
3492
  } else {
3475
3493
  var ret = Sizzle.filter(match[3], curLoop, inplace, true ^ not);
3494
+
3476
3495
  if ( !inplace ) {
3477
3496
  result.push.apply( result, ret );
3478
3497
  }
3498
+
3479
3499
  return false;
3480
3500
  }
3501
+
3481
3502
  } else if ( Expr.match.POS.test( match[0] ) || Expr.match.CHILD.test( match[0] ) ) {
3482
3503
  return true;
3483
3504
  }
3484
3505
 
3485
3506
  return match;
3486
3507
  },
3487
- POS: function(match){
3508
+
3509
+ POS: function( match ) {
3488
3510
  match.unshift( true );
3511
+
3489
3512
  return match;
3490
3513
  }
3491
3514
  },
3515
+
3492
3516
  filters: {
3493
- enabled: function(elem){
3517
+ enabled: function( elem ) {
3494
3518
  return elem.disabled === false && elem.type !== "hidden";
3495
3519
  },
3496
- disabled: function(elem){
3520
+
3521
+ disabled: function( elem ) {
3497
3522
  return elem.disabled === true;
3498
3523
  },
3499
- checked: function(elem){
3524
+
3525
+ checked: function( elem ) {
3500
3526
  return elem.checked === true;
3501
3527
  },
3502
- selected: function(elem){
3528
+
3529
+ selected: function( elem ) {
3503
3530
  // Accessing this property makes selected-by-default
3504
3531
  // options in Safari work properly
3505
3532
  elem.parentNode.selectedIndex;
3533
+
3506
3534
  return elem.selected === true;
3507
3535
  },
3508
- parent: function(elem){
3536
+
3537
+ parent: function( elem ) {
3509
3538
  return !!elem.firstChild;
3510
3539
  },
3511
- empty: function(elem){
3540
+
3541
+ empty: function( elem ) {
3512
3542
  return !elem.firstChild;
3513
3543
  },
3514
- has: function(elem, i, match){
3544
+
3545
+ has: function( elem, i, match ) {
3515
3546
  return !!Sizzle( match[3], elem ).length;
3516
3547
  },
3517
- header: function(elem){
3548
+
3549
+ header: function( elem ) {
3518
3550
  return (/h\d/i).test( elem.nodeName );
3519
3551
  },
3520
- text: function(elem){
3552
+
3553
+ text: function( elem ) {
3521
3554
  return "text" === elem.type;
3522
3555
  },
3523
- radio: function(elem){
3556
+ radio: function( elem ) {
3524
3557
  return "radio" === elem.type;
3525
3558
  },
3526
- checkbox: function(elem){
3559
+
3560
+ checkbox: function( elem ) {
3527
3561
  return "checkbox" === elem.type;
3528
3562
  },
3529
- file: function(elem){
3563
+
3564
+ file: function( elem ) {
3530
3565
  return "file" === elem.type;
3531
3566
  },
3532
- password: function(elem){
3567
+ password: function( elem ) {
3533
3568
  return "password" === elem.type;
3534
3569
  },
3535
- submit: function(elem){
3570
+
3571
+ submit: function( elem ) {
3536
3572
  return "submit" === elem.type;
3537
3573
  },
3538
- image: function(elem){
3574
+
3575
+ image: function( elem ) {
3539
3576
  return "image" === elem.type;
3540
3577
  },
3541
- reset: function(elem){
3578
+
3579
+ reset: function( elem ) {
3542
3580
  return "reset" === elem.type;
3543
3581
  },
3544
- button: function(elem){
3582
+
3583
+ button: function( elem ) {
3545
3584
  return "button" === elem.type || elem.nodeName.toLowerCase() === "button";
3546
3585
  },
3547
- input: function(elem){
3548
- return (/input|select|textarea|button/i).test(elem.nodeName);
3586
+
3587
+ input: function( elem ) {
3588
+ return (/input|select|textarea|button/i).test( elem.nodeName );
3549
3589
  }
3550
3590
  },
3551
3591
  setFilters: {
3552
- first: function(elem, i){
3592
+ first: function( elem, i ) {
3553
3593
  return i === 0;
3554
3594
  },
3555
- last: function(elem, i, match, array){
3595
+
3596
+ last: function( elem, i, match, array ) {
3556
3597
  return i === array.length - 1;
3557
3598
  },
3558
- even: function(elem, i){
3599
+
3600
+ even: function( elem, i ) {
3559
3601
  return i % 2 === 0;
3560
3602
  },
3561
- odd: function(elem, i){
3603
+
3604
+ odd: function( elem, i ) {
3562
3605
  return i % 2 === 1;
3563
3606
  },
3564
- lt: function(elem, i, match){
3607
+
3608
+ lt: function( elem, i, match ) {
3565
3609
  return i < match[3] - 0;
3566
3610
  },
3567
- gt: function(elem, i, match){
3611
+
3612
+ gt: function( elem, i, match ) {
3568
3613
  return i > match[3] - 0;
3569
3614
  },
3570
- nth: function(elem, i, match){
3615
+
3616
+ nth: function( elem, i, match ) {
3571
3617
  return match[3] - 0 === i;
3572
3618
  },
3573
- eq: function(elem, i, match){
3619
+
3620
+ eq: function( elem, i, match ) {
3574
3621
  return match[3] - 0 === i;
3575
3622
  }
3576
3623
  },
3577
3624
  filter: {
3578
- PSEUDO: function(elem, match, i, array){
3579
- var name = match[1], filter = Expr.filters[ name ];
3625
+ PSEUDO: function( elem, match, i, array ) {
3626
+ var name = match[1],
3627
+ filter = Expr.filters[ name ];
3580
3628
 
3581
3629
  if ( filter ) {
3582
3630
  return filter( elem, i, match, array );
3631
+
3583
3632
  } else if ( name === "contains" ) {
3584
3633
  return (elem.textContent || elem.innerText || Sizzle.getText([ elem ]) || "").indexOf(match[3]) >= 0;
3634
+
3585
3635
  } else if ( name === "not" ) {
3586
3636
  var not = match[3];
3587
3637
 
@@ -3592,33 +3642,43 @@ var Expr = Sizzle.selectors = {
3592
3642
  }
3593
3643
 
3594
3644
  return true;
3645
+
3595
3646
  } else {
3596
3647
  Sizzle.error( "Syntax error, unrecognized expression: " + name );
3597
3648
  }
3598
3649
  },
3599
- CHILD: function(elem, match){
3600
- var type = match[1], node = elem;
3601
- switch (type) {
3602
- case 'only':
3603
- case 'first':
3650
+
3651
+ CHILD: function( elem, match ) {
3652
+ var type = match[1],
3653
+ node = elem;
3654
+
3655
+ switch ( type ) {
3656
+ case "only":
3657
+ case "first":
3604
3658
  while ( (node = node.previousSibling) ) {
3605
3659
  if ( node.nodeType === 1 ) {
3606
3660
  return false;
3607
3661
  }
3608
3662
  }
3663
+
3609
3664
  if ( type === "first" ) {
3610
3665
  return true;
3611
3666
  }
3667
+
3612
3668
  node = elem;
3613
- case 'last':
3669
+
3670
+ case "last":
3614
3671
  while ( (node = node.nextSibling) ) {
3615
3672
  if ( node.nodeType === 1 ) {
3616
3673
  return false;
3617
3674
  }
3618
3675
  }
3676
+
3619
3677
  return true;
3620
- case 'nth':
3621
- var first = match[2], last = match[3];
3678
+
3679
+ case "nth":
3680
+ var first = match[2],
3681
+ last = match[3];
3622
3682
 
3623
3683
  if ( first === 1 && last === 0 ) {
3624
3684
  return true;
@@ -3629,33 +3689,41 @@ var Expr = Sizzle.selectors = {
3629
3689
 
3630
3690
  if ( parent && (parent.sizcache !== doneName || !elem.nodeIndex) ) {
3631
3691
  var count = 0;
3692
+
3632
3693
  for ( node = parent.firstChild; node; node = node.nextSibling ) {
3633
3694
  if ( node.nodeType === 1 ) {
3634
3695
  node.nodeIndex = ++count;
3635
3696
  }
3636
3697
  }
3698
+
3637
3699
  parent.sizcache = doneName;
3638
3700
  }
3639
3701
 
3640
3702
  var diff = elem.nodeIndex - last;
3703
+
3641
3704
  if ( first === 0 ) {
3642
3705
  return diff === 0;
3706
+
3643
3707
  } else {
3644
3708
  return ( diff % first === 0 && diff / first >= 0 );
3645
3709
  }
3646
3710
  }
3647
3711
  },
3648
- ID: function(elem, match){
3712
+
3713
+ ID: function( elem, match ) {
3649
3714
  return elem.nodeType === 1 && elem.getAttribute("id") === match;
3650
3715
  },
3651
- TAG: function(elem, match){
3716
+
3717
+ TAG: function( elem, match ) {
3652
3718
  return (match === "*" && elem.nodeType === 1) || elem.nodeName.toLowerCase() === match;
3653
3719
  },
3654
- CLASS: function(elem, match){
3720
+
3721
+ CLASS: function( elem, match ) {
3655
3722
  return (" " + (elem.className || elem.getAttribute("class")) + " ")
3656
3723
  .indexOf( match ) > -1;
3657
3724
  },
3658
- ATTR: function(elem, match){
3725
+
3726
+ ATTR: function( elem, match ) {
3659
3727
  var name = match[1],
3660
3728
  result = Expr.attrHandle[ name ] ?
3661
3729
  Expr.attrHandle[ name ]( elem ) :
@@ -3686,8 +3754,10 @@ var Expr = Sizzle.selectors = {
3686
3754
  value === check || value.substr(0, check.length + 1) === check + "-" :
3687
3755
  false;
3688
3756
  },
3689
- POS: function(elem, match, i, array){
3690
- var name = match[2], filter = Expr.setFilters[ name ];
3757
+
3758
+ POS: function( elem, match, i, array ) {
3759
+ var name = match[2],
3760
+ filter = Expr.setFilters[ name ];
3691
3761
 
3692
3762
  if ( filter ) {
3693
3763
  return filter( elem, i, match, array );
@@ -3706,7 +3776,7 @@ for ( var type in Expr.match ) {
3706
3776
  Expr.leftMatch[ type ] = new RegExp( /(^(?:.|\r|\n)*?)/.source + Expr.match[ type ].source.replace(/\\(\d+)/g, fescape) );
3707
3777
  }
3708
3778
 
3709
- var makeArray = function(array, results) {
3779
+ var makeArray = function( array, results ) {
3710
3780
  array = Array.prototype.slice.call( array, 0 );
3711
3781
 
3712
3782
  if ( results ) {
@@ -3725,17 +3795,20 @@ try {
3725
3795
  Array.prototype.slice.call( document.documentElement.childNodes, 0 )[0].nodeType;
3726
3796
 
3727
3797
  // Provide a fallback method if it does not work
3728
- } catch(e){
3729
- makeArray = function(array, results) {
3730
- var ret = results || [], i = 0;
3798
+ } catch( e ) {
3799
+ makeArray = function( array, results ) {
3800
+ var i = 0,
3801
+ ret = results || [];
3731
3802
 
3732
3803
  if ( toString.call(array) === "[object Array]" ) {
3733
3804
  Array.prototype.push.apply( ret, array );
3805
+
3734
3806
  } else {
3735
3807
  if ( typeof array.length === "number" ) {
3736
3808
  for ( var l = array.length; i < l; i++ ) {
3737
3809
  ret.push( array[i] );
3738
3810
  }
3811
+
3739
3812
  } else {
3740
3813
  for ( ; array[i]; i++ ) {
3741
3814
  ret.push( array[i] );
@@ -3762,10 +3835,15 @@ if ( document.documentElement.compareDocumentPosition ) {
3762
3835
 
3763
3836
  return a.compareDocumentPosition(b) & 4 ? -1 : 1;
3764
3837
  };
3838
+
3765
3839
  } else {
3766
3840
  sortOrder = function( a, b ) {
3767
- var ap = [], bp = [], aup = a.parentNode, bup = b.parentNode,
3768
- cur = aup, al, bl;
3841
+ var al, bl,
3842
+ ap = [],
3843
+ bp = [],
3844
+ aup = a.parentNode,
3845
+ bup = b.parentNode,
3846
+ cur = aup;
3769
3847
 
3770
3848
  // The nodes are identical, we can exit early
3771
3849
  if ( a === b ) {
@@ -3858,31 +3936,40 @@ Sizzle.getText = function( elems ) {
3858
3936
  (function(){
3859
3937
  // We're going to inject a fake input element with a specified name
3860
3938
  var form = document.createElement("div"),
3861
- id = "script" + (new Date()).getTime();
3939
+ id = "script" + (new Date()).getTime(),
3940
+ root = document.documentElement;
3941
+
3862
3942
  form.innerHTML = "<a name='" + id + "'/>";
3863
3943
 
3864
3944
  // Inject it into the root element, check its status, and remove it quickly
3865
- var root = document.documentElement;
3866
3945
  root.insertBefore( form, root.firstChild );
3867
3946
 
3868
3947
  // The workaround has to do additional checks after a getElementById
3869
3948
  // Which slows things down for other browsers (hence the branching)
3870
3949
  if ( document.getElementById( id ) ) {
3871
- Expr.find.ID = function(match, context, isXML){
3950
+ Expr.find.ID = function( match, context, isXML ) {
3872
3951
  if ( typeof context.getElementById !== "undefined" && !isXML ) {
3873
3952
  var m = context.getElementById(match[1]);
3874
- return m ? m.id === match[1] || typeof m.getAttributeNode !== "undefined" && m.getAttributeNode("id").nodeValue === match[1] ? [m] : undefined : [];
3953
+
3954
+ return m ?
3955
+ m.id === match[1] || typeof m.getAttributeNode !== "undefined" && m.getAttributeNode("id").nodeValue === match[1] ?
3956
+ [m] :
3957
+ undefined :
3958
+ [];
3875
3959
  }
3876
3960
  };
3877
3961
 
3878
- Expr.filter.ID = function(elem, match){
3962
+ Expr.filter.ID = function( elem, match ) {
3879
3963
  var node = typeof elem.getAttributeNode !== "undefined" && elem.getAttributeNode("id");
3964
+
3880
3965
  return elem.nodeType === 1 && node && node.nodeValue === match;
3881
3966
  };
3882
3967
  }
3883
3968
 
3884
3969
  root.removeChild( form );
3885
- root = form = null; // release memory in IE
3970
+
3971
+ // release memory in IE
3972
+ root = form = null;
3886
3973
  })();
3887
3974
 
3888
3975
  (function(){
@@ -3895,8 +3982,8 @@ Sizzle.getText = function( elems ) {
3895
3982
 
3896
3983
  // Make sure no comments are found
3897
3984
  if ( div.getElementsByTagName("*").length > 0 ) {
3898
- Expr.find.TAG = function(match, context){
3899
- var results = context.getElementsByTagName(match[1]);
3985
+ Expr.find.TAG = function( match, context ) {
3986
+ var results = context.getElementsByTagName( match[1] );
3900
3987
 
3901
3988
  // Filter out possible comments
3902
3989
  if ( match[1] === "*" ) {
@@ -3917,19 +4004,25 @@ Sizzle.getText = function( elems ) {
3917
4004
 
3918
4005
  // Check to see if an attribute returns normalized href attributes
3919
4006
  div.innerHTML = "<a href='#'></a>";
4007
+
3920
4008
  if ( div.firstChild && typeof div.firstChild.getAttribute !== "undefined" &&
3921
4009
  div.firstChild.getAttribute("href") !== "#" ) {
3922
- Expr.attrHandle.href = function(elem){
3923
- return elem.getAttribute("href", 2);
4010
+
4011
+ Expr.attrHandle.href = function( elem ) {
4012
+ return elem.getAttribute( "href", 2 );
3924
4013
  };
3925
4014
  }
3926
4015
 
3927
- div = null; // release memory in IE
4016
+ // release memory in IE
4017
+ div = null;
3928
4018
  })();
3929
4019
 
3930
4020
  if ( document.querySelectorAll ) {
3931
4021
  (function(){
3932
- var oldSizzle = Sizzle, div = document.createElement("div"), id = "__sizzle__";
4022
+ var oldSizzle = Sizzle,
4023
+ div = document.createElement("div"),
4024
+ id = "__sizzle__";
4025
+
3933
4026
  div.innerHTML = "<p class='TEST'></p>";
3934
4027
 
3935
4028
  // Safari can't handle uppercase or unicode characters when
@@ -3938,9 +4031,12 @@ if ( document.querySelectorAll ) {
3938
4031
  return;
3939
4032
  }
3940
4033
 
3941
- Sizzle = function(query, context, extra, seed){
4034
+ Sizzle = function( query, context, extra, seed ) {
3942
4035
  context = context || document;
3943
4036
 
4037
+ // Make sure that attribute selectors are quoted
4038
+ query = query.replace(/\=\s*([^'"\]]*)\s*\]/g, "='$1']");
4039
+
3944
4040
  // Only use querySelectorAll on non-XML documents
3945
4041
  // (ID selectors don't work in non-HTML documents)
3946
4042
  if ( !seed && !Sizzle.isXML(context) ) {
@@ -3954,7 +4050,8 @@ if ( document.querySelectorAll ) {
3954
4050
  // and working up from there (Thanks to Andrew Dupont for the technique)
3955
4051
  // IE 8 doesn't work on object elements
3956
4052
  } else if ( context.nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) {
3957
- var old = context.getAttribute( "id" ), nid = old || id;
4053
+ var old = context.getAttribute( "id" ),
4054
+ nid = old || id;
3958
4055
 
3959
4056
  if ( !old ) {
3960
4057
  context.setAttribute( "id", nid );
@@ -3979,7 +4076,8 @@ if ( document.querySelectorAll ) {
3979
4076
  Sizzle[ prop ] = oldSizzle[ prop ];
3980
4077
  }
3981
4078
 
3982
- div = null; // release memory in IE
4079
+ // release memory in IE
4080
+ div = null;
3983
4081
  })();
3984
4082
  }
3985
4083
 
@@ -3999,6 +4097,9 @@ if ( document.querySelectorAll ) {
3999
4097
 
4000
4098
  if ( matches ) {
4001
4099
  Sizzle.matchesSelector = function( node, expr ) {
4100
+ // Make sure that attribute selectors are quoted
4101
+ expr = expr.replace(/\=\s*([^'"\]]*)\s*\]/g, "='$1']");
4102
+
4002
4103
  if ( !Sizzle.isXML( node ) ) {
4003
4104
  try {
4004
4105
  if ( pseudoWorks || !Expr.match.PSEUDO.test( expr ) && !/!=/.test( expr ) ) {
@@ -4031,22 +4132,25 @@ if ( document.querySelectorAll ) {
4031
4132
  }
4032
4133
 
4033
4134
  Expr.order.splice(1, 0, "CLASS");
4034
- Expr.find.CLASS = function(match, context, isXML) {
4135
+ Expr.find.CLASS = function( match, context, isXML ) {
4035
4136
  if ( typeof context.getElementsByClassName !== "undefined" && !isXML ) {
4036
4137
  return context.getElementsByClassName(match[1]);
4037
4138
  }
4038
4139
  };
4039
4140
 
4040
- div = null; // release memory in IE
4141
+ // release memory in IE
4142
+ div = null;
4041
4143
  })();
4042
4144
 
4043
4145
  function dirNodeCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
4044
4146
  for ( var i = 0, l = checkSet.length; i < l; i++ ) {
4045
4147
  var elem = checkSet[i];
4148
+
4046
4149
  if ( elem ) {
4047
- elem = elem[dir];
4048
4150
  var match = false;
4049
4151
 
4152
+ elem = elem[dir];
4153
+
4050
4154
  while ( elem ) {
4051
4155
  if ( elem.sizcache === doneName ) {
4052
4156
  match = checkSet[elem.sizset];
@@ -4074,9 +4178,11 @@ function dirNodeCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
4074
4178
  function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
4075
4179
  for ( var i = 0, l = checkSet.length; i < l; i++ ) {
4076
4180
  var elem = checkSet[i];
4181
+
4077
4182
  if ( elem ) {
4078
- elem = elem[dir];
4079
4183
  var match = false;
4184
+
4185
+ elem = elem[dir];
4080
4186
 
4081
4187
  while ( elem ) {
4082
4188
  if ( elem.sizcache === doneName ) {
@@ -4089,6 +4195,7 @@ function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
4089
4195
  elem.sizcache = doneName;
4090
4196
  elem.sizset = i;
4091
4197
  }
4198
+
4092
4199
  if ( typeof cur !== "string" ) {
4093
4200
  if ( elem === cur ) {
4094
4201
  match = true;
@@ -4110,30 +4217,33 @@ function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
4110
4217
  }
4111
4218
 
4112
4219
  if ( document.documentElement.contains ) {
4113
- Sizzle.contains = function(a, b){
4220
+ Sizzle.contains = function( a, b ) {
4114
4221
  return a !== b && (a.contains ? a.contains(b) : true);
4115
4222
  };
4116
4223
 
4117
4224
  } else if ( document.documentElement.compareDocumentPosition ) {
4118
- Sizzle.contains = function(a, b){
4225
+ Sizzle.contains = function( a, b ) {
4119
4226
  return !!(a.compareDocumentPosition(b) & 16);
4120
4227
  };
4121
4228
 
4122
4229
  } else {
4123
- Sizzle.contains = function(){
4230
+ Sizzle.contains = function() {
4124
4231
  return false;
4125
4232
  };
4126
4233
  }
4127
4234
 
4128
- Sizzle.isXML = function(elem){
4235
+ Sizzle.isXML = function( elem ) {
4129
4236
  // documentElement is verified for cases where it doesn't yet exist
4130
4237
  // (such as loading iframes in IE - #4833)
4131
4238
  var documentElement = (elem ? elem.ownerDocument || elem : 0).documentElement;
4239
+
4132
4240
  return documentElement ? documentElement.nodeName !== "HTML" : false;
4133
4241
  };
4134
4242
 
4135
- var posProcess = function(selector, context){
4136
- var tmpSet = [], later = "", match,
4243
+ var posProcess = function( selector, context ) {
4244
+ var match,
4245
+ tmpSet = [],
4246
+ later = "",
4137
4247
  root = context.nodeType ? [context] : context;
4138
4248
 
4139
4249
  // Position selectors must be done after the filter
@@ -5076,8 +5186,8 @@ var ralpha = /alpha\([^)]*\)/i,
5076
5186
  cssHeight = [ "Top", "Bottom" ],
5077
5187
  curCSS,
5078
5188
 
5079
- getComputedStyle,
5080
- currentStyle,
5189
+ // cache check for defaultView.getComputedStyle
5190
+ getComputedStyle = document.defaultView && document.defaultView.getComputedStyle,
5081
5191
 
5082
5192
  fcamelCase = function( all, letter ) {
5083
5193
  return letter.toUpperCase();
@@ -5233,24 +5343,7 @@ jQuery.each(["height", "width"], function( i, name ) {
5233
5343
  });
5234
5344
  }
5235
5345
 
5236
- if ( val <= 0 ) {
5237
- val = curCSS( elem, name, name );
5238
-
5239
- if ( val === "0px" && currentStyle ) {
5240
- val = currentStyle( elem, name, name );
5241
- }
5242
-
5243
- if ( val != null ) {
5244
- return val === "" ? "auto" : val;
5245
- }
5246
- }
5247
-
5248
- if ( val < 0 || val == null ) {
5249
- val = elem.style[ name ];
5250
- return val === "" ? "auto" : val;
5251
- }
5252
-
5253
- return typeof val === "string" ? val : val + "px";
5346
+ return val + "px";
5254
5347
  }
5255
5348
  },
5256
5349
 
@@ -5299,8 +5392,8 @@ if ( !jQuery.support.opacity ) {
5299
5392
  };
5300
5393
  }
5301
5394
 
5302
- if ( document.defaultView && document.defaultView.getComputedStyle ) {
5303
- getComputedStyle = function( elem, newName, name ) {
5395
+ if ( getComputedStyle ) {
5396
+ curCSS = function( elem, newName, name ) {
5304
5397
  var ret, defaultView, computedStyle;
5305
5398
 
5306
5399
  name = name.replace( rupper, "-$1" ).toLowerCase();
@@ -5318,10 +5411,9 @@ if ( document.defaultView && document.defaultView.getComputedStyle ) {
5318
5411
 
5319
5412
  return ret;
5320
5413
  };
5321
- }
5322
5414
 
5323
- if ( document.documentElement.currentStyle ) {
5324
- currentStyle = function( elem, name ) {
5415
+ } else if ( document.documentElement.currentStyle ) {
5416
+ curCSS = function( elem, name ) {
5325
5417
  var left, rsLeft, ret = elem.currentStyle && elem.currentStyle[ name ], style = elem.style;
5326
5418
 
5327
5419
  // From the awesome hack by Dean Edwards
@@ -5344,12 +5436,10 @@ if ( document.documentElement.currentStyle ) {
5344
5436
  elem.runtimeStyle.left = rsLeft;
5345
5437
  }
5346
5438
 
5347
- return ret === "" ? "auto" : ret;
5439
+ return ret;
5348
5440
  };
5349
5441
  }
5350
5442
 
5351
- curCSS = getComputedStyle || currentStyle;
5352
-
5353
5443
  function getWH( elem, name, extra ) {
5354
5444
  var which = name === "width" ? cssWidth : cssHeight,
5355
5445
  val = name === "width" ? elem.offsetWidth : elem.offsetHeight;
@@ -5395,7 +5485,7 @@ var jsc = jQuery.now(),
5395
5485
  rscript = /<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,
5396
5486
  rselectTextarea = /^(?:select|textarea)/i,
5397
5487
  rinput = /^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,
5398
- rnoContent = /^(?:GET|HEAD)$/,
5488
+ rnoContent = /^(?:GET|HEAD|DELETE)$/,
5399
5489
  rbracket = /\[\]$/,
5400
5490
  jsre = /\=\?(&|$)/,
5401
5491
  rquery = /\?/,
@@ -5630,6 +5720,10 @@ jQuery.extend({
5630
5720
  var customJsonp = window[ jsonp ];
5631
5721
 
5632
5722
  window[ jsonp ] = function( tmp ) {
5723
+ data = tmp;
5724
+ jQuery.handleSuccess( s, xhr, status, data );
5725
+ jQuery.handleComplete( s, xhr, status, data );
5726
+
5633
5727
  if ( jQuery.isFunction( customJsonp ) ) {
5634
5728
  customJsonp( tmp );
5635
5729
 
@@ -5641,10 +5735,6 @@ jQuery.extend({
5641
5735
  delete window[ jsonp ];
5642
5736
  } catch( jsonpError ) {}
5643
5737
  }
5644
-
5645
- data = tmp;
5646
- jQuery.handleSuccess( s, xhr, status, data );
5647
- jQuery.handleComplete( s, xhr, status, data );
5648
5738
 
5649
5739
  if ( head ) {
5650
5740
  head.removeChild( script );
@@ -5656,7 +5746,7 @@ jQuery.extend({
5656
5746
  s.cache = false;
5657
5747
  }
5658
5748
 
5659
- if ( s.cache === false && noContent ) {
5749
+ if ( s.cache === false && type === "GET" ) {
5660
5750
  var ts = jQuery.now();
5661
5751
 
5662
5752
  // try replacing _= if it is there
@@ -5666,8 +5756,8 @@ jQuery.extend({
5666
5756
  s.url = ret + ((ret === s.url) ? (rquery.test(s.url) ? "&" : "?") + "_=" + ts : "");
5667
5757
  }
5668
5758
 
5669
- // If data is available, append data to url for GET/HEAD requests
5670
- if ( s.data && noContent ) {
5759
+ // If data is available, append data to url for get requests
5760
+ if ( s.data && type === "GET" ) {
5671
5761
  s.url += (rquery.test(s.url) ? "&" : "?") + s.data;
5672
5762
  }
5673
5763
 
@@ -5678,7 +5768,7 @@ jQuery.extend({
5678
5768
 
5679
5769
  // Matches an absolute URL, and saves the domain
5680
5770
  var parts = rurl.exec( s.url ),
5681
- remote = parts && (parts[1] && parts[1].toLowerCase() !== location.protocol || parts[2].toLowerCase() !== location.host);
5771
+ remote = parts && (parts[1] && parts[1] !== location.protocol || parts[2] !== location.host);
5682
5772
 
5683
5773
  // If we're requesting a remote document
5684
5774
  // and trying to load JSON or Script with a GET
@@ -6125,39 +6215,28 @@ var elemdisplay = {},
6125
6215
 
6126
6216
  jQuery.fn.extend({
6127
6217
  show: function( speed, easing, callback ) {
6128
- var elem, display;
6129
-
6130
6218
  if ( speed || speed === 0 ) {
6131
6219
  return this.animate( genFx("show", 3), speed, easing, callback);
6132
-
6133
6220
  } else {
6134
6221
  for ( var i = 0, j = this.length; i < j; i++ ) {
6135
- elem = this[i];
6136
- display = elem.style.display;
6137
-
6138
6222
  // Reset the inline display of this element to learn if it is
6139
6223
  // being hidden by cascaded rules or not
6140
- if ( !jQuery.data(elem, "olddisplay") && display === "none" ) {
6141
- display = elem.style.display = "";
6224
+ if ( !jQuery.data(this[i], "olddisplay") && this[i].style.display === "none" ) {
6225
+ this[i].style.display = "";
6142
6226
  }
6143
6227
 
6144
6228
  // Set elements which have been overridden with display: none
6145
6229
  // in a stylesheet to whatever the default browser style is
6146
6230
  // for such an element
6147
- if ( display === "" && jQuery.css( elem, "display" ) === "none" ) {
6148
- jQuery.data(elem, "olddisplay", defaultDisplay(elem.nodeName));
6231
+ if ( this[i].style.display === "" && jQuery.css( this[i], "display" ) === "none" ) {
6232
+ jQuery.data(this[i], "olddisplay", defaultDisplay(this[i].nodeName));
6149
6233
  }
6150
6234
  }
6151
6235
 
6152
6236
  // Set the display of most of the elements in a second loop
6153
6237
  // to avoid the constant reflow
6154
6238
  for ( i = 0; i < j; i++ ) {
6155
- elem = this[i];
6156
- display = elem.style.display;
6157
-
6158
- if ( display === "" || display === "none" ) {
6159
- elem.style.display = jQuery.data(elem, "olddisplay") || "";
6160
- }
6239
+ this[i].style.display = jQuery.data(this[i], "olddisplay") || "";
6161
6240
  }
6162
6241
 
6163
6242
  return this;
@@ -6222,7 +6301,7 @@ jQuery.fn.extend({
6222
6301
  }
6223
6302
 
6224
6303
  return this[ optall.queue === false ? "each" : "queue" ](function() {
6225
- // XXX 'this' does not always have a nodeName when running the
6304
+ // XXX this does not always have a nodeName when running the
6226
6305
  // test suite
6227
6306
 
6228
6307
  var opt = jQuery.extend({}, optall), p,
@@ -6295,7 +6374,7 @@ jQuery.fn.extend({
6295
6374
 
6296
6375
  } else {
6297
6376
  var parts = rfxnum.exec(val),
6298
- start = e.cur() || 0;
6377
+ start = e.cur(true) || 0;
6299
6378
 
6300
6379
  if ( parts ) {
6301
6380
  var end = parseFloat( parts[2] ),
@@ -6304,7 +6383,7 @@ jQuery.fn.extend({
6304
6383
  // We need to compute starting value
6305
6384
  if ( unit !== "px" ) {
6306
6385
  jQuery.style( self, name, (end || 1) + unit);
6307
- start = ((end || 1) / e.cur()) * start;
6386
+ start = ((end || 1) / e.cur(true)) * start;
6308
6387
  jQuery.style( self, name, start + unit);
6309
6388
  }
6310
6389
 
@@ -6373,8 +6452,7 @@ jQuery.each({
6373
6452
  slideUp: genFx("hide", 1),
6374
6453
  slideToggle: genFx("toggle", 1),
6375
6454
  fadeIn: { opacity: "show" },
6376
- fadeOut: { opacity: "hide" },
6377
- fadeToggle: { opacity: "toggle" }
6455
+ fadeOut: { opacity: "hide" }
6378
6456
  }, function( name, props ) {
6379
6457
  jQuery.fn[ name ] = function( speed, easing, callback ) {
6380
6458
  return this.animate( props, speed, easing, callback );
@@ -6966,29 +7044,27 @@ jQuery.each([ "Height", "Width" ], function( i, name ) {
6966
7044
  });
6967
7045
  }
6968
7046
 
6969
- if ( jQuery.isWindow( elem ) ) {
7047
+ return jQuery.isWindow( elem ) ?
6970
7048
  // Everyone else use document.documentElement or document.body depending on Quirks vs Standards mode
6971
- return elem.document.compatMode === "CSS1Compat" && elem.document.documentElement[ "client" + name ] ||
6972
- elem.document.body[ "client" + name ];
6973
-
6974
- // Get document width or height
6975
- } else if ( elem.nodeType === 9 ) {
6976
- // Either scroll[Width/Height] or offset[Width/Height], whichever is greater
6977
- return Math.max(
6978
- elem.documentElement["client" + name],
6979
- elem.body["scroll" + name], elem.documentElement["scroll" + name],
6980
- elem.body["offset" + name], elem.documentElement["offset" + name]
6981
- );
6982
-
6983
- // Get or set width or height on the element
6984
- } else if ( size === undefined ) {
6985
- var orig = jQuery.css( elem, type ), ret = parseFloat( orig );
6986
- return jQuery.isNaN( ret ) ? orig : ret;
6987
-
6988
- // Set the width or height on the element (default to pixels if value is unitless)
6989
- } else {
6990
- return this.css( type, typeof size === "string" ? size : size + "px" );
6991
- }
7049
+ elem.document.compatMode === "CSS1Compat" && elem.document.documentElement[ "client" + name ] ||
7050
+ elem.document.body[ "client" + name ] :
7051
+
7052
+ // Get document width or height
7053
+ (elem.nodeType === 9) ? // is it a document
7054
+ // Either scroll[Width/Height] or offset[Width/Height], whichever is greater
7055
+ Math.max(
7056
+ elem.documentElement["client" + name],
7057
+ elem.body["scroll" + name], elem.documentElement["scroll" + name],
7058
+ elem.body["offset" + name], elem.documentElement["offset" + name]
7059
+ ) :
7060
+
7061
+ // Get or set width or height on the element
7062
+ size === undefined ?
7063
+ // Get width or height on the element
7064
+ parseFloat( jQuery.css( elem, type ) ) :
7065
+
7066
+ // Set the width or height on the element (default to pixels if value is unitless)
7067
+ this.css( type, typeof size === "string" ? size : size + "px" );
6992
7068
  };
6993
7069
 
6994
7070
  });