hydroponics 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (410) hide show
  1. data/README.rdoc +2 -2
  2. data/Rakefile +1 -0
  3. data/VERSION +1 -1
  4. data/bin/hydro +19 -5
  5. data/hydroponics.gemspec +409 -3
  6. data/lib/db_remote.rb +23 -0
  7. data/lib/hydroponics.rb +17 -4
  8. data/lib/views/index.erb +26 -0
  9. data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  10. data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  11. data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  12. data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  13. data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  14. data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  15. data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  16. data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  17. data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-icons_222222_256x240.png +0 -0
  18. data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  19. data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-icons_454545_256x240.png +0 -0
  20. data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-icons_888888_256x240.png +0 -0
  21. data/static/jquery-ui-1.8.5.custom/css/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  22. data/static/jquery-ui-1.8.5.custom/css/smoothness/jquery-ui-1.8.5.custom.css +572 -0
  23. data/static/jquery-ui-1.8.5.custom/development-bundle/AUTHORS.txt +30 -0
  24. data/static/jquery-ui-1.8.5.custom/development-bundle/GPL-LICENSE.txt +278 -0
  25. data/static/jquery-ui-1.8.5.custom/development-bundle/MIT-LICENSE.txt +25 -0
  26. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/accordion/collapsible.html +57 -0
  27. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/accordion/custom-icons.html +69 -0
  28. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/accordion/default.html +85 -0
  29. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/accordion/fillspace.html +76 -0
  30. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/accordion/hoverintent.html +134 -0
  31. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/accordion/index.html +25 -0
  32. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/accordion/mouseover.html +57 -0
  33. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/accordion/no-auto-height.html +60 -0
  34. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/accordion/sortable.html +83 -0
  35. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/addClass/default.html +52 -0
  36. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/addClass/index.html +18 -0
  37. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/animate/default.html +61 -0
  38. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/animate/index.html +18 -0
  39. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/categories.html +71 -0
  40. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/combobox.html +163 -0
  41. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/custom-data.html +95 -0
  42. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/default.html +64 -0
  43. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/folding.html +62 -0
  44. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/images/jquery_32x32.png +0 -0
  45. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/images/jqueryui_32x32.png +0 -0
  46. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/images/sizzlejs_32x32.png +0 -0
  47. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/images/transparent_1x1.png +0 -0
  48. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/images/ui-anim_basic_16x16.gif +0 -0
  49. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/index.html +27 -0
  50. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/london.xml +114 -0
  51. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/maxheight.html +75 -0
  52. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/multiple-remote.html +76 -0
  53. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/multiple.html +91 -0
  54. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/remote-jsonp.html +86 -0
  55. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/remote-with-cache.html +59 -0
  56. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/remote.html +59 -0
  57. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/search.php +640 -0
  58. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/autocomplete/xml.html +72 -0
  59. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/button/checkbox.html +44 -0
  60. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/button/default.html +38 -0
  61. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/button/icons.html +56 -0
  62. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/button/index.html +23 -0
  63. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/button/radio.html +39 -0
  64. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/button/splitbutton.html +55 -0
  65. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/button/toolbar.html +120 -0
  66. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/alt-field.html +36 -0
  67. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/animation.html +58 -0
  68. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/buttonbar.html +35 -0
  69. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/date-formats.html +47 -0
  70. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/default.html +33 -0
  71. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/dropdown-month-year.html +36 -0
  72. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/event-search.html +49 -0
  73. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/icon-trigger.html +37 -0
  74. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/images/calendar.gif +0 -0
  75. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/index.html +31 -0
  76. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/inline.html +33 -0
  77. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/localization.html +146 -0
  78. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/min-max.html +33 -0
  79. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/multiple-calendars.html +36 -0
  80. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/other-months.html +37 -0
  81. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/datepicker/show-week.html +39 -0
  82. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/demos.css +334 -0
  83. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/dialog/animated.html +56 -0
  84. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/dialog/default.html +54 -0
  85. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/dialog/index.html +23 -0
  86. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/dialog/modal-confirmation.html +69 -0
  87. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/dialog/modal-form.html +167 -0
  88. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/dialog/modal-message.html +71 -0
  89. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/dialog/modal.html +60 -0
  90. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/constrain-movement.html +69 -0
  91. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/cursor-style.html +49 -0
  92. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/default.html +39 -0
  93. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/delay-start.html +45 -0
  94. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/events.html +77 -0
  95. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/handle.html +50 -0
  96. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/index.html +28 -0
  97. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/revert.html +44 -0
  98. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/scroll.html +51 -0
  99. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/snap-to.html +68 -0
  100. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/sortable.html +57 -0
  101. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/draggable/visual-feedback.html +77 -0
  102. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/accepted-elements.html +60 -0
  103. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/default.html +53 -0
  104. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/images/high_tatras.jpg +0 -0
  105. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/images/high_tatras2.jpg +0 -0
  106. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/images/high_tatras2_min.jpg +0 -0
  107. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/images/high_tatras3.jpg +0 -0
  108. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/images/high_tatras3_min.jpg +0 -0
  109. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/images/high_tatras4.jpg +0 -0
  110. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/images/high_tatras4_min.jpg +0 -0
  111. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/images/high_tatras_min.jpg +0 -0
  112. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/index.html +24 -0
  113. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/photo-manager.html +184 -0
  114. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/propagation.html +80 -0
  115. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/revert.html +61 -0
  116. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/shopping-cart.html +101 -0
  117. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/droppable/visual-feedback.html +78 -0
  118. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/effect/default.html +109 -0
  119. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/effect/easing.html +107 -0
  120. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/effect/index.html +19 -0
  121. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/hide/default.html +102 -0
  122. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/hide/index.html +18 -0
  123. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/images/calendar.gif +0 -0
  124. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/images/demo-config-on-tile.gif +0 -0
  125. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/images/demo-config-on.gif +0 -0
  126. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/images/demo-spindown-closed.gif +0 -0
  127. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/images/demo-spindown-open.gif +0 -0
  128. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/images/icon-docs-info.gif +0 -0
  129. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/images/pbar-ani.gif +0 -0
  130. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/index.html +314 -0
  131. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/position/cycler.html +122 -0
  132. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/position/default.html +153 -0
  133. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/position/images/earth.jpg +0 -0
  134. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/position/images/flight.jpg +0 -0
  135. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/position/images/rocket.jpg +0 -0
  136. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/position/index.html +19 -0
  137. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/progressbar/animated.html +44 -0
  138. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/progressbar/default.html +35 -0
  139. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/progressbar/images/pbar-ani.gif +0 -0
  140. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/progressbar/index.html +20 -0
  141. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/progressbar/resize.html +40 -0
  142. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/removeClass/default.html +52 -0
  143. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/removeClass/index.html +18 -0
  144. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/animate.html +41 -0
  145. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/aspect-ratio.html +40 -0
  146. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/constrain-area.html +45 -0
  147. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/default.html +38 -0
  148. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/delay-start.html +52 -0
  149. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/helper.html +41 -0
  150. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/index.html +28 -0
  151. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/max-min.html +43 -0
  152. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/snap-to-grid.html +40 -0
  153. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/synchronous-resize.html +47 -0
  154. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/textarea.html +39 -0
  155. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/resizable/visual-feedback.html +41 -0
  156. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/selectable/default.html +48 -0
  157. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/selectable/display-grid.html +53 -0
  158. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/selectable/index.html +20 -0
  159. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/selectable/serialize.html +59 -0
  160. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/show/default.html +103 -0
  161. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/show/index.html +18 -0
  162. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/colorpicker.html +95 -0
  163. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/default.html +37 -0
  164. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/hotelrooms.html +59 -0
  165. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/index.html +29 -0
  166. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/multiple-vertical.html +77 -0
  167. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/range-vertical.html +50 -0
  168. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/range.html +51 -0
  169. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/rangemax.html +50 -0
  170. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/rangemin.html +51 -0
  171. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/side-scroll.html +138 -0
  172. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/slider-vertical.html +52 -0
  173. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/steps.html +51 -0
  174. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/slider/tabs.html +67 -0
  175. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/sortable/connect-lists-through-tabs.html +79 -0
  176. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/sortable/connect-lists.html +58 -0
  177. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/sortable/default.html +51 -0
  178. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/sortable/delay-start.html +67 -0
  179. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/sortable/display-grid.html +54 -0
  180. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/sortable/empty-lists.html +69 -0
  181. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/sortable/index.html +26 -0
  182. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/sortable/items.html +71 -0
  183. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/sortable/placeholder.html +56 -0
  184. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/sortable/portlets.html +96 -0
  185. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/switchClass/default.html +48 -0
  186. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/switchClass/index.html +18 -0
  187. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/ajax/content1.html +4 -0
  188. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/ajax/content2.html +4 -0
  189. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/ajax/content3-slow.php +7 -0
  190. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/ajax/content4-broken.php +3 -0
  191. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/ajax.html +51 -0
  192. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/bottom.html +60 -0
  193. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/collapsible.html +56 -0
  194. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/cookie.html +57 -0
  195. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/default.html +49 -0
  196. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/index.html +25 -0
  197. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/manipulation.html +121 -0
  198. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/mouseover.html +54 -0
  199. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/sortable.html +65 -0
  200. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/tabs/vertical.html +64 -0
  201. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/toggle/default.html +92 -0
  202. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/toggle/index.html +18 -0
  203. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/toggleClass/default.html +46 -0
  204. data/static/jquery-ui-1.8.5.custom/development-bundle/demos/toggleClass/index.html +18 -0
  205. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/accordion.html +977 -0
  206. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/addClass.html +109 -0
  207. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/animate.html +78 -0
  208. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/autocomplete.html +710 -0
  209. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/button.html +461 -0
  210. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/datepicker.html +2531 -0
  211. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/dialog.html +1603 -0
  212. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/draggable.html +1536 -0
  213. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/droppable.html +788 -0
  214. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/effect.html +143 -0
  215. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/hide.html +144 -0
  216. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/position.html +226 -0
  217. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/progressbar.html +381 -0
  218. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/removeClass.html +113 -0
  219. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/resizable.html +1160 -0
  220. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/selectable.html +807 -0
  221. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/show.html +144 -0
  222. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/slider.html +821 -0
  223. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/sortable.html +1910 -0
  224. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/switchClass.html +129 -0
  225. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/tabs.html +1513 -0
  226. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/toggle.html +144 -0
  227. data/static/jquery-ui-1.8.5.custom/development-bundle/docs/toggleClass.html +111 -0
  228. data/static/jquery-ui-1.8.5.custom/development-bundle/external/jquery.bgiframe-2.1.1.js +10 -0
  229. data/static/jquery-ui-1.8.5.custom/development-bundle/external/jquery.cookie.js +89 -0
  230. data/static/jquery-ui-1.8.5.custom/development-bundle/external/jquery.metadata.js +122 -0
  231. data/static/jquery-ui-1.8.5.custom/development-bundle/external/qunit.css +153 -0
  232. data/static/jquery-ui-1.8.5.custom/development-bundle/external/qunit.js +1261 -0
  233. data/static/jquery-ui-1.8.5.custom/development-bundle/jquery-1.4.2.js +6240 -0
  234. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  235. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  236. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  237. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  238. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  239. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  240. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  241. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  242. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-icons_222222_256x240.png +0 -0
  243. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-icons_2e83ff_256x240.png +0 -0
  244. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-icons_454545_256x240.png +0 -0
  245. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-icons_888888_256x240.png +0 -0
  246. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/images/ui-icons_cd0a0a_256x240.png +0 -0
  247. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.accordion.css +19 -0
  248. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.all.css +11 -0
  249. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.autocomplete.css +53 -0
  250. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.base.css +11 -0
  251. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.button.css +38 -0
  252. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.core.css +41 -0
  253. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.datepicker.css +68 -0
  254. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.dialog.css +21 -0
  255. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.progressbar.css +11 -0
  256. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.resizable.css +20 -0
  257. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.selectable.css +10 -0
  258. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.slider.css +24 -0
  259. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.tabs.css +18 -0
  260. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/base/jquery.ui.theme.css +252 -0
  261. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  262. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  263. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  264. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  265. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  266. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  267. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  268. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  269. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-icons_222222_256x240.png +0 -0
  270. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  271. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-icons_454545_256x240.png +0 -0
  272. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-icons_888888_256x240.png +0 -0
  273. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  274. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery-ui-1.8.5.custom.css +572 -0
  275. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.accordion.css +19 -0
  276. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.all.css +11 -0
  277. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.autocomplete.css +53 -0
  278. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.base.css +11 -0
  279. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.button.css +38 -0
  280. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.core.css +41 -0
  281. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.datepicker.css +68 -0
  282. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.dialog.css +21 -0
  283. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.progressbar.css +11 -0
  284. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.resizable.css +20 -0
  285. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.selectable.css +10 -0
  286. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.slider.css +24 -0
  287. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.tabs.css +18 -0
  288. data/static/jquery-ui-1.8.5.custom/development-bundle/themes/smoothness/jquery.ui.theme.css +254 -0
  289. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery-ui-i18n.js +1199 -0
  290. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-af.js +23 -0
  291. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-ar.js +24 -0
  292. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-az.js +23 -0
  293. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-bg.js +24 -0
  294. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-bs.js +23 -0
  295. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-ca.js +23 -0
  296. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-cs.js +23 -0
  297. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-da.js +23 -0
  298. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-de.js +23 -0
  299. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-el.js +23 -0
  300. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-en-GB.js +23 -0
  301. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-eo.js +23 -0
  302. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-es.js +23 -0
  303. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-et.js +23 -0
  304. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-eu.js +23 -0
  305. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-fa.js +23 -0
  306. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-fi.js +23 -0
  307. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-fo.js +23 -0
  308. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CH.js +23 -0
  309. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-fr.js +23 -0
  310. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-he.js +23 -0
  311. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-hr.js +23 -0
  312. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-hu.js +23 -0
  313. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-hy.js +23 -0
  314. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-id.js +23 -0
  315. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-is.js +23 -0
  316. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-it.js +23 -0
  317. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-ja.js +23 -0
  318. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-ko.js +23 -0
  319. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-kz.js +23 -0
  320. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-lt.js +23 -0
  321. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-lv.js +23 -0
  322. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-ms.js +23 -0
  323. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-nl.js +23 -0
  324. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-no.js +23 -0
  325. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-pl.js +23 -0
  326. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-pt-BR.js +23 -0
  327. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-ro.js +26 -0
  328. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-ru.js +23 -0
  329. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-sk.js +23 -0
  330. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-sl.js +24 -0
  331. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-sq.js +23 -0
  332. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-sr-SR.js +23 -0
  333. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-sr.js +23 -0
  334. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-sv.js +23 -0
  335. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-ta.js +23 -0
  336. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-th.js +23 -0
  337. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-tr.js +23 -0
  338. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-uk.js +23 -0
  339. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-vi.js +23 -0
  340. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js +23 -0
  341. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-zh-HK.js +23 -0
  342. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/i18n/jquery.ui.datepicker-zh-TW.js +23 -0
  343. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery-ui-1.8.5.custom.js +11358 -0
  344. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.blind.js +49 -0
  345. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.bounce.js +78 -0
  346. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.clip.js +54 -0
  347. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.core.js +714 -0
  348. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.drop.js +50 -0
  349. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.explode.js +79 -0
  350. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.fade.js +32 -0
  351. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.fold.js +56 -0
  352. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.highlight.js +50 -0
  353. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.pulsate.js +51 -0
  354. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.scale.js +178 -0
  355. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.shake.js +57 -0
  356. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.slide.js +50 -0
  357. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.effects.transfer.js +45 -0
  358. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.accordion.js +598 -0
  359. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.autocomplete.js +555 -0
  360. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.button.js +372 -0
  361. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.core.js +307 -0
  362. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.datepicker.js +1732 -0
  363. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.dialog.js +837 -0
  364. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.draggable.js +797 -0
  365. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.droppable.js +285 -0
  366. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.mouse.js +151 -0
  367. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.position.js +251 -0
  368. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.progressbar.js +94 -0
  369. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.resizable.js +812 -0
  370. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.selectable.js +266 -0
  371. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.slider.js +680 -0
  372. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.sortable.js +1071 -0
  373. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.tabs.js +758 -0
  374. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/jquery.ui.widget.js +249 -0
  375. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.blind.min.js +14 -0
  376. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.bounce.min.js +15 -0
  377. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.clip.min.js +14 -0
  378. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.core.min.js +30 -0
  379. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.drop.min.js +14 -0
  380. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.explode.min.js +15 -0
  381. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.fade.min.js +13 -0
  382. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.fold.min.js +14 -0
  383. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.highlight.min.js +14 -0
  384. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.pulsate.min.js +14 -0
  385. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.scale.min.js +20 -0
  386. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.shake.min.js +14 -0
  387. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.slide.min.js +14 -0
  388. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.effects.transfer.min.js +14 -0
  389. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.accordion.min.js +30 -0
  390. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.autocomplete.min.js +31 -0
  391. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.button.min.js +25 -0
  392. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.core.min.js +17 -0
  393. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.datepicker.min.js +80 -0
  394. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.dialog.min.js +39 -0
  395. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.draggable.min.js +49 -0
  396. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.droppable.min.js +26 -0
  397. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.mouse.min.js +17 -0
  398. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.position.min.js +16 -0
  399. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.progressbar.min.js +16 -0
  400. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.resizable.min.js +47 -0
  401. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.selectable.min.js +22 -0
  402. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.slider.min.js +33 -0
  403. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.sortable.min.js +60 -0
  404. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.tabs.min.js +35 -0
  405. data/static/jquery-ui-1.8.5.custom/development-bundle/ui/minified/jquery.ui.widget.min.js +15 -0
  406. data/static/jquery-ui-1.8.5.custom/development-bundle/version.txt +1 -0
  407. data/static/jquery-ui-1.8.5.custom/index.html +395 -0
  408. data/static/jquery-ui-1.8.5.custom/js/jquery-1.4.2.min.js +154 -0
  409. data/static/jquery-ui-1.8.5.custom/js/jquery-ui-1.8.5.custom.min.js +778 -0
  410. metadata +421 -4
