yui-rails-asset 2.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (398) hide show
  1. data/LICENSE +21 -0
  2. data/README +17 -0
  3. data/lib/yui/rails.rb +29 -0
  4. data/lib/yui/rails/engine.rb +10 -0
  5. data/lib/yui/rails/version.rb +6 -0
  6. data/vendor/assets/javascripts/yui-2.8.1/build/animation/animation-debug.js +1396 -0
  7. data/vendor/assets/javascripts/yui-2.8.1/build/animation/animation-min.js +23 -0
  8. data/vendor/assets/javascripts/yui-2.8.1/build/animation/animation.js +1392 -0
  9. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/ajax-loader.gif +0 -0
  10. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/asc.gif +0 -0
  11. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/autocomplete.css +7 -0
  12. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/back-h.png +0 -0
  13. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/back-v.png +0 -0
  14. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/bar-h.png +0 -0
  15. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/bar-v.png +0 -0
  16. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/bg-h.gif +0 -0
  17. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/bg-v.gif +0 -0
  18. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/blankimage.png +0 -0
  19. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/button.css +7 -0
  20. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/calendar.css +8 -0
  21. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/carousel.css +7 -0
  22. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/check0.gif +0 -0
  23. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/check1.gif +0 -0
  24. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/check2.gif +0 -0
  25. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/colorpicker.css +7 -0
  26. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/container.css +7 -0
  27. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/datatable.css +8 -0
  28. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/desc.gif +0 -0
  29. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/dt-arrow-dn.png +0 -0
  30. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/dt-arrow-up.png +0 -0
  31. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/editor-knob.gif +0 -0
  32. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/editor-sprite-active.gif +0 -0
  33. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/editor-sprite.gif +0 -0
  34. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/editor.css +10 -0
  35. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/header_background.png +0 -0
  36. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/hue_bg.png +0 -0
  37. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/imagecropper.css +7 -0
  38. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/layout.css +7 -0
  39. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/layout_sprite.png +0 -0
  40. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/loading.gif +0 -0
  41. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/logger.css +7 -0
  42. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/menu-button-arrow-disabled.png +0 -0
  43. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/menu-button-arrow.png +0 -0
  44. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/menu.css +7 -0
  45. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/menubaritem_submenuindicator.png +0 -0
  46. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/menubaritem_submenuindicator_disabled.png +0 -0
  47. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/menuitem_checkbox.png +0 -0
  48. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/menuitem_checkbox_disabled.png +0 -0
  49. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/menuitem_submenuindicator.png +0 -0
  50. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/menuitem_submenuindicator_disabled.png +0 -0
  51. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/paginator.css +7 -0
  52. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/picker_mask.png +0 -0
  53. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/profilerviewer.css +7 -0
  54. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/progressbar.css +7 -0
  55. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/resize.css +7 -0
  56. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/simpleeditor.css +10 -0
  57. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/skin.css +36 -0
  58. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/slider.css +7 -0
  59. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/split-button-arrow-active.png +0 -0
  60. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/split-button-arrow-disabled.png +0 -0
  61. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/split-button-arrow-focus.png +0 -0
  62. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/split-button-arrow-hover.png +0 -0
  63. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/split-button-arrow.png +0 -0
  64. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/sprite.png +0 -0
  65. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/sprite.psd +0 -0
  66. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/tabview.css +8 -0
  67. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/treeview-loading.gif +0 -0
  68. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/treeview-sprite.gif +0 -0
  69. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/treeview.css +7 -0
  70. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/wait.gif +0 -0
  71. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/yuitest.css +7 -0
  72. data/vendor/assets/javascripts/yui-2.8.1/build/autocomplete/assets/autocomplete-core.css +7 -0
  73. data/vendor/assets/javascripts/yui-2.8.1/build/autocomplete/assets/skins/sam/autocomplete-skin.css +57 -0
  74. data/vendor/assets/javascripts/yui-2.8.1/build/autocomplete/assets/skins/sam/autocomplete.css +7 -0
  75. data/vendor/assets/javascripts/yui-2.8.1/build/autocomplete/autocomplete-debug.js +3009 -0
  76. data/vendor/assets/javascripts/yui-2.8.1/build/autocomplete/autocomplete-min.js +12 -0
  77. data/vendor/assets/javascripts/yui-2.8.1/build/autocomplete/autocomplete.js +2966 -0
  78. data/vendor/assets/javascripts/yui-2.8.1/build/base/base-min.css +7 -0
  79. data/vendor/assets/javascripts/yui-2.8.1/build/base/base.css +131 -0
  80. data/vendor/assets/javascripts/yui-2.8.1/build/button/assets/button-core.css +44 -0
  81. data/vendor/assets/javascripts/yui-2.8.1/build/button/assets/skins/sam/button-skin.css +219 -0
  82. data/vendor/assets/javascripts/yui-2.8.1/build/button/assets/skins/sam/button.css +7 -0
  83. data/vendor/assets/javascripts/yui-2.8.1/build/button/assets/skins/sam/menu-button-arrow-disabled.png +0 -0
  84. data/vendor/assets/javascripts/yui-2.8.1/build/button/assets/skins/sam/menu-button-arrow.png +0 -0
  85. data/vendor/assets/javascripts/yui-2.8.1/build/button/assets/skins/sam/split-button-arrow-active.png +0 -0
  86. data/vendor/assets/javascripts/yui-2.8.1/build/button/assets/skins/sam/split-button-arrow-disabled.png +0 -0
  87. data/vendor/assets/javascripts/yui-2.8.1/build/button/assets/skins/sam/split-button-arrow-focus.png +0 -0
  88. data/vendor/assets/javascripts/yui-2.8.1/build/button/assets/skins/sam/split-button-arrow-hover.png +0 -0
  89. data/vendor/assets/javascripts/yui-2.8.1/build/button/assets/skins/sam/split-button-arrow.png +0 -0
  90. data/vendor/assets/javascripts/yui-2.8.1/build/button/button-debug.js +4694 -0
  91. data/vendor/assets/javascripts/yui-2.8.1/build/button/button-min.js +11 -0
  92. data/vendor/assets/javascripts/yui-2.8.1/build/button/button.js +4633 -0
  93. data/vendor/assets/javascripts/yui-2.8.1/build/calendar/assets/calendar-core.css +132 -0
  94. data/vendor/assets/javascripts/yui-2.8.1/build/calendar/assets/calendar.css +320 -0
  95. data/vendor/assets/javascripts/yui-2.8.1/build/calendar/assets/calgrad.png +0 -0
  96. data/vendor/assets/javascripts/yui-2.8.1/build/calendar/assets/callt.gif +0 -0
  97. data/vendor/assets/javascripts/yui-2.8.1/build/calendar/assets/calrt.gif +0 -0
  98. data/vendor/assets/javascripts/yui-2.8.1/build/calendar/assets/calx.gif +0 -0
  99. data/vendor/assets/javascripts/yui-2.8.1/build/calendar/assets/skins/sam/calendar-skin.css +361 -0
  100. data/vendor/assets/javascripts/yui-2.8.1/build/calendar/assets/skins/sam/calendar.css +8 -0
  101. data/vendor/assets/javascripts/yui-2.8.1/build/calendar/calendar-debug.js +7324 -0
  102. data/vendor/assets/javascripts/yui-2.8.1/build/calendar/calendar-min.js +18 -0
  103. data/vendor/assets/javascripts/yui-2.8.1/build/calendar/calendar.js +7294 -0
  104. data/vendor/assets/javascripts/yui-2.8.1/build/carousel/assets/ajax-loader.gif +0 -0
  105. data/vendor/assets/javascripts/yui-2.8.1/build/carousel/assets/carousel-core.css +88 -0
  106. data/vendor/assets/javascripts/yui-2.8.1/build/carousel/assets/skins/sam/ajax-loader.gif +0 -0
  107. data/vendor/assets/javascripts/yui-2.8.1/build/carousel/assets/skins/sam/carousel-skin.css +142 -0
  108. data/vendor/assets/javascripts/yui-2.8.1/build/carousel/assets/skins/sam/carousel.css +7 -0
  109. data/vendor/assets/javascripts/yui-2.8.1/build/carousel/carousel-debug.js +4390 -0
  110. data/vendor/assets/javascripts/yui-2.8.1/build/carousel/carousel-min.js +12 -0
  111. data/vendor/assets/javascripts/yui-2.8.1/build/carousel/carousel.js +4349 -0
  112. data/vendor/assets/javascripts/yui-2.8.1/build/charts/assets/charts.swf +0 -0
  113. data/vendor/assets/javascripts/yui-2.8.1/build/charts/charts-debug.js +2061 -0
  114. data/vendor/assets/javascripts/yui-2.8.1/build/charts/charts-min.js +9 -0
  115. data/vendor/assets/javascripts/yui-2.8.1/build/charts/charts.js +2060 -0
  116. data/vendor/assets/javascripts/yui-2.8.1/build/colorpicker/assets/colorpicker-core.css +6 -0
  117. data/vendor/assets/javascripts/yui-2.8.1/build/colorpicker/assets/hue_thumb.png +0 -0
  118. data/vendor/assets/javascripts/yui-2.8.1/build/colorpicker/assets/picker_mask.png +0 -0
  119. data/vendor/assets/javascripts/yui-2.8.1/build/colorpicker/assets/picker_thumb.png +0 -0
  120. data/vendor/assets/javascripts/yui-2.8.1/build/colorpicker/assets/skins/sam/colorpicker-skin.css +105 -0
  121. data/vendor/assets/javascripts/yui-2.8.1/build/colorpicker/assets/skins/sam/colorpicker.css +7 -0
  122. data/vendor/assets/javascripts/yui-2.8.1/build/colorpicker/assets/skins/sam/hue_bg.png +0 -0
  123. data/vendor/assets/javascripts/yui-2.8.1/build/colorpicker/assets/skins/sam/picker_mask.png +0 -0
  124. data/vendor/assets/javascripts/yui-2.8.1/build/colorpicker/colorpicker-debug.js +1783 -0
  125. data/vendor/assets/javascripts/yui-2.8.1/build/colorpicker/colorpicker-min.js +9 -0
  126. data/vendor/assets/javascripts/yui-2.8.1/build/colorpicker/colorpicker.js +1763 -0
  127. data/vendor/assets/javascripts/yui-2.8.1/build/connection/connection-debug.js +1576 -0
  128. data/vendor/assets/javascripts/yui-2.8.1/build/connection/connection-min.js +9 -0
  129. data/vendor/assets/javascripts/yui-2.8.1/build/connection/connection.js +1546 -0
  130. data/vendor/assets/javascripts/yui-2.8.1/build/connection/connection.swf +0 -0
  131. data/vendor/assets/javascripts/yui-2.8.1/build/connection/connection_core-debug.js +980 -0
  132. data/vendor/assets/javascripts/yui-2.8.1/build/connection/connection_core-min.js +8 -0
  133. data/vendor/assets/javascripts/yui-2.8.1/build/connection/connection_core.js +957 -0
  134. data/vendor/assets/javascripts/yui-2.8.1/build/container/assets/alrt16_1.gif +0 -0
  135. data/vendor/assets/javascripts/yui-2.8.1/build/container/assets/blck16_1.gif +0 -0
  136. data/vendor/assets/javascripts/yui-2.8.1/build/container/assets/close12_1.gif +0 -0
  137. data/vendor/assets/javascripts/yui-2.8.1/build/container/assets/container-core.css +176 -0
  138. data/vendor/assets/javascripts/yui-2.8.1/build/container/assets/container.css +324 -0
  139. data/vendor/assets/javascripts/yui-2.8.1/build/container/assets/hlp16_1.gif +0 -0
  140. data/vendor/assets/javascripts/yui-2.8.1/build/container/assets/info16_1.gif +0 -0
  141. data/vendor/assets/javascripts/yui-2.8.1/build/container/assets/skins/sam/container-skin.css +242 -0
  142. data/vendor/assets/javascripts/yui-2.8.1/build/container/assets/skins/sam/container.css +7 -0
  143. data/vendor/assets/javascripts/yui-2.8.1/build/container/assets/tip16_1.gif +0 -0
  144. data/vendor/assets/javascripts/yui-2.8.1/build/container/assets/warn16_1.gif +0 -0
  145. data/vendor/assets/javascripts/yui-2.8.1/build/container/container-debug.js +9076 -0
  146. data/vendor/assets/javascripts/yui-2.8.1/build/container/container-min.js +19 -0
  147. data/vendor/assets/javascripts/yui-2.8.1/build/container/container.js +9052 -0
  148. data/vendor/assets/javascripts/yui-2.8.1/build/container/container_core-debug.js +5136 -0
  149. data/vendor/assets/javascripts/yui-2.8.1/build/container/container_core-min.js +14 -0
  150. data/vendor/assets/javascripts/yui-2.8.1/build/container/container_core.js +5126 -0
  151. data/vendor/assets/javascripts/yui-2.8.1/build/cookie/cookie-debug.js +482 -0
  152. data/vendor/assets/javascripts/yui-2.8.1/build/cookie/cookie-min.js +7 -0
  153. data/vendor/assets/javascripts/yui-2.8.1/build/cookie/cookie.js +482 -0
  154. data/vendor/assets/javascripts/yui-2.8.1/build/datasource/datasource-debug.js +3067 -0
  155. data/vendor/assets/javascripts/yui-2.8.1/build/datasource/datasource-min.js +12 -0
  156. data/vendor/assets/javascripts/yui-2.8.1/build/datasource/datasource.js +2996 -0
  157. data/vendor/assets/javascripts/yui-2.8.1/build/datatable/assets/datatable-core.css +93 -0
  158. data/vendor/assets/javascripts/yui-2.8.1/build/datatable/assets/datatable.css +49 -0
  159. data/vendor/assets/javascripts/yui-2.8.1/build/datatable/assets/skins/sam/datatable-skin.css +240 -0
  160. data/vendor/assets/javascripts/yui-2.8.1/build/datatable/assets/skins/sam/datatable.css +8 -0
  161. data/vendor/assets/javascripts/yui-2.8.1/build/datatable/assets/skins/sam/dt-arrow-dn.png +0 -0
  162. data/vendor/assets/javascripts/yui-2.8.1/build/datatable/assets/skins/sam/dt-arrow-up.png +0 -0
  163. data/vendor/assets/javascripts/yui-2.8.1/build/datatable/datatable-debug.js +17360 -0
  164. data/vendor/assets/javascripts/yui-2.8.1/build/datatable/datatable-min.js +29 -0
  165. data/vendor/assets/javascripts/yui-2.8.1/build/datatable/datatable.js +17122 -0
  166. data/vendor/assets/javascripts/yui-2.8.1/build/datemath/datemath-debug.js +408 -0
  167. data/vendor/assets/javascripts/yui-2.8.1/build/datemath/datemath-min.js +7 -0
  168. data/vendor/assets/javascripts/yui-2.8.1/build/datemath/datemath.js +408 -0
  169. data/vendor/assets/javascripts/yui-2.8.1/build/dom/dom-debug.js +1872 -0
  170. data/vendor/assets/javascripts/yui-2.8.1/build/dom/dom-min.js +9 -0
  171. data/vendor/assets/javascripts/yui-2.8.1/build/dom/dom.js +1832 -0
  172. data/vendor/assets/javascripts/yui-2.8.1/build/dragdrop/dragdrop-debug.js +3710 -0
  173. data/vendor/assets/javascripts/yui-2.8.1/build/dragdrop/dragdrop-min.js +10 -0
  174. data/vendor/assets/javascripts/yui-2.8.1/build/dragdrop/dragdrop.js +3601 -0
  175. data/vendor/assets/javascripts/yui-2.8.1/build/editor/assets/editor-core.css +602 -0
  176. data/vendor/assets/javascripts/yui-2.8.1/build/editor/assets/simpleeditor-core.css +602 -0
  177. data/vendor/assets/javascripts/yui-2.8.1/build/editor/assets/skins/sam/blankimage.png +0 -0
  178. data/vendor/assets/javascripts/yui-2.8.1/build/editor/assets/skins/sam/editor-knob.gif +0 -0
  179. data/vendor/assets/javascripts/yui-2.8.1/build/editor/assets/skins/sam/editor-skin.css +711 -0
  180. data/vendor/assets/javascripts/yui-2.8.1/build/editor/assets/skins/sam/editor-sprite-active.gif +0 -0
  181. data/vendor/assets/javascripts/yui-2.8.1/build/editor/assets/skins/sam/editor-sprite.gif +0 -0
  182. data/vendor/assets/javascripts/yui-2.8.1/build/editor/assets/skins/sam/editor.css +10 -0
  183. data/vendor/assets/javascripts/yui-2.8.1/build/editor/assets/skins/sam/simpleeditor-skin.css +711 -0
  184. data/vendor/assets/javascripts/yui-2.8.1/build/editor/assets/skins/sam/simpleeditor.css +10 -0
  185. data/vendor/assets/javascripts/yui-2.8.1/build/editor/editor-debug.js +9557 -0
  186. data/vendor/assets/javascripts/yui-2.8.1/build/editor/editor-min.js +30 -0
  187. data/vendor/assets/javascripts/yui-2.8.1/build/editor/editor.js +9447 -0
  188. data/vendor/assets/javascripts/yui-2.8.1/build/editor/simpleeditor-debug.js +7493 -0
  189. data/vendor/assets/javascripts/yui-2.8.1/build/editor/simpleeditor-min.js +24 -0
  190. data/vendor/assets/javascripts/yui-2.8.1/build/editor/simpleeditor.js +7406 -0
  191. data/vendor/assets/javascripts/yui-2.8.1/build/element-delegate/element-delegate-debug.js +141 -0
  192. data/vendor/assets/javascripts/yui-2.8.1/build/element-delegate/element-delegate-min.js +7 -0
  193. data/vendor/assets/javascripts/yui-2.8.1/build/element-delegate/element-delegate.js +138 -0
  194. data/vendor/assets/javascripts/yui-2.8.1/build/element/element-debug.js +1106 -0
  195. data/vendor/assets/javascripts/yui-2.8.1/build/element/element-min.js +8 -0
  196. data/vendor/assets/javascripts/yui-2.8.1/build/element/element.js +1090 -0
  197. data/vendor/assets/javascripts/yui-2.8.1/build/event-delegate/event-delegate-debug.js +283 -0
  198. data/vendor/assets/javascripts/yui-2.8.1/build/event-delegate/event-delegate-min.js +7 -0
  199. data/vendor/assets/javascripts/yui-2.8.1/build/event-delegate/event-delegate.js +281 -0
  200. data/vendor/assets/javascripts/yui-2.8.1/build/event-mouseenter/event-mouseenter-debug.js +219 -0
  201. data/vendor/assets/javascripts/yui-2.8.1/build/event-mouseenter/event-mouseenter-min.js +7 -0
  202. data/vendor/assets/javascripts/yui-2.8.1/build/event-mouseenter/event-mouseenter.js +219 -0
  203. data/vendor/assets/javascripts/yui-2.8.1/build/event-simulate/event-simulate-debug.js +622 -0
  204. data/vendor/assets/javascripts/yui-2.8.1/build/event-simulate/event-simulate-min.js +7 -0
  205. data/vendor/assets/javascripts/yui-2.8.1/build/event-simulate/event-simulate.js +622 -0
  206. data/vendor/assets/javascripts/yui-2.8.1/build/event/event-debug.js +2524 -0
  207. data/vendor/assets/javascripts/yui-2.8.1/build/event/event-min.js +11 -0
  208. data/vendor/assets/javascripts/yui-2.8.1/build/event/event.js +2500 -0
  209. data/vendor/assets/javascripts/yui-2.8.1/build/fonts/fonts-min.css +7 -0
  210. data/vendor/assets/javascripts/yui-2.8.1/build/fonts/fonts.css +56 -0
  211. data/vendor/assets/javascripts/yui-2.8.1/build/get/get-debug.js +773 -0
  212. data/vendor/assets/javascripts/yui-2.8.1/build/get/get-min.js +7 -0
  213. data/vendor/assets/javascripts/yui-2.8.1/build/get/get.js +755 -0
  214. data/vendor/assets/javascripts/yui-2.8.1/build/grids/grids-min.css +7 -0
  215. data/vendor/assets/javascripts/yui-2.8.1/build/grids/grids.css +467 -0
  216. data/vendor/assets/javascripts/yui-2.8.1/build/history/assets/blank.html +1 -0
  217. data/vendor/assets/javascripts/yui-2.8.1/build/history/history-debug.js +808 -0
  218. data/vendor/assets/javascripts/yui-2.8.1/build/history/history-min.js +7 -0
  219. data/vendor/assets/javascripts/yui-2.8.1/build/history/history.js +808 -0
  220. data/vendor/assets/javascripts/yui-2.8.1/build/imagecropper/assets/imagecropper-core.css +33 -0
  221. data/vendor/assets/javascripts/yui-2.8.1/build/imagecropper/assets/skins/sam/imagecropper-skin.css +16 -0
  222. data/vendor/assets/javascripts/yui-2.8.1/build/imagecropper/assets/skins/sam/imagecropper.css +7 -0
  223. data/vendor/assets/javascripts/yui-2.8.1/build/imagecropper/imagecropper-debug.js +907 -0
  224. data/vendor/assets/javascripts/yui-2.8.1/build/imagecropper/imagecropper-min.js +8 -0
  225. data/vendor/assets/javascripts/yui-2.8.1/build/imagecropper/imagecropper.js +889 -0
  226. data/vendor/assets/javascripts/yui-2.8.1/build/imageloader/imageloader-debug.js +487 -0
  227. data/vendor/assets/javascripts/yui-2.8.1/build/imageloader/imageloader-min.js +7 -0
  228. data/vendor/assets/javascripts/yui-2.8.1/build/imageloader/imageloader.js +481 -0
  229. data/vendor/assets/javascripts/yui-2.8.1/build/json/json-debug.js +538 -0
  230. data/vendor/assets/javascripts/yui-2.8.1/build/json/json-min.js +7 -0
  231. data/vendor/assets/javascripts/yui-2.8.1/build/json/json.js +538 -0
  232. data/vendor/assets/javascripts/yui-2.8.1/build/layout/assets/layout-core.css +158 -0
  233. data/vendor/assets/javascripts/yui-2.8.1/build/layout/assets/skins/sam/layout-skin.css +207 -0
  234. data/vendor/assets/javascripts/yui-2.8.1/build/layout/assets/skins/sam/layout.css +7 -0
  235. data/vendor/assets/javascripts/yui-2.8.1/build/layout/assets/skins/sam/layout_sprite.png +0 -0
  236. data/vendor/assets/javascripts/yui-2.8.1/build/layout/layout-debug.js +2305 -0
  237. data/vendor/assets/javascripts/yui-2.8.1/build/layout/layout-min.js +11 -0
  238. data/vendor/assets/javascripts/yui-2.8.1/build/layout/layout.js +2290 -0
  239. data/vendor/assets/javascripts/yui-2.8.1/build/logger/assets/logger-core.css +7 -0
  240. data/vendor/assets/javascripts/yui-2.8.1/build/logger/assets/logger.css +57 -0
  241. data/vendor/assets/javascripts/yui-2.8.1/build/logger/assets/skins/sam/logger-skin.css +55 -0
  242. data/vendor/assets/javascripts/yui-2.8.1/build/logger/assets/skins/sam/logger.css +7 -0
  243. data/vendor/assets/javascripts/yui-2.8.1/build/logger/logger-debug.js +2104 -0
  244. data/vendor/assets/javascripts/yui-2.8.1/build/logger/logger-min.js +9 -0
  245. data/vendor/assets/javascripts/yui-2.8.1/build/logger/logger.js +2104 -0
  246. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/menu-core.css +242 -0
  247. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/menu.css +503 -0
  248. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/menu_down_arrow.png +0 -0
  249. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/menu_down_arrow_disabled.png +0 -0
  250. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/menu_up_arrow.png +0 -0
  251. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/menu_up_arrow_disabled.png +0 -0
  252. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/menubaritem_submenuindicator.png +0 -0
  253. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/menubaritem_submenuindicator_disabled.png +0 -0
  254. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/menubaritem_submenuindicator_selected.png +0 -0
  255. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/menuitem_checkbox.png +0 -0
  256. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/menuitem_checkbox_disabled.png +0 -0
  257. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/menuitem_checkbox_selected.png +0 -0
  258. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/menuitem_submenuindicator.png +0 -0
  259. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/menuitem_submenuindicator_disabled.png +0 -0
  260. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/menuitem_submenuindicator_selected.png +0 -0
  261. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/skins/sam/menu-skin.css +339 -0
  262. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/skins/sam/menu.css +7 -0
  263. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/skins/sam/menubaritem_submenuindicator.png +0 -0
  264. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/skins/sam/menubaritem_submenuindicator_disabled.png +0 -0
  265. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/skins/sam/menuitem_checkbox.png +0 -0
  266. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/skins/sam/menuitem_checkbox_disabled.png +0 -0
  267. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/skins/sam/menuitem_submenuindicator.png +0 -0
  268. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/skins/sam/menuitem_submenuindicator_disabled.png +0 -0
  269. data/vendor/assets/javascripts/yui-2.8.1/build/menu/menu-debug.js +9870 -0
  270. data/vendor/assets/javascripts/yui-2.8.1/build/menu/menu-min.js +16 -0
  271. data/vendor/assets/javascripts/yui-2.8.1/build/menu/menu.js +9823 -0
  272. data/vendor/assets/javascripts/yui-2.8.1/build/paginator/assets/paginator-core.css +6 -0
  273. data/vendor/assets/javascripts/yui-2.8.1/build/paginator/assets/skins/sam/paginator-skin.css +78 -0
  274. data/vendor/assets/javascripts/yui-2.8.1/build/paginator/assets/skins/sam/paginator.css +7 -0
  275. data/vendor/assets/javascripts/yui-2.8.1/build/paginator/paginator-debug.js +2393 -0
  276. data/vendor/assets/javascripts/yui-2.8.1/build/paginator/paginator-min.js +10 -0
  277. data/vendor/assets/javascripts/yui-2.8.1/build/paginator/paginator.js +2393 -0
  278. data/vendor/assets/javascripts/yui-2.8.1/build/profiler/profiler-debug.js +557 -0
  279. data/vendor/assets/javascripts/yui-2.8.1/build/profiler/profiler-min.js +7 -0
  280. data/vendor/assets/javascripts/yui-2.8.1/build/profiler/profiler.js +557 -0
  281. data/vendor/assets/javascripts/yui-2.8.1/build/profilerviewer/assets/profilerviewer-core.css +6 -0
  282. data/vendor/assets/javascripts/yui-2.8.1/build/profilerviewer/assets/skins/sam/asc.gif +0 -0
  283. data/vendor/assets/javascripts/yui-2.8.1/build/profilerviewer/assets/skins/sam/desc.gif +0 -0
  284. data/vendor/assets/javascripts/yui-2.8.1/build/profilerviewer/assets/skins/sam/header_background.png +0 -0
  285. data/vendor/assets/javascripts/yui-2.8.1/build/profilerviewer/assets/skins/sam/profilerviewer-skin.css +167 -0
  286. data/vendor/assets/javascripts/yui-2.8.1/build/profilerviewer/assets/skins/sam/profilerviewer.css +7 -0
  287. data/vendor/assets/javascripts/yui-2.8.1/build/profilerviewer/assets/skins/sam/wait.gif +0 -0
  288. data/vendor/assets/javascripts/yui-2.8.1/build/profilerviewer/profilerviewer-debug.js +1229 -0
  289. data/vendor/assets/javascripts/yui-2.8.1/build/profilerviewer/profilerviewer-min.js +9 -0
  290. data/vendor/assets/javascripts/yui-2.8.1/build/profilerviewer/profilerviewer.js +1192 -0
  291. data/vendor/assets/javascripts/yui-2.8.1/build/progressbar/assets/progressbar-core.css +85 -0
  292. data/vendor/assets/javascripts/yui-2.8.1/build/progressbar/assets/skins/sam/back-h.png +0 -0
  293. data/vendor/assets/javascripts/yui-2.8.1/build/progressbar/assets/skins/sam/back-v.png +0 -0
  294. data/vendor/assets/javascripts/yui-2.8.1/build/progressbar/assets/skins/sam/bar-h.png +0 -0
  295. data/vendor/assets/javascripts/yui-2.8.1/build/progressbar/assets/skins/sam/bar-v.png +0 -0
  296. data/vendor/assets/javascripts/yui-2.8.1/build/progressbar/assets/skins/sam/progressbar-skin.css +56 -0
  297. data/vendor/assets/javascripts/yui-2.8.1/build/progressbar/assets/skins/sam/progressbar.css +7 -0
  298. data/vendor/assets/javascripts/yui-2.8.1/build/progressbar/progressbar-debug.js +691 -0
  299. data/vendor/assets/javascripts/yui-2.8.1/build/progressbar/progressbar-min.js +8 -0
  300. data/vendor/assets/javascripts/yui-2.8.1/build/progressbar/progressbar.js +677 -0
  301. data/vendor/assets/javascripts/yui-2.8.1/build/reset-fonts-grids/reset-fonts-grids.css +7 -0
  302. data/vendor/assets/javascripts/yui-2.8.1/build/reset-fonts/reset-fonts.css +7 -0
  303. data/vendor/assets/javascripts/yui-2.8.1/build/reset/reset-min.css +7 -0
  304. data/vendor/assets/javascripts/yui-2.8.1/build/reset/reset.css +142 -0
  305. data/vendor/assets/javascripts/yui-2.8.1/build/resize/assets/resize-core.css +173 -0
  306. data/vendor/assets/javascripts/yui-2.8.1/build/resize/assets/skins/sam/layout_sprite.png +0 -0
  307. data/vendor/assets/javascripts/yui-2.8.1/build/resize/assets/skins/sam/resize-skin.css +142 -0
  308. data/vendor/assets/javascripts/yui-2.8.1/build/resize/assets/skins/sam/resize.css +7 -0
  309. data/vendor/assets/javascripts/yui-2.8.1/build/resize/resize-debug.js +1749 -0
  310. data/vendor/assets/javascripts/yui-2.8.1/build/resize/resize-min.js +10 -0
  311. data/vendor/assets/javascripts/yui-2.8.1/build/resize/resize.js +1689 -0
  312. data/vendor/assets/javascripts/yui-2.8.1/build/selector/selector-debug.js +651 -0
  313. data/vendor/assets/javascripts/yui-2.8.1/build/selector/selector-min.js +8 -0
  314. data/vendor/assets/javascripts/yui-2.8.1/build/selector/selector.js +644 -0
  315. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/bg-fader.gif +0 -0
  316. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/bg-h.gif +0 -0
  317. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/bg-v-e.gif +0 -0
  318. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/bg-v.gif +0 -0
  319. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/left-thumb.png +0 -0
  320. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/right-thumb.png +0 -0
  321. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/skins/sam/bg-h.gif +0 -0
  322. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/skins/sam/bg-v.gif +0 -0
  323. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/skins/sam/slider-skin.css +24 -0
  324. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/skins/sam/slider.css +7 -0
  325. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/slider-core.css +17 -0
  326. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/slider-skin.css +20 -0
  327. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/thumb-bar.gif +0 -0
  328. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/thumb-e.gif +0 -0
  329. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/thumb-fader.gif +0 -0
  330. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/thumb-n.gif +0 -0
  331. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/thumb-s.gif +0 -0
  332. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/thumb-w.gif +0 -0
  333. data/vendor/assets/javascripts/yui-2.8.1/build/slider/slider-debug.js +2114 -0
  334. data/vendor/assets/javascripts/yui-2.8.1/build/slider/slider-min.js +9 -0
  335. data/vendor/assets/javascripts/yui-2.8.1/build/slider/slider.js +2068 -0
  336. data/vendor/assets/javascripts/yui-2.8.1/build/storage/storage-debug.js +1185 -0
  337. data/vendor/assets/javascripts/yui-2.8.1/build/storage/storage-min.js +8 -0
  338. data/vendor/assets/javascripts/yui-2.8.1/build/storage/storage.js +1183 -0
  339. data/vendor/assets/javascripts/yui-2.8.1/build/stylesheet/stylesheet-debug.js +648 -0
  340. data/vendor/assets/javascripts/yui-2.8.1/build/stylesheet/stylesheet-min.js +7 -0
  341. data/vendor/assets/javascripts/yui-2.8.1/build/stylesheet/stylesheet.js +645 -0
  342. data/vendor/assets/javascripts/yui-2.8.1/build/swf/swf-debug.js +269 -0
  343. data/vendor/assets/javascripts/yui-2.8.1/build/swf/swf-min.js +7 -0
  344. data/vendor/assets/javascripts/yui-2.8.1/build/swf/swf.js +268 -0
  345. data/vendor/assets/javascripts/yui-2.8.1/build/swfdetect/swfdetect-debug.js +93 -0
  346. data/vendor/assets/javascripts/yui-2.8.1/build/swfdetect/swfdetect-min.js +7 -0
  347. data/vendor/assets/javascripts/yui-2.8.1/build/swfdetect/swfdetect.js +93 -0
  348. data/vendor/assets/javascripts/yui-2.8.1/build/swfstore/swf.js +238 -0
  349. data/vendor/assets/javascripts/yui-2.8.1/build/swfstore/swfstore-debug.js +470 -0
  350. data/vendor/assets/javascripts/yui-2.8.1/build/swfstore/swfstore-min.js +7 -0
  351. data/vendor/assets/javascripts/yui-2.8.1/build/swfstore/swfstore.js +453 -0
  352. data/vendor/assets/javascripts/yui-2.8.1/build/swfstore/swfstore.swf +0 -0
  353. data/vendor/assets/javascripts/yui-2.8.1/build/tabview/assets/border_tabs.css +54 -0
  354. data/vendor/assets/javascripts/yui-2.8.1/build/tabview/assets/loading.gif +0 -0
  355. data/vendor/assets/javascripts/yui-2.8.1/build/tabview/assets/skin-sam.css +77 -0
  356. data/vendor/assets/javascripts/yui-2.8.1/build/tabview/assets/skins/sam/tabview-skin.css +186 -0
  357. data/vendor/assets/javascripts/yui-2.8.1/build/tabview/assets/skins/sam/tabview.css +8 -0
  358. data/vendor/assets/javascripts/yui-2.8.1/build/tabview/assets/tabview-core.css +133 -0
  359. data/vendor/assets/javascripts/yui-2.8.1/build/tabview/assets/tabview.css +77 -0
  360. data/vendor/assets/javascripts/yui-2.8.1/build/tabview/tabview-debug.js +995 -0
  361. data/vendor/assets/javascripts/yui-2.8.1/build/tabview/tabview-min.js +8 -0
  362. data/vendor/assets/javascripts/yui-2.8.1/build/tabview/tabview.js +987 -0
  363. data/vendor/assets/javascripts/yui-2.8.1/build/treeview/assets/skins/sam/check0.gif +0 -0
  364. data/vendor/assets/javascripts/yui-2.8.1/build/treeview/assets/skins/sam/check1.gif +0 -0
  365. data/vendor/assets/javascripts/yui-2.8.1/build/treeview/assets/skins/sam/check2.gif +0 -0
  366. data/vendor/assets/javascripts/yui-2.8.1/build/treeview/assets/skins/sam/loading.gif +0 -0
  367. data/vendor/assets/javascripts/yui-2.8.1/build/treeview/assets/skins/sam/treeview-loading.gif +0 -0
  368. data/vendor/assets/javascripts/yui-2.8.1/build/treeview/assets/skins/sam/treeview-skin.css +249 -0
  369. data/vendor/assets/javascripts/yui-2.8.1/build/treeview/assets/skins/sam/treeview-sprite.gif +0 -0
  370. data/vendor/assets/javascripts/yui-2.8.1/build/treeview/assets/skins/sam/treeview.css +7 -0
  371. data/vendor/assets/javascripts/yui-2.8.1/build/treeview/assets/treeview-core.css +6 -0
  372. data/vendor/assets/javascripts/yui-2.8.1/build/treeview/treeview-debug.js +4058 -0
  373. data/vendor/assets/javascripts/yui-2.8.1/build/treeview/treeview-min.js +12 -0
  374. data/vendor/assets/javascripts/yui-2.8.1/build/treeview/treeview.js +3989 -0
  375. data/vendor/assets/javascripts/yui-2.8.1/build/uploader/assets/uploader.swf +0 -0
  376. data/vendor/assets/javascripts/yui-2.8.1/build/uploader/uploader-debug.js +1072 -0
  377. data/vendor/assets/javascripts/yui-2.8.1/build/uploader/uploader-min.js +15 -0
  378. data/vendor/assets/javascripts/yui-2.8.1/build/uploader/uploader.js +1069 -0
  379. data/vendor/assets/javascripts/yui-2.8.1/build/utilities/utilities.js +39 -0
  380. data/vendor/assets/javascripts/yui-2.8.1/build/yahoo-dom-event/yahoo-dom-event.js +14 -0
  381. data/vendor/assets/javascripts/yui-2.8.1/build/yahoo/yahoo-debug.js +1075 -0
  382. data/vendor/assets/javascripts/yui-2.8.1/build/yahoo/yahoo-min.js +7 -0
  383. data/vendor/assets/javascripts/yui-2.8.1/build/yahoo/yahoo.js +1075 -0
  384. data/vendor/assets/javascripts/yui-2.8.1/build/yuiloader-dom-event/yuiloader-dom-event.js +17 -0
  385. data/vendor/assets/javascripts/yui-2.8.1/build/yuiloader/yuiloader-debug.js +3879 -0
  386. data/vendor/assets/javascripts/yui-2.8.1/build/yuiloader/yuiloader-min.js +10 -0
  387. data/vendor/assets/javascripts/yui-2.8.1/build/yuiloader/yuiloader.js +3879 -0
  388. data/vendor/assets/javascripts/yui-2.8.1/build/yuitest/assets/skins/sam/yuitest-skin.css +7 -0
  389. data/vendor/assets/javascripts/yui-2.8.1/build/yuitest/assets/skins/sam/yuitest.css +7 -0
  390. data/vendor/assets/javascripts/yui-2.8.1/build/yuitest/assets/testlogger.css +7 -0
  391. data/vendor/assets/javascripts/yui-2.8.1/build/yuitest/assets/yuitest-core.css +7 -0
  392. data/vendor/assets/javascripts/yui-2.8.1/build/yuitest/yuitest-debug.js +2741 -0
  393. data/vendor/assets/javascripts/yui-2.8.1/build/yuitest/yuitest-min.js +10 -0
  394. data/vendor/assets/javascripts/yui-2.8.1/build/yuitest/yuitest.js +2741 -0
  395. data/vendor/assets/javascripts/yui-2.8.1/build/yuitest/yuitest_core-debug.js +1976 -0
  396. data/vendor/assets/javascripts/yui-2.8.1/build/yuitest/yuitest_core-min.js +9 -0
  397. data/vendor/assets/javascripts/yui-2.8.1/build/yuitest/yuitest_core.js +1976 -0
  398. metadata +470 -0
