jquery-ui-rails 4.2.1 → 7.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (293) hide show
  1. checksums.yaml +7 -0
  2. data/.gitmodules +1 -1
  3. data/.travis.yml +1 -1
  4. data/History.md +41 -2
  5. data/README.md +100 -83
  6. data/Rakefile +82 -49
  7. data/VERSIONS.md +9 -0
  8. data/app/assets/images/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  9. data/app/assets/images/jquery-ui/ui-icons_444444_256x240.png +0 -0
  10. data/app/assets/images/jquery-ui/ui-icons_555555_256x240.png +0 -0
  11. data/app/assets/images/jquery-ui/ui-icons_777620_256x240.png +0 -0
  12. data/app/assets/images/jquery-ui/ui-icons_777777_256x240.png +0 -0
  13. data/app/assets/images/jquery-ui/ui-icons_cc0000_256x240.png +0 -0
  14. data/app/assets/images/jquery-ui/ui-icons_ffffff_256x240.png +0 -0
  15. data/app/assets/javascripts/jquery-ui/core.js +15 -0
  16. data/app/assets/javascripts/jquery-ui/data.js +45 -0
  17. data/app/assets/javascripts/jquery-ui/disable-selection.js +51 -0
  18. data/app/assets/javascripts/jquery-ui/effect.all.js +15 -0
  19. data/app/assets/javascripts/jquery-ui/effect.js +975 -0
  20. data/app/assets/javascripts/jquery-ui/effects/effect-blind.js +76 -0
  21. data/app/assets/javascripts/jquery-ui/effects/effect-bounce.js +116 -0
  22. data/app/assets/javascripts/jquery-ui/effects/effect-clip.js +71 -0
  23. data/app/assets/javascripts/jquery-ui/effects/effect-drop.js +75 -0
  24. data/app/assets/javascripts/jquery-ui/effects/effect-explode.js +117 -0
  25. data/app/assets/javascripts/jquery-ui/effects/effect-fade.js +53 -0
  26. data/app/assets/javascripts/jquery-ui/effects/effect-fold.js +95 -0
  27. data/app/assets/javascripts/jquery-ui/effects/effect-highlight.js +63 -0
  28. data/app/assets/javascripts/jquery-ui/effects/effect-puff.js +49 -0
  29. data/app/assets/javascripts/jquery-ui/effects/effect-pulsate.js +70 -0
  30. data/app/assets/javascripts/jquery-ui/effects/effect-scale.js +63 -0
  31. data/app/assets/javascripts/jquery-ui/effects/effect-shake.js +80 -0
  32. data/app/assets/javascripts/jquery-ui/effects/effect-size.js +199 -0
  33. data/app/assets/javascripts/jquery-ui/effects/effect-slide.js +82 -0
  34. data/app/assets/javascripts/jquery-ui/effects/effect-transfer.js +46 -0
  35. data/app/assets/javascripts/jquery-ui/focusable.js +89 -0
  36. data/app/assets/javascripts/jquery-ui/form-reset-mixin.js +83 -0
  37. data/app/assets/javascripts/jquery-ui/form.js +25 -0
  38. data/app/assets/javascripts/jquery-ui/i18n/datepicker-af.js +40 -0
  39. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ar-DZ.js +42 -0
  40. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ar.js +42 -0
  41. data/app/assets/javascripts/jquery-ui/i18n/datepicker-az.js +40 -0
  42. data/app/assets/javascripts/jquery-ui/i18n/datepicker-be.js +40 -0
  43. data/app/assets/javascripts/jquery-ui/i18n/datepicker-bg.js +41 -0
  44. data/app/assets/javascripts/jquery-ui/i18n/datepicker-bs.js +40 -0
  45. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ca.js +40 -0
  46. data/app/assets/javascripts/jquery-ui/i18n/datepicker-cs.js +40 -0
  47. data/app/assets/javascripts/jquery-ui/i18n/datepicker-cy-GB.js +48 -0
  48. data/app/assets/javascripts/jquery-ui/i18n/datepicker-da.js +40 -0
  49. data/app/assets/javascripts/jquery-ui/i18n/datepicker-de-AT.js +41 -0
  50. data/app/assets/javascripts/jquery-ui/i18n/datepicker-de.js +40 -0
  51. data/app/assets/javascripts/jquery-ui/i18n/datepicker-el.js +40 -0
  52. data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-AU.js +40 -0
  53. data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-GB.js +40 -0
  54. data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-NZ.js +40 -0
  55. data/app/assets/javascripts/jquery-ui/i18n/datepicker-eo.js +40 -0
  56. data/app/assets/javascripts/jquery-ui/i18n/datepicker-es.js +40 -0
  57. data/app/assets/javascripts/jquery-ui/i18n/datepicker-et.js +48 -0
  58. data/app/assets/javascripts/jquery-ui/i18n/datepicker-eu.js +39 -0
  59. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fa.js +76 -0
  60. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fi.js +40 -0
  61. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fo.js +48 -0
  62. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr-CA.js +40 -0
  63. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr-CH.js +40 -0
  64. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr.js +42 -0
  65. data/app/assets/javascripts/jquery-ui/i18n/datepicker-gl.js +40 -0
  66. data/app/assets/javascripts/jquery-ui/i18n/datepicker-he.js +40 -0
  67. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hi.js +40 -0
  68. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hr.js +40 -0
  69. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hu.js +39 -0
  70. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hy.js +40 -0
  71. data/app/assets/javascripts/jquery-ui/i18n/datepicker-id.js +40 -0
  72. data/app/assets/javascripts/jquery-ui/i18n/datepicker-is.js +48 -0
  73. data/app/assets/javascripts/jquery-ui/i18n/datepicker-it-CH.js +40 -0
  74. data/app/assets/javascripts/jquery-ui/i18n/datepicker-it.js +40 -0
  75. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ja.js +40 -0
  76. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ka.js +51 -0
  77. data/app/assets/javascripts/jquery-ui/i18n/datepicker-kk.js +40 -0
  78. data/app/assets/javascripts/jquery-ui/i18n/datepicker-km.js +40 -0
  79. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ko.js +40 -0
  80. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ky.js +41 -0
  81. data/app/assets/javascripts/jquery-ui/i18n/datepicker-lb.js +48 -0
  82. data/app/assets/javascripts/jquery-ui/i18n/datepicker-lt.js +48 -0
  83. data/app/assets/javascripts/jquery-ui/i18n/datepicker-lv.js +48 -0
  84. data/app/assets/javascripts/jquery-ui/i18n/datepicker-mk.js +40 -0
  85. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ml.js +40 -0
  86. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ms.js +40 -0
  87. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nb.js +52 -0
  88. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nl-BE.js +40 -0
  89. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nl.js +40 -0
  90. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nn.js +52 -0
  91. data/app/assets/javascripts/jquery-ui/i18n/datepicker-no.js +53 -0
  92. data/app/assets/javascripts/jquery-ui/i18n/datepicker-pl.js +40 -0
  93. data/app/assets/javascripts/jquery-ui/i18n/datepicker-pt-BR.js +48 -0
  94. data/app/assets/javascripts/jquery-ui/i18n/datepicker-pt.js +47 -0
  95. data/app/assets/javascripts/jquery-ui/i18n/datepicker-rm.js +64 -0
  96. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ro.js +43 -0
  97. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ru.js +40 -0
  98. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sk.js +40 -0
  99. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sl.js +41 -0
  100. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sq.js +40 -0
  101. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sr-SR.js +40 -0
  102. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sr.js +40 -0
  103. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sv.js +40 -0
  104. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ta.js +56 -0
  105. data/app/assets/javascripts/jquery-ui/i18n/datepicker-th.js +40 -0
  106. data/app/assets/javascripts/jquery-ui/i18n/datepicker-tj.js +40 -0
  107. data/app/assets/javascripts/jquery-ui/i18n/datepicker-tr.js +40 -0
  108. data/app/assets/javascripts/jquery-ui/i18n/datepicker-uk.js +41 -0
  109. data/app/assets/javascripts/jquery-ui/i18n/datepicker-vi.js +40 -0
  110. data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-CN.js +40 -0
  111. data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-HK.js +40 -0
  112. data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-TW.js +40 -0
  113. data/app/assets/javascripts/jquery-ui/ie.js +20 -0
  114. data/app/assets/javascripts/jquery-ui/jquery-patch.js +91 -0
  115. data/app/assets/javascripts/jquery-ui/jquery-var-for-color.js +24 -0
  116. data/app/assets/javascripts/jquery-ui/keycode.js +51 -0
  117. data/app/assets/javascripts/jquery-ui/labels.js +71 -0
  118. data/app/assets/javascripts/jquery-ui/plugin.js +49 -0
  119. data/app/assets/javascripts/{jquery.ui.position.js → jquery-ui/position.js} +120 -108
  120. data/app/assets/javascripts/jquery-ui/safe-active-element.js +46 -0
  121. data/app/assets/javascripts/jquery-ui/safe-blur.js +27 -0
  122. data/app/assets/javascripts/jquery-ui/scroll-parent.js +50 -0
  123. data/app/assets/javascripts/jquery-ui/tabbable.js +41 -0
  124. data/app/assets/javascripts/jquery-ui/unique-id.js +54 -0
  125. data/app/assets/javascripts/jquery-ui/vendor/jquery-color/jquery.color.js +722 -0
  126. data/app/assets/javascripts/jquery-ui/version.js +20 -0
  127. data/app/assets/javascripts/jquery-ui/widget.js +754 -0
  128. data/app/assets/javascripts/{jquery.ui.accordion.js → jquery-ui/widgets/accordion.js} +257 -203
  129. data/app/assets/javascripts/{jquery.ui.autocomplete.js → jquery-ui/widgets/autocomplete.js} +202 -133
  130. data/app/assets/javascripts/jquery-ui/widgets/button.js +454 -0
  131. data/app/assets/javascripts/jquery-ui/widgets/checkboxradio.js +289 -0
  132. data/app/assets/javascripts/jquery-ui/widgets/controlgroup.js +304 -0
  133. data/app/assets/javascripts/jquery-ui/widgets/datepicker.js +2243 -0
  134. data/app/assets/javascripts/jquery-ui/widgets/dialog.js +968 -0
  135. data/app/assets/javascripts/jquery-ui/widgets/draggable.js +1268 -0
  136. data/app/assets/javascripts/jquery-ui/widgets/droppable.js +508 -0
  137. data/app/assets/javascripts/{jquery.ui.menu.js → jquery-ui/widgets/menu.js} +276 -187
  138. data/app/assets/javascripts/jquery-ui/widgets/mouse.js +241 -0
  139. data/app/assets/javascripts/jquery-ui/widgets/progressbar.js +184 -0
  140. data/app/assets/javascripts/jquery-ui/widgets/resizable.js +1225 -0
  141. data/app/assets/javascripts/jquery-ui/widgets/selectable.js +321 -0
  142. data/app/assets/javascripts/jquery-ui/widgets/selectmenu.js +702 -0
  143. data/app/assets/javascripts/{jquery.ui.slider.js → jquery-ui/widgets/slider.js} +254 -174
  144. data/app/assets/javascripts/jquery-ui/widgets/sortable.js +1623 -0
  145. data/app/assets/javascripts/{jquery.ui.spinner.js → jquery-ui/widgets/spinner.js} +206 -119
  146. data/app/assets/javascripts/{jquery.ui.tabs.js → jquery-ui/widgets/tabs.js} +334 -255
  147. data/app/assets/javascripts/jquery-ui/widgets/tooltip.js +530 -0
  148. data/app/assets/javascripts/jquery-ui.js +57 -0
  149. data/app/assets/stylesheets/jquery-ui/accordion.css +26 -0
  150. data/app/assets/stylesheets/{jquery.ui.all.css.erb → jquery-ui/all.css} +4 -4
  151. data/app/assets/stylesheets/{jquery.ui.autocomplete.css.erb → jquery-ui/autocomplete.css} +3 -5
  152. data/app/assets/stylesheets/jquery-ui/base.css +32 -0
  153. data/app/assets/stylesheets/jquery-ui/button.css +85 -0
  154. data/app/assets/stylesheets/jquery-ui/checkboxradio.css +37 -0
  155. data/app/assets/stylesheets/jquery-ui/controlgroup.css +68 -0
  156. data/app/assets/stylesheets/{jquery.ui.core.css.erb → jquery-ui/core.css} +16 -9
  157. data/app/assets/stylesheets/{jquery.ui.datepicker.css.erb → jquery-ui/datepicker.css} +14 -5
  158. data/app/assets/stylesheets/{jquery.ui.dialog.css.erb → jquery-ui/dialog.css} +40 -12
  159. data/app/assets/stylesheets/jquery-ui/draggable.css +15 -0
  160. data/app/assets/stylesheets/jquery-ui/menu.css +67 -0
  161. data/app/assets/stylesheets/jquery-ui/progressbar.css +31 -0
  162. data/app/assets/stylesheets/{jquery.ui.resizable.css.erb → jquery-ui/resizable.css} +5 -4
  163. data/app/assets/stylesheets/{jquery.ui.selectable.css.erb → jquery-ui/selectable.css} +7 -4
  164. data/app/assets/stylesheets/jquery-ui/selectmenu.css +53 -0
  165. data/app/assets/stylesheets/{jquery.ui.slider.css.erb → jquery-ui/slider.css} +7 -6
  166. data/app/assets/stylesheets/jquery-ui/sortable.css +15 -0
  167. data/app/assets/stylesheets/{jquery.ui.spinner.css.erb → jquery-ui/spinner.css} +9 -24
  168. data/app/assets/stylesheets/{jquery.ui.tabs.css.erb → jquery-ui/tabs.css} +3 -4
  169. data/app/assets/stylesheets/{jquery.ui.theme.css.erb → jquery-ui/theme.css.erb} +122 -96
  170. data/app/assets/stylesheets/{jquery.ui.tooltip.css.erb → jquery-ui/tooltip.css} +3 -6
  171. data/app/assets/stylesheets/jquery-ui.css +1 -0
  172. data/lib/jquery/ui/rails/version.rb +2 -2
  173. metadata +180 -166
  174. data/app/assets/images/jquery-ui/animated-overlay.gif +0 -0
  175. data/app/assets/images/jquery-ui/ui-bg_flat_75_ffffff_40x100.png +0 -0
  176. data/app/assets/images/jquery-ui/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  177. data/app/assets/images/jquery-ui/ui-bg_glass_65_ffffff_1x400.png +0 -0
  178. data/app/assets/images/jquery-ui/ui-bg_glass_75_dadada_1x400.png +0 -0
  179. data/app/assets/images/jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  180. data/app/assets/images/jquery-ui/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  181. data/app/assets/images/jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  182. data/app/assets/images/jquery-ui/ui-icons_222222_256x240.png +0 -0
  183. data/app/assets/images/jquery-ui/ui-icons_2e83ff_256x240.png +0 -0
  184. data/app/assets/images/jquery-ui/ui-icons_454545_256x240.png +0 -0
  185. data/app/assets/images/jquery-ui/ui-icons_888888_256x240.png +0 -0
  186. data/app/assets/images/jquery-ui/ui-icons_cd0a0a_256x240.png +0 -0
  187. data/app/assets/javascripts/jquery.ui.all.js +0 -34
  188. data/app/assets/javascripts/jquery.ui.button.js +0 -398
  189. data/app/assets/javascripts/jquery.ui.core.js +0 -320
  190. data/app/assets/javascripts/jquery.ui.datepicker-af.js +0 -23
  191. data/app/assets/javascripts/jquery.ui.datepicker-ar-DZ.js +0 -23
  192. data/app/assets/javascripts/jquery.ui.datepicker-ar.js +0 -23
  193. data/app/assets/javascripts/jquery.ui.datepicker-az.js +0 -23
  194. data/app/assets/javascripts/jquery.ui.datepicker-be.js +0 -23
  195. data/app/assets/javascripts/jquery.ui.datepicker-bg.js +0 -24
  196. data/app/assets/javascripts/jquery.ui.datepicker-bs.js +0 -23
  197. data/app/assets/javascripts/jquery.ui.datepicker-ca.js +0 -23
  198. data/app/assets/javascripts/jquery.ui.datepicker-cs.js +0 -23
  199. data/app/assets/javascripts/jquery.ui.datepicker-cy-GB.js +0 -23
  200. data/app/assets/javascripts/jquery.ui.datepicker-da.js +0 -23
  201. data/app/assets/javascripts/jquery.ui.datepicker-de.js +0 -23
  202. data/app/assets/javascripts/jquery.ui.datepicker-el.js +0 -23
  203. data/app/assets/javascripts/jquery.ui.datepicker-en-AU.js +0 -23
  204. data/app/assets/javascripts/jquery.ui.datepicker-en-GB.js +0 -23
  205. data/app/assets/javascripts/jquery.ui.datepicker-en-NZ.js +0 -23
  206. data/app/assets/javascripts/jquery.ui.datepicker-eo.js +0 -23
  207. data/app/assets/javascripts/jquery.ui.datepicker-es.js +0 -23
  208. data/app/assets/javascripts/jquery.ui.datepicker-et.js +0 -23
  209. data/app/assets/javascripts/jquery.ui.datepicker-eu.js +0 -23
  210. data/app/assets/javascripts/jquery.ui.datepicker-fa.js +0 -59
  211. data/app/assets/javascripts/jquery.ui.datepicker-fi.js +0 -23
  212. data/app/assets/javascripts/jquery.ui.datepicker-fo.js +0 -23
  213. data/app/assets/javascripts/jquery.ui.datepicker-fr-CA.js +0 -23
  214. data/app/assets/javascripts/jquery.ui.datepicker-fr-CH.js +0 -23
  215. data/app/assets/javascripts/jquery.ui.datepicker-fr.js +0 -25
  216. data/app/assets/javascripts/jquery.ui.datepicker-gl.js +0 -23
  217. data/app/assets/javascripts/jquery.ui.datepicker-he.js +0 -23
  218. data/app/assets/javascripts/jquery.ui.datepicker-hi.js +0 -23
  219. data/app/assets/javascripts/jquery.ui.datepicker-hr.js +0 -23
  220. data/app/assets/javascripts/jquery.ui.datepicker-hu.js +0 -23
  221. data/app/assets/javascripts/jquery.ui.datepicker-hy.js +0 -23
  222. data/app/assets/javascripts/jquery.ui.datepicker-id.js +0 -23
  223. data/app/assets/javascripts/jquery.ui.datepicker-is.js +0 -23
  224. data/app/assets/javascripts/jquery.ui.datepicker-it.js +0 -23
  225. data/app/assets/javascripts/jquery.ui.datepicker-ja.js +0 -23
  226. data/app/assets/javascripts/jquery.ui.datepicker-ka.js +0 -21
  227. data/app/assets/javascripts/jquery.ui.datepicker-kk.js +0 -23
  228. data/app/assets/javascripts/jquery.ui.datepicker-km.js +0 -23
  229. data/app/assets/javascripts/jquery.ui.datepicker-ko.js +0 -23
  230. data/app/assets/javascripts/jquery.ui.datepicker-ky.js +0 -24
  231. data/app/assets/javascripts/jquery.ui.datepicker-lb.js +0 -23
  232. data/app/assets/javascripts/jquery.ui.datepicker-lt.js +0 -23
  233. data/app/assets/javascripts/jquery.ui.datepicker-lv.js +0 -23
  234. data/app/assets/javascripts/jquery.ui.datepicker-mk.js +0 -23
  235. data/app/assets/javascripts/jquery.ui.datepicker-ml.js +0 -23
  236. data/app/assets/javascripts/jquery.ui.datepicker-ms.js +0 -23
  237. data/app/assets/javascripts/jquery.ui.datepicker-nb.js +0 -22
  238. data/app/assets/javascripts/jquery.ui.datepicker-nl-BE.js +0 -23
  239. data/app/assets/javascripts/jquery.ui.datepicker-nl.js +0 -23
  240. data/app/assets/javascripts/jquery.ui.datepicker-nn.js +0 -22
  241. data/app/assets/javascripts/jquery.ui.datepicker-no.js +0 -23
  242. data/app/assets/javascripts/jquery.ui.datepicker-pl.js +0 -23
  243. data/app/assets/javascripts/jquery.ui.datepicker-pt-BR.js +0 -23
  244. data/app/assets/javascripts/jquery.ui.datepicker-pt.js +0 -22
  245. data/app/assets/javascripts/jquery.ui.datepicker-rm.js +0 -21
  246. data/app/assets/javascripts/jquery.ui.datepicker-ro.js +0 -26
  247. data/app/assets/javascripts/jquery.ui.datepicker-ru.js +0 -23
  248. data/app/assets/javascripts/jquery.ui.datepicker-sk.js +0 -23
  249. data/app/assets/javascripts/jquery.ui.datepicker-sl.js +0 -24
  250. data/app/assets/javascripts/jquery.ui.datepicker-sq.js +0 -23
  251. data/app/assets/javascripts/jquery.ui.datepicker-sr-SR.js +0 -23
  252. data/app/assets/javascripts/jquery.ui.datepicker-sr.js +0 -23
  253. data/app/assets/javascripts/jquery.ui.datepicker-sv.js +0 -23
  254. data/app/assets/javascripts/jquery.ui.datepicker-ta.js +0 -23
  255. data/app/assets/javascripts/jquery.ui.datepicker-th.js +0 -23
  256. data/app/assets/javascripts/jquery.ui.datepicker-tj.js +0 -23
  257. data/app/assets/javascripts/jquery.ui.datepicker-tr.js +0 -23
  258. data/app/assets/javascripts/jquery.ui.datepicker-uk.js +0 -24
  259. data/app/assets/javascripts/jquery.ui.datepicker-vi.js +0 -23
  260. data/app/assets/javascripts/jquery.ui.datepicker-zh-CN.js +0 -23
  261. data/app/assets/javascripts/jquery.ui.datepicker-zh-HK.js +0 -23
  262. data/app/assets/javascripts/jquery.ui.datepicker-zh-TW.js +0 -23
  263. data/app/assets/javascripts/jquery.ui.datepicker.js +0 -2040
  264. data/app/assets/javascripts/jquery.ui.dialog.js +0 -830
  265. data/app/assets/javascripts/jquery.ui.draggable.js +0 -962
  266. data/app/assets/javascripts/jquery.ui.droppable.js +0 -394
  267. data/app/assets/javascripts/jquery.ui.effect-blind.js +0 -84
  268. data/app/assets/javascripts/jquery.ui.effect-bounce.js +0 -115
  269. data/app/assets/javascripts/jquery.ui.effect-clip.js +0 -69
  270. data/app/assets/javascripts/jquery.ui.effect-drop.js +0 -67
  271. data/app/assets/javascripts/jquery.ui.effect-explode.js +0 -99
  272. data/app/assets/javascripts/jquery.ui.effect-fade.js +0 -32
  273. data/app/assets/javascripts/jquery.ui.effect-fold.js +0 -78
  274. data/app/assets/javascripts/jquery.ui.effect-highlight.js +0 -52
  275. data/app/assets/javascripts/jquery.ui.effect-pulsate.js +0 -65
  276. data/app/assets/javascripts/jquery.ui.effect-scale.js +0 -320
  277. data/app/assets/javascripts/jquery.ui.effect-shake.js +0 -76
  278. data/app/assets/javascripts/jquery.ui.effect-slide.js +0 -66
  279. data/app/assets/javascripts/jquery.ui.effect-transfer.js +0 -49
  280. data/app/assets/javascripts/jquery.ui.effect.all.js +0 -14
  281. data/app/assets/javascripts/jquery.ui.effect.js +0 -1289
  282. data/app/assets/javascripts/jquery.ui.mouse.js +0 -172
  283. data/app/assets/javascripts/jquery.ui.progressbar.js +0 -148
  284. data/app/assets/javascripts/jquery.ui.resizable.js +0 -982
  285. data/app/assets/javascripts/jquery.ui.selectable.js +0 -281
  286. data/app/assets/javascripts/jquery.ui.sortable.js +0 -1293
  287. data/app/assets/javascripts/jquery.ui.tooltip.js +0 -406
  288. data/app/assets/javascripts/jquery.ui.widget.js +0 -521
  289. data/app/assets/stylesheets/jquery.ui.accordion.css.erb +0 -42
  290. data/app/assets/stylesheets/jquery.ui.base.css.erb +0 -27
  291. data/app/assets/stylesheets/jquery.ui.button.css.erb +0 -118
  292. data/app/assets/stylesheets/jquery.ui.menu.css.erb +0 -83
  293. data/app/assets/stylesheets/jquery.ui.progressbar.css.erb +0 -37