@@ -0,0 +1,285 @@
1
+ /*
2
+ * jQuery UI Droppable 1.8.5
3
+ *
4
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
5
+ * Dual licensed under the MIT or GPL Version 2 licenses.
6
+ * http://jquery.org/license
7
+ *
8
+ * http://docs.jquery.com/UI/Droppables
9
+ *
10
+ * Depends:
11
+ * jquery.ui.core.js
12
+ * jquery.ui.widget.js
13
+ * jquery.ui.mouse.js
14
+ * jquery.ui.draggable.js
15
+ */
16
+ (function( $, undefined ) {
17
+
18
+ $.widget("ui.droppable", {
19
+ widgetEventPrefix: "drop",
20
+ options: {
21
+ accept: '*',
22
+ activeClass: false,
23
+ addClasses: true,
24
+ greedy: false,
25
+ hoverClass: false,
26
+ scope: 'default',
27
+ tolerance: 'intersect'
28
+ },
29
+ _create: function() {
30
+
31
+ var o = this.options, accept = o.accept;
32
+ this.isover = 0; this.isout = 1;
33
+
34
+ this.accept = $.isFunction(accept) ? accept : function(d) {
35
+ return d.is(accept);
36
+ };
37
+
38
+ //Store the droppable's proportions
39
+ this.proportions = { width: this.element[0].offsetWidth, height: this.element[0].offsetHeight };
40
+
41
+ // Add the reference and positions to the manager
42
+ $.ui.ddmanager.droppables[o.scope] = $.ui.ddmanager.droppables[o.scope] || [];
43
+ $.ui.ddmanager.droppables[o.scope].push(this);
44
+
45
+ (o.addClasses && this.element.addClass("ui-droppable"));
46
+
47
+ },
48
+
49
+ destroy: function() {
50
+ var drop = $.ui.ddmanager.droppables[this.options.scope];
51
+ for ( var i = 0; i < drop.length; i++ )
52
+ if ( drop[i] == this )
53
+ drop.splice(i, 1);
54
+
55
+ this.element
56
+ .removeClass("ui-droppable ui-droppable-disabled")
57
+ .removeData("droppable")
58
+ .unbind(".droppable");
59
+
60
+ return this;
61
+ },
62
+
63
+ _setOption: function(key, value) {
64
+
65
+ if(key == 'accept') {
66
+ this.accept = $.isFunction(value) ? value : function(d) {
67
+ return d.is(value);
68
+ };
69
+ }
70
+ $.Widget.prototype._setOption.apply(this, arguments);
71
+ },
72
+
73
+ _activate: function(event) {
74
+ var draggable = $.ui.ddmanager.current;
75
+ if(this.options.activeClass) this.element.addClass(this.options.activeClass);
76
+ (draggable && this._trigger('activate', event, this.ui(draggable)));
77
+ },
78
+
79
+ _deactivate: function(event) {
80
+ var draggable = $.ui.ddmanager.current;
81
+ if(this.options.activeClass) this.element.removeClass(this.options.activeClass);
82
+ (draggable && this._trigger('deactivate', event, this.ui(draggable)));
83
+ },
84
+
85
+ _over: function(event) {
86
+
87
+ var draggable = $.ui.ddmanager.current;
88
+ if (!draggable || (draggable.currentItem || draggable.element)[0] == this.element[0]) return; // Bail if draggable and droppable are same element
89
+
90
+ if (this.accept.call(this.element[0],(draggable.currentItem || draggable.element))) {
91
+ if(this.options.hoverClass) this.element.addClass(this.options.hoverClass);
92
+ this._trigger('over', event, this.ui(draggable));
93
+ }
94
+
95
+ },
96
+
97
+ _out: function(event) {
98
+
99
+ var draggable = $.ui.ddmanager.current;
100
+ if (!draggable || (draggable.currentItem || draggable.element)[0] == this.element[0]) return; // Bail if draggable and droppable are same element
101
+
102
+ if (this.accept.call(this.element[0],(draggable.currentItem || draggable.element))) {
103
+ if(this.options.hoverClass) this.element.removeClass(this.options.hoverClass);
104
+ this._trigger('out', event, this.ui(draggable));
105
+ }
106
+
107
+ },
108
+
109
+ _drop: function(event,custom) {
110
+
111
+ var draggable = custom || $.ui.ddmanager.current;
112
+ if (!draggable || (draggable.currentItem || draggable.element)[0] == this.element[0]) return false; // Bail if draggable and droppable are same element
113
+
114
+ var childrenIntersection = false;
115
+ this.element.find(":data(droppable)").not(".ui-draggable-dragging").each(function() {
116
+ var inst = $.data(this, 'droppable');
117
+ if(
118
+ inst.options.greedy
119
+ && !inst.options.disabled
120
+ && inst.options.scope == draggable.options.scope
121
+ && inst.accept.call(inst.element[0], (draggable.currentItem || draggable.element))
122
+ && $.ui.intersect(draggable, $.extend(inst, { offset: inst.element.offset() }), inst.options.tolerance)
123
+ ) { childrenIntersection = true; return false; }
124
+ });
125
+ if(childrenIntersection) return false;
126
+
127
+ if(this.accept.call(this.element[0],(draggable.currentItem || draggable.element))) {
128
+ if(this.options.activeClass) this.element.removeClass(this.options.activeClass);
129
+ if(this.options.hoverClass) this.element.removeClass(this.options.hoverClass);
130
+ this._trigger('drop', event, this.ui(draggable));
131
+ return this.element;
132
+ }
133
+
134
+ return false;
135
+
136
+ },
137
+
138
+ ui: function(c) {
139
+ return {
140
+ draggable: (c.currentItem || c.element),
141
+ helper: c.helper,
142
+ position: c.position,
143
+ offset: c.positionAbs
144
+ };
145
+ }
146
+
147
+ });
148
+
149
+ $.extend($.ui.droppable, {
150
+ version: "1.8.5"
151
+ });
152
+
153
+ $.ui.intersect = function(draggable, droppable, toleranceMode) {
154
+
155
+ if (!droppable.offset) return false;
156
+
157
+ var x1 = (draggable.positionAbs || draggable.position.absolute).left, x2 = x1 + draggable.helperProportions.width,
158
+ y1 = (draggable.positionAbs || draggable.position.absolute).top, y2 = y1 + draggable.helperProportions.height;
159
+ var l = droppable.offset.left, r = l + droppable.proportions.width,
160
+ t = droppable.offset.top, b = t + droppable.proportions.height;
161
+
162
+ switch (toleranceMode) {
163
+ case 'fit':
164
+ return (l <= x1 && x2 <= r
165
+ && t <= y1 && y2 <= b);
166
+ break;
167
+ case 'intersect':
168
+ return (l < x1 + (draggable.helperProportions.width / 2) // Right Half
169
+ && x2 - (draggable.helperProportions.width / 2) < r // Left Half
170
+ && t < y1 + (draggable.helperProportions.height / 2) // Bottom Half
171
+ && y2 - (draggable.helperProportions.height / 2) < b ); // Top Half
172
+ break;
173
+ case 'pointer':
174
+ var draggableLeft = ((draggable.positionAbs || draggable.position.absolute).left + (draggable.clickOffset || draggable.offset.click).left),
175
+ draggableTop = ((draggable.positionAbs || draggable.position.absolute).top + (draggable.clickOffset || draggable.offset.click).top),
176
+ isOver = $.ui.isOver(draggableTop, draggableLeft, t, l, droppable.proportions.height, droppable.proportions.width);
177
+ return isOver;
178
+ break;
179
+ case 'touch':
180
+ return (
181
+ (y1 >= t && y1 <= b) || // Top edge touching
182
+ (y2 >= t && y2 <= b) || // Bottom edge touching
183
+ (y1 < t && y2 > b) // Surrounded vertically
184
+ ) && (
185
+ (x1 >= l && x1 <= r) || // Left edge touching
186
+ (x2 >= l && x2 <= r) || // Right edge touching
187
+ (x1 < l && x2 > r) // Surrounded horizontally
188
+ );
189
+ break;
190
+ default:
191
+ return false;
192
+ break;
193
+ }
194
+
195
+ };
196
+
197
+ /*
198
+ This manager tracks offsets of draggables and droppables
199
+ */
200
+ $.ui.ddmanager = {
201
+ current: null,
202
+ droppables: { 'default': [] },
203
+ prepareOffsets: function(t, event) {
204
+
205
+ var m = $.ui.ddmanager.droppables[t.options.scope] || [];
206
+ var type = event ? event.type : null; // workaround for #2317
207
+ var list = (t.currentItem || t.element).find(":data(droppable)").andSelf();
208
+
209
+ droppablesLoop: for (var i = 0; i < m.length; i++) {
210
+
211
+ if(m[i].options.disabled || (t && !m[i].accept.call(m[i].element[0],(t.currentItem || t.element)))) continue; //No disabled and non-accepted
212
+ for (var j=0; j < list.length; j++) { if(list[j] == m[i].element[0]) { m[i].proportions.height = 0; continue droppablesLoop; } }; //Filter out elements in the current dragged item
213
+ m[i].visible = m[i].element.css("display") != "none"; if(!m[i].visible) continue; //If the element is not visible, continue
214
+
215
+ m[i].offset = m[i].element.offset();
216
+ m[i].proportions = { width: m[i].element[0].offsetWidth, height: m[i].element[0].offsetHeight };
217
+
218
+ if(type == "mousedown") m[i]._activate.call(m[i], event); //Activate the droppable if used directly from draggables
219
+
220
+ }
221
+
222
+ },
223
+ drop: function(draggable, event) {
224
+
225
+ var dropped = false;
226
+ $.each($.ui.ddmanager.droppables[draggable.options.scope] || [], function() {
227
+
228
+ if(!this.options) return;
229
+ if (!this.options.disabled && this.visible && $.ui.intersect(draggable, this, this.options.tolerance))
230
+ dropped = dropped || this._drop.call(this, event);
231
+
232
+ if (!this.options.disabled && this.visible && this.accept.call(this.element[0],(draggable.currentItem || draggable.element))) {
233
+ this.isout = 1; this.isover = 0;
234
+ this._deactivate.call(this, event);
235
+ }
236
+
237
+ });
238
+ return dropped;
239
+
240
+ },
241
+ drag: function(draggable, event) {
242
+
243
+ //If you have a highly dynamic page, you might try this option. It renders positions every time you move the mouse.
244
+ if(draggable.options.refreshPositions) $.ui.ddmanager.prepareOffsets(draggable, event);
245
+
246
+ //Run through all droppables and check their positions based on specific tolerance options
247
+ $.each($.ui.ddmanager.droppables[draggable.options.scope] || [], function() {
248
+
249
+ if(this.options.disabled || this.greedyChild || !this.visible) return;
250
+ var intersects = $.ui.intersect(draggable, this, this.options.tolerance);
251
+
252
+ var c = !intersects && this.isover == 1 ? 'isout' : (intersects && this.isover == 0 ? 'isover' : null);
253
+ if(!c) return;
254
+
255
+ var parentInstance;
256
+ if (this.options.greedy) {
257
+ var parent = this.element.parents(':data(droppable):eq(0)');
258
+ if (parent.length) {
259
+ parentInstance = $.data(parent[0], 'droppable');
260
+ parentInstance.greedyChild = (c == 'isover' ? 1 : 0);
261
+ }
262
+ }
263
+
264
+ // we just moved into a greedy child
265
+ if (parentInstance && c == 'isover') {
266
+ parentInstance['isover'] = 0;
267
+ parentInstance['isout'] = 1;
268
+ parentInstance._out.call(parentInstance, event);
269
+ }
270
+
271
+ this[c] = 1; this[c == 'isout' ? 'isover' : 'isout'] = 0;
272
+ this[c == "isover" ? "_over" : "_out"].call(this, event);
273
+
274
+ // we just moved out of a greedy child
275
+ if (parentInstance && c == 'isout') {
276
+ parentInstance['isout'] = 0;
277
+ parentInstance['isover'] = 1;
278
+ parentInstance._over.call(parentInstance, event);
279
+ }
280
+ });
281
+
282
+ }
283
+ };
284
+
285
+ })(jQuery);
@@ -0,0 +1,151 @@
1
+ /*!
2
+ * jQuery UI Mouse 1.8.5
3
+ *
4
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
5
+ * Dual licensed under the MIT or GPL Version 2 licenses.
6
+ * http://jquery.org/license
7
+ *
8
+ * http://docs.jquery.com/UI/Mouse
9
+ *
10
+ * Depends:
11
+ * jquery.ui.widget.js
12
+ */
13
+ (function( $, undefined ) {
14
+
15
+ $.widget("ui.mouse", {
16
+ options: {
17
+ cancel: ':input,option',
18
+ distance: 1,
19
+ delay: 0
20
+ },
21
+ _mouseInit: function() {
22
+ var self = this;
23
+
24
+ this.element
25
+ .bind('mousedown.'+this.widgetName, function(event) {
26
+ return self._mouseDown(event);
27
+ })
28
+ .bind('click.'+this.widgetName, function(event) {
29
+ if(self._preventClickEvent) {
30
+ self._preventClickEvent = false;
31
+ event.stopImmediatePropagation();
32
+ return false;
33
+ }
34
+ });
35
+
36
+ this.started = false;
37
+ },
38
+
39
+ // TODO: make sure destroying one instance of mouse doesn't mess with
40
+ // other instances of mouse
41
+ _mouseDestroy: function() {
42
+ this.element.unbind('.'+this.widgetName);
43
+ },
44
+
45
+ _mouseDown: function(event) {
46
+ // don't let more than one widget handle mouseStart
47
+ // TODO: figure out why we have to use originalEvent
48
+ event.originalEvent = event.originalEvent || {};
49
+ if (event.originalEvent.mouseHandled) { return; }
50
+
51
+ // we may have missed mouseup (out of window)
52
+ (this._mouseStarted && this._mouseUp(event));
53
+
54
+ this._mouseDownEvent = event;
55
+
56
+ var self = this,
57
+ btnIsLeft = (event.which == 1),
58
+ elIsCancel = (typeof this.options.cancel == "string" ? $(event.target).parents().add(event.target).filter(this.options.cancel).length : false);
59
+ if (!btnIsLeft || elIsCancel || !this._mouseCapture(event)) {
60
+ return true;
61
+ }
62
+
63
+ this.mouseDelayMet = !this.options.delay;
64
+ if (!this.mouseDelayMet) {
65
+ this._mouseDelayTimer = setTimeout(function() {
66
+ self.mouseDelayMet = true;
67
+ }, this.options.delay);
68
+ }
69
+
70
+ if (this._mouseDistanceMet(event) && this._mouseDelayMet(event)) {
71
+ this._mouseStarted = (this._mouseStart(event) !== false);
72
+ if (!this._mouseStarted) {
73
+ event.preventDefault();
74
+ return true;
75
+ }
76
+ }
77
+
78
+ // these delegates are required to keep context
79
+ this._mouseMoveDelegate = function(event) {
80
+ return self._mouseMove(event);
81
+ };
82
+ this._mouseUpDelegate = function(event) {
83
+ return self._mouseUp(event);
84
+ };
85
+ $(document)
86
+ .bind('mousemove.'+this.widgetName, this._mouseMoveDelegate)
87
+ .bind('mouseup.'+this.widgetName, this._mouseUpDelegate);
88
+
89
+ // preventDefault() is used to prevent the selection of text here -
90
+ // however, in Safari, this causes select boxes not to be selectable
91
+ // anymore, so this fix is needed
92
+ ($.browser.safari || event.preventDefault());
93
+
94
+ event.originalEvent.mouseHandled = true;
95
+ return true;
96
+ },
97
+
98
+ _mouseMove: function(event) {
99
+ // IE mouseup check - mouseup happened when mouse was out of window
100
+ if ($.browser.msie && !event.button) {
101
+ return this._mouseUp(event);
102
+ }
103
+
104
+ if (this._mouseStarted) {
105
+ this._mouseDrag(event);
106
+ return event.preventDefault();
107
+ }
108
+
109
+ if (this._mouseDistanceMet(event) && this._mouseDelayMet(event)) {
110
+ this._mouseStarted =
111
+ (this._mouseStart(this._mouseDownEvent, event) !== false);
112
+ (this._mouseStarted ? this._mouseDrag(event) : this._mouseUp(event));
113
+ }
114
+
115
+ return !this._mouseStarted;
116
+ },
117
+
118
+ _mouseUp: function(event) {
119
+ $(document)
120
+ .unbind('mousemove.'+this.widgetName, this._mouseMoveDelegate)
121
+ .unbind('mouseup.'+this.widgetName, this._mouseUpDelegate);
122
+
123
+ if (this._mouseStarted) {
124
+ this._mouseStarted = false;
125
+ this._preventClickEvent = (event.target == this._mouseDownEvent.target);
126
+ this._mouseStop(event);
127
+ }
128
+
129
+ return false;
130
+ },
131
+
132
+ _mouseDistanceMet: function(event) {
133
+ return (Math.max(
134
+ Math.abs(this._mouseDownEvent.pageX - event.pageX),
135
+ Math.abs(this._mouseDownEvent.pageY - event.pageY)
136
+ ) >= this.options.distance
137
+ );
138
+ },
139
+
140
+ _mouseDelayMet: function(event) {
141
+ return this.mouseDelayMet;
142
+ },
143
+
144
+ // These are placeholder methods, to be overriden by extending plugin
145
+ _mouseStart: function(event) {},
146
+ _mouseDrag: function(event) {},
147
+ _mouseStop: function(event) {},
148
+ _mouseCapture: function(event) { return true; }
149
+ });
150
+
151
+ })(jQuery);
@@ -0,0 +1,251 @@
1
+ /*
2
+ * jQuery UI Position 1.8.5
3
+ *
4
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
5
+ * Dual licensed under the MIT or GPL Version 2 licenses.
6
+ * http://jquery.org/license
7
+ *
8
+ * http://docs.jquery.com/UI/Position
9
+ */
10
+ (function( $, undefined ) {
11
+
12
+ $.ui = $.ui || {};
13
+
14
+ var horizontalPositions = /left|center|right/,
15
+ verticalPositions = /top|center|bottom/,
16
+ center = "center",
17
+ _position = $.fn.position,
18
+ _offset = $.fn.offset;
19
+
20
+ $.fn.position = function( options ) {
21
+ if ( !options || !options.of ) {
22
+ return _position.apply( this, arguments );
23
+ }
24
+
25
+ // make a copy, we don't want to modify arguments
26
+ options = $.extend( {}, options );
27
+
28
+ var target = $( options.of ),
29
+ targetElem = target[0],
30
+ collision = ( options.collision || "flip" ).split( " " ),
31
+ offset = options.offset ? options.offset.split( " " ) : [ 0, 0 ],
32
+ targetWidth,
33
+ targetHeight,
34
+ basePosition;
35
+
36
+ if ( targetElem.nodeType === 9 ) {
37
+ targetWidth = target.width();
38
+ targetHeight = target.height();
39
+ basePosition = { top: 0, left: 0 };
40
+ } else if ( targetElem.scrollTo && targetElem.document ) {
41
+ targetWidth = target.width();
42
+ targetHeight = target.height();
43
+ basePosition = { top: target.scrollTop(), left: target.scrollLeft() };
44
+ } else if ( targetElem.preventDefault ) {
45
+ // force left top to allow flipping
46
+ options.at = "left top";
47
+ targetWidth = targetHeight = 0;
48
+ basePosition = { top: options.of.pageY, left: options.of.pageX };
49
+ } else {
50
+ targetWidth = target.outerWidth();
51
+ targetHeight = target.outerHeight();
52
+ basePosition = target.offset();
53
+ }
54
+
55
+ // force my and at to have valid horizontal and veritcal positions
56
+ // if a value is missing or invalid, it will be converted to center
57
+ $.each( [ "my", "at" ], function() {
58
+ var pos = ( options[this] || "" ).split( " " );
59
+ if ( pos.length === 1) {
60
+ pos = horizontalPositions.test( pos[0] ) ?
61
+ pos.concat( [center] ) :
62
+ verticalPositions.test( pos[0] ) ?
63
+ [ center ].concat( pos ) :
64
+ [ center, center ];
65
+ }
66
+ pos[ 0 ] = horizontalPositions.test( pos[0] ) ? pos[ 0 ] : center;
67
+ pos[ 1 ] = verticalPositions.test( pos[1] ) ? pos[ 1 ] : center;
68
+ options[ this ] = pos;
69
+ });
70
+
71
+ // normalize collision option
72
+ if ( collision.length === 1 ) {
73
+ collision[ 1 ] = collision[ 0 ];
74
+ }
75
+
76
+ // normalize offset option
77
+ offset[ 0 ] = parseInt( offset[0], 10 ) || 0;
78
+ if ( offset.length === 1 ) {
79
+ offset[ 1 ] = offset[ 0 ];
80
+ }
81
+ offset[ 1 ] = parseInt( offset[1], 10 ) || 0;
82
+
83
+ if ( options.at[0] === "right" ) {
84
+ basePosition.left += targetWidth;
85
+ } else if (options.at[0] === center ) {
86
+ basePosition.left += targetWidth / 2;
87
+ }
88
+
89
+ if ( options.at[1] === "bottom" ) {
90
+ basePosition.top += targetHeight;
91
+ } else if ( options.at[1] === center ) {
92
+ basePosition.top += targetHeight / 2;
93
+ }
94
+
95
+ basePosition.left += offset[ 0 ];
96
+ basePosition.top += offset[ 1 ];
97
+
98
+ return this.each(function() {
99
+ var elem = $( this ),
100
+ elemWidth = elem.outerWidth(),
101
+ elemHeight = elem.outerHeight(),
102
+ marginLeft = parseInt( $.curCSS( this, "marginLeft", true ) ) || 0,
103
+ marginTop = parseInt( $.curCSS( this, "marginTop", true ) ) || 0,
104
+ collisionWidth = elemWidth + marginLeft +
105
+ parseInt( $.curCSS( this, "marginRight", true ) ) || 0,
106
+ collisionHeight = elemHeight + marginTop +
107
+ parseInt( $.curCSS( this, "marginBottom", true ) ) || 0,
108
+ position = $.extend( {}, basePosition ),
109
+ collisionPosition;
110
+
111
+ if ( options.my[0] === "right" ) {
112
+ position.left -= elemWidth;
113
+ } else if ( options.my[0] === center ) {
114
+ position.left -= elemWidth / 2;
115
+ }
116
+
117
+ if ( options.my[1] === "bottom" ) {
118
+ position.top -= elemHeight;
119
+ } else if ( options.my[1] === center ) {
120
+ position.top -= elemHeight / 2;
121
+ }
122
+
123
+ // prevent fractions (see #5280)
124
+ position.left = parseInt( position.left );
125
+ position.top = parseInt( position.top );
126
+
127
+ collisionPosition = {
128
+ left: position.left - marginLeft,
129
+ top: position.top - marginTop
130
+ };
131
+
132
+ $.each( [ "left", "top" ], function( i, dir ) {
133
+ if ( $.ui.position[ collision[i] ] ) {
134
+ $.ui.position[ collision[i] ][ dir ]( position, {
135
+ targetWidth: targetWidth,
136
+ targetHeight: targetHeight,
137
+ elemWidth: elemWidth,
138
+ elemHeight: elemHeight,
139
+ collisionPosition: collisionPosition,
140
+ collisionWidth: collisionWidth,
141
+ collisionHeight: collisionHeight,
142
+ offset: offset,
143
+ my: options.my,
144
+ at: options.at
145
+ });
146
+ }
147
+ });
148
+
149
+ if ( $.fn.bgiframe ) {
150
+ elem.bgiframe();
151
+ }
152
+ elem.offset( $.extend( position, { using: options.using } ) );
153
+ });
154
+ };
155
+
156
+ $.ui.position = {
157
+ fit: {
158
+ left: function( position, data ) {
159
+ var win = $( window ),
160
+ over = data.collisionPosition.left + data.collisionWidth - win.width() - win.scrollLeft();
161
+ position.left = over > 0 ? position.left - over : Math.max( position.left - data.collisionPosition.left, position.left );
162
+ },
163
+ top: function( position, data ) {
164
+ var win = $( window ),
165
+ over = data.collisionPosition.top + data.collisionHeight - win.height() - win.scrollTop();
166
+ position.top = over > 0 ? position.top - over : Math.max( position.top - data.collisionPosition.top, position.top );
167
+ }
168
+ },
169
+
170
+ flip: {
171
+ left: function( position, data ) {
172
+ if ( data.at[0] === center ) {
173
+ return;
174
+ }
175
+ var win = $( window ),
176
+ over = data.collisionPosition.left + data.collisionWidth - win.width() - win.scrollLeft(),
177
+ myOffset = data.my[ 0 ] === "left" ?
178
+ -data.elemWidth :
179
+ data.my[ 0 ] === "right" ?
180
+ data.elemWidth :
181
+ 0,
182
+ atOffset = data.at[ 0 ] === "left" ?
183
+ data.targetWidth :
184
+ -data.targetWidth,
185
+ offset = -2 * data.offset[ 0 ];
186
+ position.left += data.collisionPosition.left < 0 ?
187
+ myOffset + atOffset + offset :
188
+ over > 0 ?
189
+ myOffset + atOffset + offset :
190
+ 0;
191
+ },
192
+ top: function( position, data ) {
193
+ if ( data.at[1] === center ) {
194
+ return;
195
+ }
196
+ var win = $( window ),
197
+ over = data.collisionPosition.top + data.collisionHeight - win.height() - win.scrollTop(),
198
+ myOffset = data.my[ 1 ] === "top" ?
199
+ -data.elemHeight :
200
+ data.my[ 1 ] === "bottom" ?
201
+ data.elemHeight :
202
+ 0,
203
+ atOffset = data.at[ 1 ] === "top" ?
204
+ data.targetHeight :
205
+ -data.targetHeight,
206
+ offset = -2 * data.offset[ 1 ];
207
+ position.top += data.collisionPosition.top < 0 ?
208
+ myOffset + atOffset + offset :
209
+ over > 0 ?
210
+ myOffset + atOffset + offset :
211
+ 0;
212
+ }
213
+ }
214
+ };
215
+
216
+ // offset setter from jQuery 1.4
217
+ if ( !$.offset.setOffset ) {
218
+ $.offset.setOffset = function( elem, options ) {
219
+ // set position first, in-case top/left are set even on static elem
220
+ if ( /static/.test( $.curCSS( elem, "position" ) ) ) {
221
+ elem.style.position = "relative";
222
+ }
223
+ var curElem = $( elem ),
224
+ curOffset = curElem.offset(),
225
+ curTop = parseInt( $.curCSS( elem, "top", true ), 10 ) || 0,
226
+ curLeft = parseInt( $.curCSS( elem, "left", true ), 10) || 0,
227
+ props = {
228
+ top: (options.top - curOffset.top) + curTop,
229
+ left: (options.left - curOffset.left) + curLeft
230
+ };
231
+
232
+ if ( 'using' in options ) {
233
+ options.using.call( elem, props );
234
+ } else {
235
+ curElem.css( props );
236
+ }
237
+ };
238
+
239
+ $.fn.offset = function( options ) {
240
+ var elem = this[ 0 ];
241
+ if ( !elem || !elem.ownerDocument ) { return null; }
242
+ if ( options ) {
243
+ return this.each(function() {
244
+ $.offset.setOffset( this, options );
245
+ });
246
+ }
247
+ return _offset.call( this );
248
+ };
249
+ }
250
+
251
+ }( jQuery ));