@@ -0,0 +1,93 @@
1
+ /*
2
+ Copyright (c) 2010, Yahoo! Inc. All rights reserved.
3
+ Code licensed under the BSD License:
4
+ http://developer.yahoo.com/yui/license.html
5
+ version: 2.8.1
6
+ */
7
+ /**
8
+ * Utility for Flash version detection
9
+ * @namespace YAHOO.util
10
+ * @module swfdetect
11
+ */
12
+ YAHOO.namespace("util");
13
+
14
+ /**
15
+ * Flafh detection utility.
16
+ * @class SWFDetect
17
+ * @static
18
+ */
19
+ (function () {
20
+
21
+ var version = 0;
22
+ var uA = YAHOO.env.ua;
23
+ var sF = "ShockwaveFlash";
24
+
25
+ if (uA.gecko || uA.webkit || uA.opera) {
26
+ if ((mF = navigator.mimeTypes['application/x-shockwave-flash'])) {
27
+ if ((eP = mF.enabledPlugin)) {
28
+ var vS = [];
29
+ vS = eP.description.replace(/\s[rd]/g, '.').replace(/[A-Za-z\s]+/g, '').split('.');
30
+ version = vS[0] + '.';
31
+ switch((vS[2].toString()).length)
32
+ {
33
+ case 1:
34
+ version += "00";
35
+ break;
36
+ case 2:
37
+ version += "0";
38
+ break;
39
+ }
40
+ version += vS[2];
41
+ version = parseFloat(version);
42
+ }
43
+ }
44
+ }
45
+ else if(uA.ie) {
46
+ try
47
+ {
48
+ var ax6 = new ActiveXObject(sF + "." + sF + ".6");
49
+ ax6.AllowScriptAccess = "always";
50
+ }
51
+ catch(e)
52
+ {
53
+ if(ax6 != null)
54
+ {
55
+ version = 6.0;
56
+ }
57
+ }
58
+ if (version == 0) {
59
+ try
60
+ {
61
+ var ax = new ActiveXObject(sF + "." + sF);
62
+ var vS = [];
63
+ vS = ax.GetVariable("$version").replace(/[A-Za-z\s]+/g, '').split(',');
64
+ version = vS[0] + '.';
65
+ switch((vS[2].toString()).length)
66
+ {
67
+ case 1:
68
+ version += "00";
69
+ break;
70
+ case 2:
71
+ version += "0";
72
+ break;
73
+ }
74
+ version += vS[2];
75
+ version = parseFloat(version);
76
+
77
+ } catch (e) {}
78
+ }
79
+ }
80
+
81
+ uA.flash = version;
82
+
83
+ YAHOO.util.SWFDetect = {
84
+ getFlashVersion : function () {
85
+ return version;
86
+ },
87
+
88
+ isFlashVersionAtLeast : function (ver) {
89
+ return version >= ver;
90
+ }
91
+ };
92
+ })();
93
+ YAHOO.register("swfdetect", YAHOO.util.SWFDetect, {version: "2.8.1", build: "19"});
@@ -0,0 +1,7 @@
1
+ /*
2
+ Copyright (c) 2010, Yahoo! Inc. All rights reserved.
3
+ Code licensed under the BSD License:
4
+ http://developer.yahoo.com/yui/license.html
5
+ version: 2.8.1
6
+ */
7
+ YAHOO.namespace("util");(function(){var A=0;var B=YAHOO.env.ua;var C="ShockwaveFlash";if(B.gecko||B.webkit||B.opera){if((mF=navigator.mimeTypes["application/x-shockwave-flash"])){if((eP=mF.enabledPlugin)){var G=[];G=eP.description.replace(/\s[rd]/g,".").replace(/[A-Za-z\s]+/g,"").split(".");A=G[0]+".";switch((G[2].toString()).length){case 1:A+="00";break;case 2:A+="0";break;}A+=G[2];A=parseFloat(A);}}}else{if(B.ie){try{var D=new ActiveXObject(C+"."+C+".6");D.AllowScriptAccess="always";}catch(F){if(D!=null){A=6;}}if(A==0){try{var E=new ActiveXObject(C+"."+C);var G=[];G=E.GetVariable("$version").replace(/[A-Za-z\s]+/g,"").split(",");A=G[0]+".";switch((G[2].toString()).length){case 1:A+="00";break;case 2:A+="0";break;}A+=G[2];A=parseFloat(A);}catch(F){}}}}B.flash=A;YAHOO.util.SWFDetect={getFlashVersion:function(){return A;},isFlashVersionAtLeast:function(H){return A>=H;}};})();YAHOO.register("swfdetect",YAHOO.util.SWFDetect,{version:"2.8.1",build:"19"});
@@ -0,0 +1,93 @@
1
+ /*
2
+ Copyright (c) 2010, Yahoo! Inc. All rights reserved.
3
+ Code licensed under the BSD License:
4
+ http://developer.yahoo.com/yui/license.html
5
+ version: 2.8.1
6
+ */
7
+ /**
8
+ * Utility for Flash version detection
9
+ * @namespace YAHOO.util
10
+ * @module swfdetect
11
+ */
12
+ YAHOO.namespace("util");
13
+
14
+ /**
15
+ * Flafh detection utility.
16
+ * @class SWFDetect
17
+ * @static
18
+ */
19
+ (function () {
20
+
21
+ var version = 0;
22
+ var uA = YAHOO.env.ua;
23
+ var sF = "ShockwaveFlash";
24
+
25
+ if (uA.gecko || uA.webkit || uA.opera) {
26
+ if ((mF = navigator.mimeTypes['application/x-shockwave-flash'])) {
27
+ if ((eP = mF.enabledPlugin)) {
28
+ var vS = [];
29
+ vS = eP.description.replace(/\s[rd]/g, '.').replace(/[A-Za-z\s]+/g, '').split('.');
30
+ version = vS[0] + '.';
31
+ switch((vS[2].toString()).length)
32
+ {
33
+ case 1:
34
+ version += "00";
35
+ break;
36
+ case 2:
37
+ version += "0";
38
+ break;
39
+ }
40
+ version += vS[2];
41
+ version = parseFloat(version);
42
+ }
43
+ }
44
+ }
45
+ else if(uA.ie) {
46
+ try
47
+ {
48
+ var ax6 = new ActiveXObject(sF + "." + sF + ".6");
49
+ ax6.AllowScriptAccess = "always";
50
+ }
51
+ catch(e)
52
+ {
53
+ if(ax6 != null)
54
+ {
55
+ version = 6.0;
56
+ }
57
+ }
58
+ if (version == 0) {
59
+ try
60
+ {
61
+ var ax = new ActiveXObject(sF + "." + sF);
62
+ var vS = [];
63
+ vS = ax.GetVariable("$version").replace(/[A-Za-z\s]+/g, '').split(',');
64
+ version = vS[0] + '.';
65
+ switch((vS[2].toString()).length)
66
+ {
67
+ case 1:
68
+ version += "00";
69
+ break;
70
+ case 2:
71
+ version += "0";
72
+ break;
73
+ }
74
+ version += vS[2];
75
+ version = parseFloat(version);
76
+
77
+ } catch (e) {}
78
+ }
79
+ }
80
+
81
+ uA.flash = version;
82
+
83
+ YAHOO.util.SWFDetect = {
84
+ getFlashVersion : function () {
85
+ return version;
86
+ },
87
+
88
+ isFlashVersionAtLeast : function (ver) {
89
+ return version >= ver;
90
+ }
91
+ };
92
+ })();
93
+ YAHOO.register("swfdetect", YAHOO.util.SWFDetect, {version: "2.8.1", build: "19"});
@@ -0,0 +1,238 @@
1
+ /*
2
+ Copyright (c) 2010, Yahoo! Inc. All rights reserved.
3
+ Code licensed under the BSD License:
4
+ http://developer.yahoo.com/yui/license.html
5
+ version: 2.8.1
6
+ */
7
+ YAHOO.namespace("widget");
8
+
9
+ (function () {
10
+
11
+ var version = 0;
12
+ var UA = YAHOO.env.ua;
13
+ var sF = "ShockwaveFlash";
14
+
15
+ if (UA.gecko || UA.webkit || UA.opera) {
16
+ if ((mF = navigator.mimeTypes['application/x-shockwave-flash'])) {
17
+ if ((eP = mF.enabledPlugin)) {
18
+ var vS = [];
19
+ vS = eP.description.replace(/\s[rd]/g, '.').replace(/[A-Za-z\s]+/g, '').split('.');
20
+ version = vS[0] + '.';
21
+ switch((vS[2].toString()).length)
22
+ {
23
+ case 1:
24
+ version += "00";
25
+ break;
26
+ case 2:
27
+ version += "0";
28
+ break;
29
+ }
30
+ version += vS[2];
31
+ version = parseFloat(version);
32
+ }
33
+ }
34
+ }
35
+ else if(UA.ie) {
36
+ try
37
+ {
38
+ var ax6 = new ActiveXObject(sF + "." + sF + ".6");
39
+ ax6.AllowScriptAccess = "always";
40
+ }
41
+ catch(e)
42
+ {
43
+ if(ax6 != null)
44
+ {
45
+ version = 6.0;
46
+ }
47
+ }
48
+ if (version == 0) {
49
+ try
50
+ {
51
+ var ax = new ActiveXObject(sF + "." + sF);
52
+ var vS = [];
53
+ vS = ax.GetVariable("$version").replace(/[A-Za-z\s]+/g, '').split(',');
54
+ version = vS[0] + '.';
55
+ switch((vS[2].toString()).length)
56
+ {
57
+ case 1:
58
+ version += "00";
59
+ break;
60
+ case 2:
61
+ version += "0";
62
+ break;
63
+ }
64
+ version += vS[2];
65
+ version = parseFloat(version);
66
+
67
+ } catch (e) {}
68
+ }
69
+ }
70
+
71
+ UA.flash = version;
72
+
73
+ YAHOO.util.SWFDetect = {
74
+ getFlashVersion : function () {
75
+ return version;
76
+ },
77
+
78
+ isFlashVersionAtLeast : function (ver) {
79
+ return version >= ver;
80
+ }
81
+ };
82
+
83
+ var Dom = YAHOO.util.Dom,
84
+ Event = YAHOO.util.Event,
85
+ SWFDetect = YAHOO.util.SWFDetect,
86
+ Lang = YAHOO.lang,
87
+
88
+ // private
89
+ FLASH_CID = "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000",
90
+ FLASH_TYPE = "application/x-shockwave-flash",
91
+ FLASH_VER = "10.22",
92
+ EXPRESS_INSTALL_URL = "http://fpdownload.macromedia.com/pub/flashplayer/update/current/swf/autoUpdater.swf?" + Math.random(),
93
+ EVENT_HANDLER = "YAHOO.widget.SWF.eventHandler",
94
+ possibleAttributes = {align:"", allowNetworking:"", allowScriptAccess:"", base:"", bgcolor:"", menu:"", name:"", quality:"", salign:"", scale:"", tabindex:"", wmode:""};
95
+
96
+ /**
97
+ * The SWF utility is a tool for embedding Flash applications in HTMl pages.
98
+ * @module swf
99
+ * @title SWF Utility
100
+ * @requires yahoo, dom, event
101
+ * @namespace YAHOO.widget
102
+ */
103
+
104
+ /**
105
+ * Creates the SWF instance and keeps the configuration data
106
+ *
107
+ * @class SWF
108
+ * @extends YAHOO.util.Element
109
+ * @constructor
110
+ * @param {String|HTMLElement} id The id of the element, or the element itself that the SWF will be inserted into.
111
+ * The width and height of the SWF will be set to the width and height of this container element.
112
+ * @param {String} swfURL The URL of the SWF to be embedded into the page.
113
+ * @param {Object} p_oAttributes (optional) Configuration parameters for the Flash application and values for Flashvars
114
+ * to be passed to the SWF.
115
+ */
116
+
117
+ YAHOO.widget.SWF = function (p_oElement /*:String*/, swfURL /*:String*/, p_oAttributes /*:Object*/ ) {
118
+
119
+ this._queue = this._queue || [];
120
+ this._events = this._events || {};
121
+ this._configs = this._configs || {};
122
+
123
+ /**
124
+ * The DOM id of this instance of the element. Automatically generated.
125
+ * @property _id
126
+ * @type String
127
+ */
128
+ this._id = Dom.generateId(null, "yuiswf");
129
+
130
+ var _id = this._id;
131
+ var oElement = Dom.get(p_oElement);
132
+ var flashVersion = (p_oAttributes["version"] || FLASH_VER);
133
+ var isFlashVersionRight = SWFDetect.isFlashVersionAtLeast(flashVersion);
134
+ var canExpressInstall = (UA.flash >= 8.0);
135
+ var shouldExpressInstall = canExpressInstall && !isFlashVersionRight && p_oAttributes["useExpressInstall"];
136
+ var flashURL = (shouldExpressInstall)?EXPRESS_INSTALL_URL:swfURL;
137
+ var objstring = '<object ';
138
+ var w, h;
139
+ var flashvarstring = "YUISwfId=" + _id + "&YUIBridgeCallback=" + EVENT_HANDLER + "&";
140
+
141
+ YAHOO.widget.SWF._instances[_id] = this;
142
+
143
+ if (oElement && (isFlashVersionRight || shouldExpressInstall) && flashURL) {
144
+ objstring += 'id="' + _id + '" ';
145
+ if (UA.ie) {
146
+ objstring += 'classid="' + FLASH_CID + '" '
147
+ }
148
+ else {
149
+ objstring += 'type="' + FLASH_TYPE + '" data="' + flashURL + '" ';
150
+ }
151
+
152
+ w = "100%";
153
+ h = "100%";
154
+
155
+ objstring += 'width="' + w + '" height="' + h + '">';
156
+
157
+ if (UA.ie) {
158
+ objstring += '<param name="movie" value="' + flashURL + '"/>';
159
+ }
160
+
161
+ for (var attribute in p_oAttributes.fixedAttributes) {
162
+ if (possibleAttributes.hasOwnProperty(attribute)) {
163
+ objstring += '<param name="' + attribute + '" value="' + p_oAttributes.fixedAttributes[attribute] + '"/>';
164
+ }
165
+ }
166
+
167
+ for (var flashvar in p_oAttributes.flashVars) {
168
+ var fvar = p_oAttributes.flashVars[flashvar];
169
+ if (Lang.isString(fvar)) {
170
+ flashvarstring += "&" + flashvar + "=" + encodeURIComponent(fvar);
171
+ }
172
+ }
173
+
174
+ if (flashvarstring) {
175
+ objstring += '<param name="flashVars" value="' + flashvarstring + '"/>';
176
+ }
177
+
178
+ objstring += "</object>";
179
+
180
+ oElement.innerHTML = objstring;
181
+ }
182
+
183
+ YAHOO.widget.SWF.superclass.constructor.call(this, Dom.get(_id));
184
+ this._swf = Dom.get(_id);
185
+ };
186
+
187
+ /**
188
+ * The static collection of all instances of the SWFs on the page.
189
+ * @property _instances
190
+ * @private
191
+ * @type Object
192
+ */
193
+
194
+ YAHOO.widget.SWF._instances = YAHOO.widget.SWF._instances || {};
195
+
196
+ /**
197
+ * Handles an event coming from within the SWF and delegate it
198
+ * to a specific instance of SWF.
199
+ * @method eventHandler
200
+ * @param swfid {String} the id of the SWF dispatching the event
201
+ * @param event {Object} the event being transmitted.
202
+ * @private
203
+ */
204
+ YAHOO.widget.SWF.eventHandler = function (swfid, event) {
205
+ YAHOO.widget.SWF._instances[swfid]._eventHandler(event);
206
+ };
207
+
208
+ YAHOO.extend(YAHOO.widget.SWF, YAHOO.util.Element, {
209
+ _eventHandler: function(event)
210
+ {
211
+ if (event.type == "swfReady") {
212
+ this.createEvent("swfReady");
213
+ this.fireEvent("swfReady", event);
214
+ }
215
+ else {
216
+ this.fireEvent(event.type, event);
217
+ }
218
+ },
219
+ /**
220
+ * Calls a specific function exposed by the SWF's
221
+ * ExternalInterface.
222
+ * @method callSWF
223
+ * @param func {String} the name of the function to call
224
+ * @param args {Object} the set of arguments to pass to the function.
225
+ */
226
+ callSWF: function (func, args)
227
+ {
228
+ if (this._swf[func]) {
229
+ return(this._swf[func].apply(this._swf, args));
230
+ } else {
231
+ return null;
232
+ }
233
+ }
234
+ });
235
+
236
+
237
+ })();
238
+ YAHOO.register("swf", YAHOO.widget.SWF, {version: "2.8.1", build: "19"});
@@ -0,0 +1,470 @@
1
+ /*
2
+ Copyright (c) 2010, Yahoo! Inc. All rights reserved.
3
+ Code licensed under the BSD License:
4
+ http://developer.yahoo.com/yui/license.html
5
+ version: 2.8.1
6
+ */
7
+ /**
8
+ * Provides a swf based storage implementation
9
+ *
10
+ * @module swfstore
11
+ */
12
+
13
+ /**
14
+ * Class for the YUI SWFStore util.
15
+ *
16
+ * @namespace YAHOO.util
17
+ * @class SWFStore
18
+ * @uses YAHOO.util.AttributeProvider
19
+ * @constructor
20
+ * @param containerId {HTMLElement} Container element for the Flash Player instance.
21
+ * @param shareData {Boolean} Whether or not data should be shared across browsers
22
+ * @param useCompression {Boolean} Container element for the Flash Player instance.
23
+ */
24
+ YAHOO.util.SWFStore = function(containerID, shareData, useCompression)
25
+ {
26
+ //browser detection
27
+ var browser;
28
+ var newValue;
29
+ //convert Booleans to strings for flashvars compatibility
30
+ shareData = shareData.toString();
31
+ useCompression = useCompression.toString();
32
+
33
+ if (YAHOO.env.ua.ie) browser = "ie";
34
+ else if (YAHOO.env.ua.gecko) browser = "gecko"; //Firefox
35
+ else if (YAHOO.env.ua.webkit) browser = "webkit"; // Safari, Webkit
36
+ else if (YAHOO.env.ua.caja) browser = "caja";
37
+ else if (YAHOO.env.ua.opera) browser = "opera";
38
+ else browser = "other";
39
+
40
+ if(YAHOO.util.Cookie.get("swfstore") == null || YAHOO.util.Cookie.get("swfstore") == "null" || YAHOO.util.Cookie.get("swfstore") == "")
41
+ {
42
+
43
+ newValue = Math.round(Math.random() * Math.PI * 100000);
44
+ YAHOO.util.Cookie.set("swfstore", newValue);
45
+
46
+ }
47
+
48
+ else
49
+ {
50
+ newValue = YAHOO.util.Cookie.get("swfstore");
51
+ }
52
+
53
+
54
+ var params =
55
+ {
56
+ version: 9.115,
57
+ useExpressInstall: false,
58
+ fixedAttributes:
59
+ {allowScriptAccess:"always", allowNetworking:"all", scale:"noScale"},
60
+ flashVars:
61
+ {shareData: shareData, browser: newValue, useCompression: useCompression}
62
+ };
63
+
64
+
65
+
66
+ this.embeddedSWF = new YAHOO.widget.SWF(containerID, YAHOO.util.SWFStore.SWFURL, params);
67
+
68
+
69
+ /**
70
+ * Fires when an error occurs
71
+ *
72
+ * @event error
73
+ * @param event.type {String} The event type
74
+ * @param event.message {String} The data
75
+ *
76
+ */
77
+ this.createEvent("error");
78
+
79
+ /**
80
+ * Fires when there is not enough space available to store the data
81
+ *
82
+ * @event quotaExceededError
83
+ * @param event.type {String} The event type
84
+ * @param event.message {String} The data
85
+ *
86
+ */
87
+ this.createEvent("quotaExceededError");
88
+
89
+ /**
90
+ * Fires when the url matching for the security whitelist is invalid.
91
+ * If no whitelist is used, fires when page's url does not match the embedded swf's url
92
+ *
93
+ * @event securityError
94
+ * @param event.type {String} The event type
95
+ * @param event.message {String} The data
96
+ *
97
+ */
98
+ this.createEvent("securityError");
99
+
100
+ /**
101
+ * Fires when a store is saved successfully
102
+ *
103
+ * @event save
104
+ * @param event.type {String} The event type
105
+ *
106
+ */
107
+ this.createEvent("save");
108
+
109
+ /**
110
+ * Fires when a store is successfully cleared
111
+ *
112
+ * @event clear
113
+ * @param event.type {String} The event type
114
+ *
115
+ */
116
+ this.createEvent("clear");
117
+
118
+
119
+ /**
120
+ * Fires when the save is pending, due to a request for additional storage
121
+ *
122
+ * @event error
123
+ * @param event.type {String} The event type
124
+ *
125
+ */
126
+ this.createEvent("pending");
127
+
128
+
129
+ /**
130
+ * Fires as the settings dialog displays
131
+ *
132
+ * @event openingDialog
133
+ * @param event.type {String} The event type
134
+ *
135
+ */
136
+ this.createEvent("openingDialog");
137
+
138
+ /**
139
+ * Fires when a settings dialog is not able to be displayed due to
140
+ * the SWF not being large enough to show it. In this case, the developer
141
+ * needs to resize the SWF to width of 215px and height of 138px or above,
142
+ * or display an external settings page.
143
+ *
144
+ * @event inadequateDimensions
145
+ * @param event.type {String} The event type
146
+ *
147
+ */
148
+ this.createEvent("inadequateDimensions");
149
+ };
150
+
151
+ YAHOO.extend(YAHOO.util.SWFStore, YAHOO.util.AttributeProvider,
152
+ {
153
+
154
+
155
+
156
+ /**
157
+ * Method to attach listeners to events
158
+ * @param type {String} The tyep of event to listen for
159
+ * @param listener {String} The function to call
160
+ */
161
+ on: function(type, listener)
162
+ {
163
+ this.embeddedSWF.addListener(type, listener);
164
+ },
165
+
166
+ /**
167
+ * Method to attach listeners to events
168
+ * @param type {String} The tyep of event to listen for
169
+ * @param listener {String} The function to call
170
+ */
171
+ addListener: function(type, listener)
172
+ {
173
+ YAHOO.log("adding '" + type + "' listener");
174
+ this.embeddedSWF.addListener(type, listener);
175
+ },
176
+
177
+ /**
178
+ * Public accessor to the unique name of the SWFStore instance.
179
+ *
180
+ * @method toString
181
+ * @return {String} Unique name of the SWFStore instance.
182
+ */
183
+ toString: function()
184
+ {
185
+ return "SWFStore " + this._id;
186
+ },
187
+
188
+ /**
189
+ * Public accessor to the unique name of the SWFStore instance.
190
+ *
191
+ * @method getShareData
192
+ * @return {Boolean} Whether or not data is being shared among browsers
193
+ */
194
+ getShareData: function()
195
+ {
196
+ return this.embeddedSWF.callSWF("getShareData");
197
+ },
198
+ /**
199
+ * Public accessor to the unique name of the SWFStore instance.
200
+ *
201
+ * @method setShareData
202
+ * @param {Boolean} Whether or not to share among browsers
203
+ */
204
+ setShareData: function(value)
205
+ {
206
+ YAHOO.log("Setting share data to " + value);
207
+ this.embeddedSWF.callSWF("setShareData", [value]);
208
+ },
209
+
210
+ /**
211
+ * Determines if SWF's visible area is large enough to fit the settings panel
212
+ *
213
+ * @method hasAdequateDimensions
214
+ * @return {Boolean} Whether or not to share among browsers
215
+ */
216
+ hasAdequateDimensions: function()
217
+ {
218
+ YAHOO.log("dimensions adequate? " + this.embeddedSWF.callSWF("hasAdequateDimensions"));
219
+ return this.embeddedSWF.callSWF("hasAdequateDimensions");
220
+ },
221
+
222
+ /**
223
+ * Public accessor to the unique name of the SWFStore instance.
224
+ *
225
+ * @method getUseCompression
226
+ * @return {Boolean} Whether or compression is being used
227
+ */
228
+ getUseCompression: function()
229
+ {
230
+ return this.embeddedSWF.callSWF("getUseCompression");
231
+ },
232
+
233
+ /**
234
+ * Public accessor to the unique name of the SWFStore instance.
235
+ *
236
+ * @method setUseCompression
237
+ * @param {Boolean} Whether or to compress stored data
238
+ */
239
+ setUseCompression: function(value)
240
+ {
241
+ YAHOO.log("Setting compression to " + value);
242
+ this.embeddedSWF.callSWF("setUseCompression", [value]);
243
+ },
244
+
245
+ /**
246
+ * Saves data to local storage. It returns a String that can
247
+ * be one of three values: "true" if the storage succeeded; "false" if the user
248
+ * has denied storage on their machine or storage space allotted is not sufficient.
249
+ * <p>The size limit for the passed parameters is ~40Kb.</p>
250
+ * @method setItem
251
+ * @param data {Object} The data to store
252
+ * @param location {String} The name of the "cookie" or store
253
+ * @return {Boolean} Whether or not the save was successful
254
+ *
255
+ */
256
+ setItem: function(location,data)
257
+ {
258
+ YAHOO.log("setting " + location + " to " + data);
259
+ return this.embeddedSWF.callSWF("setItem", [location, data]);
260
+ } ,
261
+
262
+ /**
263
+ * Returns the value of the store at the specified index, if any.
264
+ * @method getValueAt
265
+ * @param index {Number} The index of the stored item
266
+ * @return {Object} The value of the store at that index
267
+ *
268
+ */
269
+ getValueAt: function(index)
270
+ {
271
+ YAHOO.log("value at " + index + " is " + this.embeddedSWF.callSWF("getValueAt", [index]) );
272
+ return this.embeddedSWF.callSWF("getValueAt", [index]);
273
+ },
274
+
275
+ /**
276
+ * Returns the key name in storage, if any, at the specified index.
277
+ *
278
+ * @param index {Number} The index of the "cookie" or store
279
+ * @return {Object}The data
280
+ * @method setItem
281
+ *
282
+ */
283
+ getNameAt: function(index)
284
+ {
285
+ YAHOO.log("name at " + index + " is " + this.embeddedSWF.callSWF("getNameAt", [index]) );
286
+ return this.embeddedSWF.callSWF("getNameAt", [index]);
287
+ },
288
+
289
+
290
+ /**
291
+ * Returns the value of the item in storage, if any.
292
+ * @method getValueOf
293
+ * @param location {String} The name of the "cookie" or store
294
+ * @return {Object} The data
295
+ *
296
+ */
297
+ getValueOf: function(location)
298
+ {
299
+ YAHOO.log("value of " + location + " is " + this.embeddedSWF.callSWF("getValueOf", [location]) );
300
+ return this.embeddedSWF.callSWF("getValueOf", [location]);
301
+ } ,
302
+
303
+ /**
304
+ * Returns the data type of of the storage.
305
+ * <p>May be one of the following types:
306
+ * <ul>
307
+ * <li>boolean</li>
308
+ * <li>function</li>
309
+ * <li>number</li>
310
+ * <li>object</li>
311
+ * <li>string</li>
312
+ * <li>number</li>
313
+ * <li>xml</li>
314
+ * </ul>
315
+ * </p>
316
+ * @method getTypeOf
317
+ * @param location {String} The name of the "cookie" or store
318
+ * @return {String} The type
319
+ *
320
+ */
321
+ getTypeOf: function(location)
322
+ {
323
+ YAHOO.log("type of " + location + " is " + this.embeddedSWF.callSWF("getTypeOf", [location]) );
324
+ return this.embeddedSWF.callSWF("getTypeOf", [location]);
325
+ } ,
326
+
327
+ /**
328
+ * Returns the data type of of the storage.
329
+ * <p>May be one of the following types:
330
+ * <ul>
331
+ * <li>boolean</li>
332
+ * <li>function</li>
333
+ * <li>number</li>
334
+ * <li>object</li>
335
+ * <li>string</li>
336
+ * <li>number</li>
337
+ * <li>xml</li>
338
+ * </ul>
339
+ * </p>
340
+ * @method getTypeAt
341
+ * @param location {Number} The index of the "cookie" or store
342
+ * @return {String} The type
343
+ *
344
+ */
345
+ getTypeAt: function(index)
346
+ {
347
+ YAHOO.log("type at " + index + " is " + this.embeddedSWF.callSWF("getTypeAt", [index]) );
348
+ return this.embeddedSWF.callSWF("getTypeAt", [index]);
349
+ } ,
350
+
351
+ /**
352
+ * Returns the items in storage as an array.
353
+ * @method getItems
354
+ * @return {Object} The data.
355
+ * @public
356
+ */
357
+ getItems: function()
358
+ {
359
+ return this.embeddedSWF.callSWF("getItems", []);
360
+ },
361
+
362
+ /**
363
+ * Removes the item in storage, if any.
364
+ * @method removeItem
365
+ * @param location {String} The name of the "cookie" or store
366
+ *
367
+ */
368
+ removeItem: function(location)
369
+ {
370
+ YAHOO.log("removing " + location);
371
+ return this.embeddedSWF.callSWF("removeItem", [location]);
372
+ } ,
373
+
374
+ /**
375
+ * Removes the item in storage at the specified index, if any.
376
+ * @method removeItem
377
+ * @param index {Number} The index of the "cookie" or store
378
+ *
379
+ */
380
+ removeItemAt: function(index)
381
+ {
382
+ YAHOO.log("removing item at " + index);
383
+ return this.embeddedSWF.callSWF("removeItemAt", [index]);
384
+ } ,
385
+
386
+ /**
387
+ * Returns the number of items in storage, if any.
388
+ * @method getLength
389
+ * @return {Number} The number of items
390
+ *
391
+ */
392
+ getLength: function()
393
+ {
394
+ return this.embeddedSWF.callSWF("getLength", []);
395
+ } ,
396
+
397
+ /**
398
+ * Removes all data in local storage for this domain.
399
+ * <p>Be careful when using this method, as it may
400
+ * remove stored information that is used by other applications
401
+ * in this domain </p>
402
+ * @method clear
403
+ */
404
+ clear: function()
405
+ {
406
+ YAHOO.log("clearing all items");
407
+ return this.embeddedSWF.callSWF("clear", []);
408
+ } ,
409
+
410
+ /**
411
+ * Gets the current size, in KB, of the amount of space taken by the current store.
412
+ * Note that this is calculated, and may take time depending on the number of items stored
413
+ * @method calculateCurrentSize
414
+ * @return {Number} The size of the store in KB
415
+ */
416
+ calculateCurrentSize: function()
417
+ {
418
+ YAHOO.log("calculating size");
419
+ return this.embeddedSWF.callSWF("calculateCurrentSize", []);
420
+ } ,
421
+
422
+ /**
423
+ * Gets the timestamp of the last store. This value is automatically set when
424
+ * data is stored.
425
+ * @method getModificationDate
426
+ * @return {Date} A Date object
427
+ */
428
+ getModificationDate: function()
429
+ {
430
+ YAHOO.log("getting date");
431
+ return this.embeddedSWF.callSWF("getModificationDate", []);
432
+ } ,
433
+
434
+ /**
435
+ * This method requests more storage (if the amount is above 100KB or the current setting).
436
+ *
437
+ * The request dialog has to be displayed within the Flash player itself
438
+ * so the SWF it is called from must be visible and at least 215px x 138px (w x h) in size.
439
+ *
440
+ * @method setSize
441
+ * @param value {Number} The size, in KB
442
+ * @return {String}
443
+ */
444
+ setSize: function(value)
445
+ {
446
+ var result = this.embeddedSWF.callSWF("setSize", [value]);
447
+ YAHOO.log("attempt to set size to " + value*1024 + " bytes resulted in " + result);
448
+ return result;
449
+ } ,
450
+
451
+ /**
452
+ * Displays the settings dialog to allow the user to configure
453
+ * storage settings manually. If the SWF height and width are smaller than
454
+ * what is allowable to display the local settings panel,
455
+ * an openExternalDialog message will be sent to JavaScript.
456
+ * @method displaySettings
457
+ */
458
+ displaySettings: function()
459
+ {
460
+ YAHOO.log("attempting to show settings. are dimensions adequate? " + this.embeddedSWF.callSWF("hasAdequateDimensions"));
461
+ this.embeddedSWF.callSWF("displaySettings", []);
462
+ }
463
+
464
+ });
465
+
466
+
467
+ YAHOO.util.SWFStore.SWFURL = "swfstore.swf";
468
+
469
+ YAHOO.register("swfstore", YAHOO.util.SWFStore, {version: "2.8.1", build: "19"});
470
+ YAHOO.register("swfstore", YAHOO.util.SWFStore, {version: "2.8.1", build: "19"});