@@ -1,67 +0,0 @@
1
- //= require jquery.ui.effect
2
-
3
- /*!
4
- * jQuery UI Effects Drop 1.10.4
5
- * http://jqueryui.com
6
- *
7
- * Copyright 2014 jQuery Foundation and other contributors
8
- * Released under the MIT license.
9
- * http://jquery.org/license
10
- *
11
- * http://api.jqueryui.com/drop-effect/
12
- *
13
- * Depends:
14
- * jquery.ui.effect.js
15
- */
16
- (function( $, undefined ) {
17
-
18
- $.effects.effect.drop = function( o, done ) {
19
-
20
- var el = $( this ),
21
- props = [ "position", "top", "bottom", "left", "right", "opacity", "height", "width" ],
22
- mode = $.effects.setMode( el, o.mode || "hide" ),
23
- show = mode === "show",
24
- direction = o.direction || "left",
25
- ref = ( direction === "up" || direction === "down" ) ? "top" : "left",
26
- motion = ( direction === "up" || direction === "left" ) ? "pos" : "neg",
27
- animation = {
28
- opacity: show ? 1 : 0
29
- },
30
- distance;
31
-
32
- // Adjust
33
- $.effects.save( el, props );
34
- el.show();
35
- $.effects.createWrapper( el );
36
-
37
- distance = o.distance || el[ ref === "top" ? "outerHeight": "outerWidth" ]( true ) / 2;
38
-
39
- if ( show ) {
40
- el
41
- .css( "opacity", 0 )
42
- .css( ref, motion === "pos" ? -distance : distance );
43
- }
44
-
45
- // Animation
46
- animation[ ref ] = ( show ?
47
- ( motion === "pos" ? "+=" : "-=" ) :
48
- ( motion === "pos" ? "-=" : "+=" ) ) +
49
- distance;
50
-
51
- // Animate
52
- el.animate( animation, {
53
- queue: false,
54
- duration: o.duration,
55
- easing: o.easing,
56
- complete: function() {
57
- if ( mode === "hide" ) {
58
- el.hide();
59
- }
60
- $.effects.restore( el, props );
61
- $.effects.removeWrapper( el );
62
- done();
63
- }
64
- });
65
- };
66
-
67
- })(jQuery);
@@ -1,99 +0,0 @@
1
- //= require jquery.ui.effect
2
-
3
- /*!
4
- * jQuery UI Effects Explode 1.10.4
5
- * http://jqueryui.com
6
- *
7
- * Copyright 2014 jQuery Foundation and other contributors
8
- * Released under the MIT license.
9
- * http://jquery.org/license
10
- *
11
- * http://api.jqueryui.com/explode-effect/
12
- *
13
- * Depends:
14
- * jquery.ui.effect.js
15
- */
16
- (function( $, undefined ) {
17
-
18
- $.effects.effect.explode = function( o, done ) {
19
-
20
- var rows = o.pieces ? Math.round( Math.sqrt( o.pieces ) ) : 3,
21
- cells = rows,
22
- el = $( this ),
23
- mode = $.effects.setMode( el, o.mode || "hide" ),
24
- show = mode === "show",
25
-
26
- // show and then visibility:hidden the element before calculating offset
27
- offset = el.show().css( "visibility", "hidden" ).offset(),
28
-
29
- // width and height of a piece
30
- width = Math.ceil( el.outerWidth() / cells ),
31
- height = Math.ceil( el.outerHeight() / rows ),
32
- pieces = [],
33
-
34
- // loop
35
- i, j, left, top, mx, my;
36
-
37
- // children animate complete:
38
- function childComplete() {
39
- pieces.push( this );
40
- if ( pieces.length === rows * cells ) {
41
- animComplete();
42
- }
43
- }
44
-
45
- // clone the element for each row and cell.
46
- for( i = 0; i < rows ; i++ ) { // ===>
47
- top = offset.top + i * height;
48
- my = i - ( rows - 1 ) / 2 ;
49
-
50
- for( j = 0; j < cells ; j++ ) { // |||
51
- left = offset.left + j * width;
52
- mx = j - ( cells - 1 ) / 2 ;
53
-
54
- // Create a clone of the now hidden main element that will be absolute positioned
55
- // within a wrapper div off the -left and -top equal to size of our pieces
56
- el
57
- .clone()
58
- .appendTo( "body" )
59
- .wrap( "<div></div>" )
60
- .css({
61
- position: "absolute",
62
- visibility: "visible",
63
- left: -j * width,
64
- top: -i * height
65
- })
66
-
67
- // select the wrapper - make it overflow: hidden and absolute positioned based on
68
- // where the original was located +left and +top equal to the size of pieces
69
- .parent()
70
- .addClass( "ui-effects-explode" )
71
- .css({
72
- position: "absolute",
73
- overflow: "hidden",
74
- width: width,
75
- height: height,
76
- left: left + ( show ? mx * width : 0 ),
77
- top: top + ( show ? my * height : 0 ),
78
- opacity: show ? 0 : 1
79
- }).animate({
80
- left: left + ( show ? 0 : mx * width ),
81
- top: top + ( show ? 0 : my * height ),
82
- opacity: show ? 1 : 0
83
- }, o.duration || 500, o.easing, childComplete );
84
- }
85
- }
86
-
87
- function animComplete() {
88
- el.css({
89
- visibility: "visible"
90
- });
91
- $( pieces ).remove();
92
- if ( !show ) {
93
- el.hide();
94
- }
95
- done();
96
- }
97
- };
98
-
99
- })(jQuery);
@@ -1,32 +0,0 @@
1
- //= require jquery.ui.effect
2
-
3
- /*!
4
- * jQuery UI Effects Fade 1.10.4
5
- * http://jqueryui.com
6
- *
7
- * Copyright 2014 jQuery Foundation and other contributors
8
- * Released under the MIT license.
9
- * http://jquery.org/license
10
- *
11
- * http://api.jqueryui.com/fade-effect/
12
- *
13
- * Depends:
14
- * jquery.ui.effect.js
15
- */
16
- (function( $, undefined ) {
17
-
18
- $.effects.effect.fade = function( o, done ) {
19
- var el = $( this ),
20
- mode = $.effects.setMode( el, o.mode || "toggle" );
21
-
22
- el.animate({
23
- opacity: mode
24
- }, {
25
- queue: false,
26
- duration: o.duration,
27
- easing: o.easing,
28
- complete: done
29
- });
30
- };
31
-
32
- })( jQuery );
@@ -1,78 +0,0 @@
1
- //= require jquery.ui.effect
2
-
3
- /*!
4
- * jQuery UI Effects Fold 1.10.4
5
- * http://jqueryui.com
6
- *
7
- * Copyright 2014 jQuery Foundation and other contributors
8
- * Released under the MIT license.
9
- * http://jquery.org/license
10
- *
11
- * http://api.jqueryui.com/fold-effect/
12
- *
13
- * Depends:
14
- * jquery.ui.effect.js
15
- */
16
- (function( $, undefined ) {
17
-
18
- $.effects.effect.fold = function( o, done ) {
19
-
20
- // Create element
21
- var el = $( this ),
22
- props = [ "position", "top", "bottom", "left", "right", "height", "width" ],
23
- mode = $.effects.setMode( el, o.mode || "hide" ),
24
- show = mode === "show",
25
- hide = mode === "hide",
26
- size = o.size || 15,
27
- percent = /([0-9]+)%/.exec( size ),
28
- horizFirst = !!o.horizFirst,
29
- widthFirst = show !== horizFirst,
30
- ref = widthFirst ? [ "width", "height" ] : [ "height", "width" ],
31
- duration = o.duration / 2,
32
- wrapper, distance,
33
- animation1 = {},
34
- animation2 = {};
35
-
36
- $.effects.save( el, props );
37
- el.show();
38
-
39
- // Create Wrapper
40
- wrapper = $.effects.createWrapper( el ).css({
41
- overflow: "hidden"
42
- });
43
- distance = widthFirst ?
44
- [ wrapper.width(), wrapper.height() ] :
45
- [ wrapper.height(), wrapper.width() ];
46
-
47
- if ( percent ) {
48
- size = parseInt( percent[ 1 ], 10 ) / 100 * distance[ hide ? 0 : 1 ];
49
- }
50
- if ( show ) {
51
- wrapper.css( horizFirst ? {
52
- height: 0,
53
- width: size
54
- } : {
55
- height: size,
56
- width: 0
57
- });
58
- }
59
-
60
- // Animation
61
- animation1[ ref[ 0 ] ] = show ? distance[ 0 ] : size;
62
- animation2[ ref[ 1 ] ] = show ? distance[ 1 ] : 0;
63
-
64
- // Animate
65
- wrapper
66
- .animate( animation1, duration, o.easing )
67
- .animate( animation2, duration, o.easing, function() {
68
- if ( hide ) {
69
- el.hide();
70
- }
71
- $.effects.restore( el, props );
72
- $.effects.removeWrapper( el );
73
- done();
74
- });
75
-
76
- };
77
-
78
- })(jQuery);
@@ -1,52 +0,0 @@
1
- //= require jquery.ui.effect
2
-
3
- /*!
4
- * jQuery UI Effects Highlight 1.10.4
5
- * http://jqueryui.com
6
- *
7
- * Copyright 2014 jQuery Foundation and other contributors
8
- * Released under the MIT license.
9
- * http://jquery.org/license
10
- *
11
- * http://api.jqueryui.com/highlight-effect/
12
- *
13
- * Depends:
14
- * jquery.ui.effect.js
15
- */
16
- (function( $, undefined ) {
17
-
18
- $.effects.effect.highlight = function( o, done ) {
19
- var elem = $( this ),
20
- props = [ "backgroundImage", "backgroundColor", "opacity" ],
21
- mode = $.effects.setMode( elem, o.mode || "show" ),
22
- animation = {
23
- backgroundColor: elem.css( "backgroundColor" )
24
- };
25
-
26
- if (mode === "hide") {
27
- animation.opacity = 0;
28
- }
29
-
30
- $.effects.save( elem, props );
31
-
32
- elem
33
- .show()
34
- .css({
35
- backgroundImage: "none",
36
- backgroundColor: o.color || "#ffff99"
37
- })
38
- .animate( animation, {
39
- queue: false,
40
- duration: o.duration,
41
- easing: o.easing,
42
- complete: function() {
43
- if ( mode === "hide" ) {
44
- elem.hide();
45
- }
46
- $.effects.restore( elem, props );
47
- done();
48
- }
49
- });
50
- };
51
-
52
- })(jQuery);
@@ -1,65 +0,0 @@
1
- //= require jquery.ui.effect
2
-
3
- /*!
4
- * jQuery UI Effects Pulsate 1.10.4
5
- * http://jqueryui.com
6
- *
7
- * Copyright 2014 jQuery Foundation and other contributors
8
- * Released under the MIT license.
9
- * http://jquery.org/license
10
- *
11
- * http://api.jqueryui.com/pulsate-effect/
12
- *
13
- * Depends:
14
- * jquery.ui.effect.js
15
- */
16
- (function( $, undefined ) {
17
-
18
- $.effects.effect.pulsate = function( o, done ) {
19
- var elem = $( this ),
20
- mode = $.effects.setMode( elem, o.mode || "show" ),
21
- show = mode === "show",
22
- hide = mode === "hide",
23
- showhide = ( show || mode === "hide" ),
24
-
25
- // showing or hiding leaves of the "last" animation
26
- anims = ( ( o.times || 5 ) * 2 ) + ( showhide ? 1 : 0 ),
27
- duration = o.duration / anims,
28
- animateTo = 0,
29
- queue = elem.queue(),
30
- queuelen = queue.length,
31
- i;
32
-
33
- if ( show || !elem.is(":visible")) {
34
- elem.css( "opacity", 0 ).show();
35
- animateTo = 1;
36
- }
37
-
38
- // anims - 1 opacity "toggles"
39
- for ( i = 1; i < anims; i++ ) {
40
- elem.animate({
41
- opacity: animateTo
42
- }, duration, o.easing );
43
- animateTo = 1 - animateTo;
44
- }
45
-
46
- elem.animate({
47
- opacity: animateTo
48
- }, duration, o.easing);
49
-
50
- elem.queue(function() {
51
- if ( hide ) {
52
- elem.hide();
53
- }
54
- done();
55
- });
56
-
57
- // We just queued up "anims" animations, we need to put them next in the queue
58
- if ( queuelen > 1 ) {
59
- queue.splice.apply( queue,
60
- [ 1, 0 ].concat( queue.splice( queuelen, anims + 1 ) ) );
61
- }
62
- elem.dequeue();
63
- };
64
-
65
- })(jQuery);
@@ -1,320 +0,0 @@
1
- //= require jquery.ui.effect
2
-
3
- /*!
4
- * jQuery UI Effects Scale 1.10.4
5
- * http://jqueryui.com
6
- *
7
- * Copyright 2014 jQuery Foundation and other contributors
8
- * Released under the MIT license.
9
- * http://jquery.org/license
10
- *
11
- * http://api.jqueryui.com/scale-effect/
12
- *
13
- * Depends:
14
- * jquery.ui.effect.js
15
- */
16
- (function( $, undefined ) {
17
-
18
- $.effects.effect.puff = function( o, done ) {
19
- var elem = $( this ),
20
- mode = $.effects.setMode( elem, o.mode || "hide" ),
21
- hide = mode === "hide",
22
- percent = parseInt( o.percent, 10 ) || 150,
23
- factor = percent / 100,
24
- original = {
25
- height: elem.height(),
26
- width: elem.width(),
27
- outerHeight: elem.outerHeight(),
28
- outerWidth: elem.outerWidth()
29
- };
30
-
31
- $.extend( o, {
32
- effect: "scale",
33
- queue: false,
34
- fade: true,
35
- mode: mode,
36
- complete: done,
37
- percent: hide ? percent : 100,
38
- from: hide ?
39
- original :
40
- {
41
- height: original.height * factor,
42
- width: original.width * factor,
43
- outerHeight: original.outerHeight * factor,
44
- outerWidth: original.outerWidth * factor
45
- }
46
- });
47
-
48
- elem.effect( o );
49
- };
50
-
51
- $.effects.effect.scale = function( o, done ) {
52
-
53
- // Create element
54
- var el = $( this ),
55
- options = $.extend( true, {}, o ),
56
- mode = $.effects.setMode( el, o.mode || "effect" ),
57
- percent = parseInt( o.percent, 10 ) ||
58
- ( parseInt( o.percent, 10 ) === 0 ? 0 : ( mode === "hide" ? 0 : 100 ) ),
59
- direction = o.direction || "both",
60
- origin = o.origin,
61
- original = {
62
- height: el.height(),
63
- width: el.width(),
64
- outerHeight: el.outerHeight(),
65
- outerWidth: el.outerWidth()
66
- },
67
- factor = {
68
- y: direction !== "horizontal" ? (percent / 100) : 1,
69
- x: direction !== "vertical" ? (percent / 100) : 1
70
- };
71
-
72
- // We are going to pass this effect to the size effect:
73
- options.effect = "size";
74
- options.queue = false;
75
- options.complete = done;
76
-
77
- // Set default origin and restore for show/hide
78
- if ( mode !== "effect" ) {
79
- options.origin = origin || ["middle","center"];
80
- options.restore = true;
81
- }
82
-
83
- options.from = o.from || ( mode === "show" ? {
84
- height: 0,
85
- width: 0,
86
- outerHeight: 0,
87
- outerWidth: 0
88
- } : original );
89
- options.to = {
90
- height: original.height * factor.y,
91
- width: original.width * factor.x,
92
- outerHeight: original.outerHeight * factor.y,
93
- outerWidth: original.outerWidth * factor.x
94
- };
95
-
96
- // Fade option to support puff
97
- if ( options.fade ) {
98
- if ( mode === "show" ) {
99
- options.from.opacity = 0;
100
- options.to.opacity = 1;
101
- }
102
- if ( mode === "hide" ) {
103
- options.from.opacity = 1;
104
- options.to.opacity = 0;
105
- }
106
- }
107
-
108
- // Animate
109
- el.effect( options );
110
-
111
- };
112
-
113
- $.effects.effect.size = function( o, done ) {
114
-
115
- // Create element
116
- var original, baseline, factor,
117
- el = $( this ),
118
- props0 = [ "position", "top", "bottom", "left", "right", "width", "height", "overflow", "opacity" ],
119
-
120
- // Always restore
121
- props1 = [ "position", "top", "bottom", "left", "right", "overflow", "opacity" ],
122
-
123
- // Copy for children
124
- props2 = [ "width", "height", "overflow" ],
125
- cProps = [ "fontSize" ],
126
- vProps = [ "borderTopWidth", "borderBottomWidth", "paddingTop", "paddingBottom" ],
127
- hProps = [ "borderLeftWidth", "borderRightWidth", "paddingLeft", "paddingRight" ],
128
-
129
- // Set options
130
- mode = $.effects.setMode( el, o.mode || "effect" ),
131
- restore = o.restore || mode !== "effect",
132
- scale = o.scale || "both",
133
- origin = o.origin || [ "middle", "center" ],
134
- position = el.css( "position" ),
135
- props = restore ? props0 : props1,
136
- zero = {
137
- height: 0,
138
- width: 0,
139
- outerHeight: 0,
140
- outerWidth: 0
141
- };
142
-
143
- if ( mode === "show" ) {
144
- el.show();
145
- }
146
- original = {
147
- height: el.height(),
148
- width: el.width(),
149
- outerHeight: el.outerHeight(),
150
- outerWidth: el.outerWidth()
151
- };
152
-
153
- if ( o.mode === "toggle" && mode === "show" ) {
154
- el.from = o.to || zero;
155
- el.to = o.from || original;
156
- } else {
157
- el.from = o.from || ( mode === "show" ? zero : original );
158
- el.to = o.to || ( mode === "hide" ? zero : original );
159
- }
160
-
161
- // Set scaling factor
162
- factor = {
163
- from: {
164
- y: el.from.height / original.height,
165
- x: el.from.width / original.width
166
- },
167
- to: {
168
- y: el.to.height / original.height,
169
- x: el.to.width / original.width
170
- }
171
- };
172
-
173
- // Scale the css box
174
- if ( scale === "box" || scale === "both" ) {
175
-
176
- // Vertical props scaling
177
- if ( factor.from.y !== factor.to.y ) {
178
- props = props.concat( vProps );
179
- el.from = $.effects.setTransition( el, vProps, factor.from.y, el.from );
180
- el.to = $.effects.setTransition( el, vProps, factor.to.y, el.to );
181
- }
182
-
183
- // Horizontal props scaling
184
- if ( factor.from.x !== factor.to.x ) {
185
- props = props.concat( hProps );
186
- el.from = $.effects.setTransition( el, hProps, factor.from.x, el.from );
187
- el.to = $.effects.setTransition( el, hProps, factor.to.x, el.to );
188
- }
189
- }
190
-
191
- // Scale the content
192
- if ( scale === "content" || scale === "both" ) {
193
-
194
- // Vertical props scaling
195
- if ( factor.from.y !== factor.to.y ) {
196
- props = props.concat( cProps ).concat( props2 );
197
- el.from = $.effects.setTransition( el, cProps, factor.from.y, el.from );
198
- el.to = $.effects.setTransition( el, cProps, factor.to.y, el.to );
199
- }
200
- }
201
-
202
- $.effects.save( el, props );
203
- el.show();
204
- $.effects.createWrapper( el );
205
- el.css( "overflow", "hidden" ).css( el.from );
206
-
207
- // Adjust
208
- if (origin) { // Calculate baseline shifts
209
- baseline = $.effects.getBaseline( origin, original );
210
- el.from.top = ( original.outerHeight - el.outerHeight() ) * baseline.y;
211
- el.from.left = ( original.outerWidth - el.outerWidth() ) * baseline.x;
212
- el.to.top = ( original.outerHeight - el.to.outerHeight ) * baseline.y;
213
- el.to.left = ( original.outerWidth - el.to.outerWidth ) * baseline.x;
214
- }
215
- el.css( el.from ); // set top & left
216
-
217
- // Animate
218
- if ( scale === "content" || scale === "both" ) { // Scale the children
219
-
220
- // Add margins/font-size
221
- vProps = vProps.concat([ "marginTop", "marginBottom" ]).concat(cProps);
222
- hProps = hProps.concat([ "marginLeft", "marginRight" ]);
223
- props2 = props0.concat(vProps).concat(hProps);
224
-
225
- el.find( "*[width]" ).each( function(){
226
- var child = $( this ),
227
- c_original = {
228
- height: child.height(),
229
- width: child.width(),
230
- outerHeight: child.outerHeight(),
231
- outerWidth: child.outerWidth()
232
- };
233
- if (restore) {
234
- $.effects.save(child, props2);
235
- }
236
-
237
- child.from = {
238
- height: c_original.height * factor.from.y,
239
- width: c_original.width * factor.from.x,
240
- outerHeight: c_original.outerHeight * factor.from.y,
241
- outerWidth: c_original.outerWidth * factor.from.x
242
- };
243
- child.to = {
244
- height: c_original.height * factor.to.y,
245
- width: c_original.width * factor.to.x,
246
- outerHeight: c_original.height * factor.to.y,
247
- outerWidth: c_original.width * factor.to.x
248
- };
249
-
250
- // Vertical props scaling
251
- if ( factor.from.y !== factor.to.y ) {
252
- child.from = $.effects.setTransition( child, vProps, factor.from.y, child.from );
253
- child.to = $.effects.setTransition( child, vProps, factor.to.y, child.to );
254
- }
255
-
256
- // Horizontal props scaling
257
- if ( factor.from.x !== factor.to.x ) {
258
- child.from = $.effects.setTransition( child, hProps, factor.from.x, child.from );
259
- child.to = $.effects.setTransition( child, hProps, factor.to.x, child.to );
260
- }
261
-
262
- // Animate children
263
- child.css( child.from );
264
- child.animate( child.to, o.duration, o.easing, function() {
265
-
266
- // Restore children
267
- if ( restore ) {
268
- $.effects.restore( child, props2 );
269
- }
270
- });
271
- });
272
- }
273
-
274
- // Animate
275
- el.animate( el.to, {
276
- queue: false,
277
- duration: o.duration,
278
- easing: o.easing,
279
- complete: function() {
280
- if ( el.to.opacity === 0 ) {
281
- el.css( "opacity", el.from.opacity );
282
- }
283
- if( mode === "hide" ) {
284
- el.hide();
285
- }
286
- $.effects.restore( el, props );
287
- if ( !restore ) {
288
-
289
- // we need to calculate our new positioning based on the scaling
290
- if ( position === "static" ) {
291
- el.css({
292
- position: "relative",
293
- top: el.to.top,
294
- left: el.to.left
295
- });
296
- } else {
297
- $.each([ "top", "left" ], function( idx, pos ) {
298
- el.css( pos, function( _, str ) {
299
- var val = parseInt( str, 10 ),
300
- toRef = idx ? el.to.left : el.to.top;
301
-
302
- // if original was "auto", recalculate the new value from wrapper
303
- if ( str === "auto" ) {
304
- return toRef + "px";
305
- }
306
-
307
- return val + toRef + "px";
308
- });
309
- });
310
- }
311
- }
312
-
313
- $.effects.removeWrapper( el );
314
- done();
315
- }
316
- });
317
-
318
- };
319
-
320
- })(jQuery);