jqplot_rails 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (377) hide show
  1. data/CHANGELOG.rdoc +2 -0
  2. data/LICENSE +0 -0
  3. data/README.rdoc +1 -0
  4. data/files/dist/MIT-LICENSE.txt +21 -0
  5. data/files/dist/README.txt +77 -0
  6. data/files/dist/changes.txt +395 -0
  7. data/files/dist/copyright.txt +56 -0
  8. data/files/dist/docs/files/MIT-LICENSE-txt.html +39 -0
  9. data/files/dist/docs/files/changes-txt.html +39 -0
  10. data/files/dist/docs/files/gpl-2-0-txt.html +39 -0
  11. data/files/dist/docs/files/images/background.jpg +0 -0
  12. data/files/dist/docs/files/images/basicline.png +0 -0
  13. data/files/dist/docs/files/images/basiclogaxis.png +0 -0
  14. data/files/dist/docs/files/images/basiclogoptions.png +0 -0
  15. data/files/dist/docs/files/images/basicoptions.png +0 -0
  16. data/files/dist/docs/files/images/dualaxis.png +0 -0
  17. data/files/dist/docs/files/images/logo.jpg +0 -0
  18. data/files/dist/docs/files/images/navdocs.png +0 -0
  19. data/files/dist/docs/files/images/navdocsover.png +0 -0
  20. data/files/dist/docs/files/images/navdownload.png +0 -0
  21. data/files/dist/docs/files/images/navdownloadover.png +0 -0
  22. data/files/dist/docs/files/images/navexamples.png +0 -0
  23. data/files/dist/docs/files/images/navexamplesover.png +0 -0
  24. data/files/dist/docs/files/images/navhome.png +0 -0
  25. data/files/dist/docs/files/images/navhomeover.png +0 -0
  26. data/files/dist/docs/files/images/new.png +0 -0
  27. data/files/dist/docs/files/images/sample3.png +0 -0
  28. data/files/dist/docs/files/images/samplesm.png +0 -0
  29. data/files/dist/docs/files/jqPlotCssStyling-txt.html +39 -0
  30. data/files/dist/docs/files/jqPlotOptions-txt.html +292 -0
  31. data/files/dist/docs/files/jqplot-axisLabelRenderer-js.html +47 -0
  32. data/files/dist/docs/files/jqplot-axisTickRenderer-js.html +71 -0
  33. data/files/dist/docs/files/jqplot-canvasGridRenderer-js.html +39 -0
  34. data/files/dist/docs/files/jqplot-core-js.html +385 -0
  35. data/files/dist/docs/files/jqplot-divTitleRenderer-js.html +39 -0
  36. data/files/dist/docs/files/jqplot-lineRenderer-js.html +69 -0
  37. data/files/dist/docs/files/jqplot-linearAxisRenderer-js.html +61 -0
  38. data/files/dist/docs/files/jqplot-markerRenderer-js.html +65 -0
  39. data/files/dist/docs/files/jqplot-shadowRenderer-js.html +61 -0
  40. data/files/dist/docs/files/jqplot-shapeRenderer-js.html +65 -0
  41. data/files/dist/docs/files/jqplot-themeEngine-js.html +191 -0
  42. data/files/dist/docs/files/jqplot-toImage-js.html +39 -0
  43. data/files/dist/docs/files/optionsTutorial-txt.html +120 -0
  44. data/files/dist/docs/files/plugins/jqplot-BezierCurveRenderer-js.html +45 -0
  45. data/files/dist/docs/files/plugins/jqplot-barRenderer-js.html +69 -0
  46. data/files/dist/docs/files/plugins/jqplot-blockRenderer-js.html +53 -0
  47. data/files/dist/docs/files/plugins/jqplot-bubbleRenderer-js.html +71 -0
  48. data/files/dist/docs/files/plugins/jqplot-canvasAxisLabelRenderer-js.html +63 -0
  49. data/files/dist/docs/files/plugins/jqplot-canvasAxisTickRenderer-js.html +79 -0
  50. data/files/dist/docs/files/plugins/jqplot-canvasOverlay-js.html +113 -0
  51. data/files/dist/docs/files/plugins/jqplot-categoryAxisRenderer-js.html +46 -0
  52. data/files/dist/docs/files/plugins/jqplot-ciParser-js.html +39 -0
  53. data/files/dist/docs/files/plugins/jqplot-cursor-js.html +93 -0
  54. data/files/dist/docs/files/plugins/jqplot-dateAxisRenderer-js.html +101 -0
  55. data/files/dist/docs/files/plugins/jqplot-donutRenderer-js.html +98 -0
  56. data/files/dist/docs/files/plugins/jqplot-dragable-js.html +45 -0
  57. data/files/dist/docs/files/plugins/jqplot-enhancedLegendRenderer-js.html +49 -0
  58. data/files/dist/docs/files/plugins/jqplot-funnelRenderer-js.html +87 -0
  59. data/files/dist/docs/files/plugins/jqplot-highlighter-js.html +80 -0
  60. data/files/dist/docs/files/plugins/jqplot-logAxisRenderer-js.html +47 -0
  61. data/files/dist/docs/files/plugins/jqplot-mekkoAxisRenderer-js.html +49 -0
  62. data/files/dist/docs/files/plugins/jqplot-mekkoRenderer-js.html +62 -0
  63. data/files/dist/docs/files/plugins/jqplot-meterGaugeRenderer-js.html +103 -0
  64. data/files/dist/docs/files/plugins/jqplot-ohlcRenderer-js.html +65 -0
  65. data/files/dist/docs/files/plugins/jqplot-pieRenderer-js.html +93 -0
  66. data/files/dist/docs/files/plugins/jqplot-pointLabels-js.html +72 -0
  67. data/files/dist/docs/files/plugins/jqplot-pyramidAxisRenderer-js.html +49 -0
  68. data/files/dist/docs/files/plugins/jqplot-pyramidGridRenderer-js.html +39 -0
  69. data/files/dist/docs/files/plugins/jqplot-pyramidRenderer-js.html +53 -0
  70. data/files/dist/docs/files/plugins/jqplot-trendline-js.html +67 -0
  71. data/files/dist/docs/files/usage-txt.html +58 -0
  72. data/files/dist/docs/index/Classes.html +70 -0
  73. data/files/dist/docs/index/Files.html +34 -0
  74. data/files/dist/docs/index/Functions.html +66 -0
  75. data/files/dist/docs/index/General.html +42 -0
  76. data/files/dist/docs/index/General2.html +42 -0
  77. data/files/dist/docs/index/General3.html +42 -0
  78. data/files/dist/docs/index/General4.html +46 -0
  79. data/files/dist/docs/index/General5.html +46 -0
  80. data/files/dist/docs/index/General6.html +34 -0
  81. data/files/dist/docs/index/General7.html +58 -0
  82. data/files/dist/docs/index/Hooks.html +46 -0
  83. data/files/dist/docs/index/Properties.html +42 -0
  84. data/files/dist/docs/index/Properties2.html +42 -0
  85. data/files/dist/docs/index/Properties3.html +46 -0
  86. data/files/dist/docs/index/Properties4.html +50 -0
  87. data/files/dist/docs/index/Properties5.html +34 -0
  88. data/files/dist/docs/index/Properties6.html +58 -0
  89. data/files/dist/docs/index.html +1 -0
  90. data/files/dist/docs/javascript/main.js +836 -0
  91. data/files/dist/docs/javascript/searchdata.js +182 -0
  92. data/files/dist/docs/search/ClassesA.html +20 -0
  93. data/files/dist/docs/search/ClassesD.html +20 -0
  94. data/files/dist/docs/search/ClassesG.html +20 -0
  95. data/files/dist/docs/search/ClassesH.html +20 -0
  96. data/files/dist/docs/search/ClassesJ.html +20 -0
  97. data/files/dist/docs/search/ClassesL.html +20 -0
  98. data/files/dist/docs/search/ClassesS.html +20 -0
  99. data/files/dist/docs/search/ClassesSymbols.html +20 -0
  100. data/files/dist/docs/search/ClassesT.html +20 -0
  101. data/files/dist/docs/search/ClassesV.html +20 -0
  102. data/files/dist/docs/search/FilesJ.html +20 -0
  103. data/files/dist/docs/search/FunctionsC.html +20 -0
  104. data/files/dist/docs/search/FunctionsD.html +20 -0
  105. data/files/dist/docs/search/FunctionsG.html +20 -0
  106. data/files/dist/docs/search/FunctionsI.html +20 -0
  107. data/files/dist/docs/search/FunctionsM.html +20 -0
  108. data/files/dist/docs/search/FunctionsN.html +20 -0
  109. data/files/dist/docs/search/FunctionsR.html +20 -0
  110. data/files/dist/docs/search/FunctionsS.html +20 -0
  111. data/files/dist/docs/search/FunctionsZ.html +20 -0
  112. data/files/dist/docs/search/GeneralA.html +20 -0
  113. data/files/dist/docs/search/GeneralB.html +20 -0
  114. data/files/dist/docs/search/GeneralC.html +20 -0
  115. data/files/dist/docs/search/GeneralD.html +20 -0
  116. data/files/dist/docs/search/GeneralE.html +20 -0
  117. data/files/dist/docs/search/GeneralF.html +20 -0
  118. data/files/dist/docs/search/GeneralG.html +20 -0
  119. data/files/dist/docs/search/GeneralH.html +20 -0
  120. data/files/dist/docs/search/GeneralI.html +20 -0
  121. data/files/dist/docs/search/GeneralJ.html +20 -0
  122. data/files/dist/docs/search/GeneralL.html +20 -0
  123. data/files/dist/docs/search/GeneralM.html +20 -0
  124. data/files/dist/docs/search/GeneralN.html +20 -0
  125. data/files/dist/docs/search/GeneralO.html +20 -0
  126. data/files/dist/docs/search/GeneralP.html +20 -0
  127. data/files/dist/docs/search/GeneralR.html +20 -0
  128. data/files/dist/docs/search/GeneralS.html +20 -0
  129. data/files/dist/docs/search/GeneralSymbols.html +20 -0
  130. data/files/dist/docs/search/GeneralT.html +20 -0
  131. data/files/dist/docs/search/GeneralU.html +20 -0
  132. data/files/dist/docs/search/GeneralV.html +20 -0
  133. data/files/dist/docs/search/GeneralW.html +20 -0
  134. data/files/dist/docs/search/GeneralX.html +20 -0
  135. data/files/dist/docs/search/GeneralY.html +20 -0
  136. data/files/dist/docs/search/GeneralZ.html +20 -0
  137. data/files/dist/docs/search/HooksA.html +20 -0
  138. data/files/dist/docs/search/HooksE.html +20 -0
  139. data/files/dist/docs/search/HooksJ.html +20 -0
  140. data/files/dist/docs/search/HooksP.html +20 -0
  141. data/files/dist/docs/search/NoResults.html +15 -0
  142. data/files/dist/docs/search/PropertiesA.html +20 -0
  143. data/files/dist/docs/search/PropertiesB.html +20 -0
  144. data/files/dist/docs/search/PropertiesC.html +20 -0
  145. data/files/dist/docs/search/PropertiesD.html +20 -0
  146. data/files/dist/docs/search/PropertiesE.html +20 -0
  147. data/files/dist/docs/search/PropertiesF.html +20 -0
  148. data/files/dist/docs/search/PropertiesG.html +20 -0
  149. data/files/dist/docs/search/PropertiesH.html +20 -0
  150. data/files/dist/docs/search/PropertiesI.html +20 -0
  151. data/files/dist/docs/search/PropertiesL.html +20 -0
  152. data/files/dist/docs/search/PropertiesM.html +20 -0
  153. data/files/dist/docs/search/PropertiesN.html +20 -0
  154. data/files/dist/docs/search/PropertiesO.html +20 -0
  155. data/files/dist/docs/search/PropertiesP.html +20 -0
  156. data/files/dist/docs/search/PropertiesR.html +20 -0
  157. data/files/dist/docs/search/PropertiesS.html +20 -0
  158. data/files/dist/docs/search/PropertiesT.html +20 -0
  159. data/files/dist/docs/search/PropertiesU.html +20 -0
  160. data/files/dist/docs/search/PropertiesV.html +20 -0
  161. data/files/dist/docs/search/PropertiesW.html +20 -0
  162. data/files/dist/docs/search/PropertiesX.html +20 -0
  163. data/files/dist/docs/search/PropertiesY.html +20 -0
  164. data/files/dist/docs/search/PropertiesZ.html +20 -0
  165. data/files/dist/docs/styles/1.css +767 -0
  166. data/files/dist/docs/styles/2.css +174 -0
  167. data/files/dist/docs/styles/main.css +2 -0
  168. data/files/dist/examples/KCPsample4.csv +25 -0
  169. data/files/dist/examples/ajax-loader.gif +0 -0
  170. data/files/dist/examples/area.html +139 -0
  171. data/files/dist/examples/axisLabelTests.html +157 -0
  172. data/files/dist/examples/axisLabelsRotatedText.html +229 -0
  173. data/files/dist/examples/axisScalingForceTickAt.html +242 -0
  174. data/files/dist/examples/bandedLine.html +310 -0
  175. data/files/dist/examples/bar-charts.html +219 -0
  176. data/files/dist/examples/barLineAnimated.html +165 -0
  177. data/files/dist/examples/barTest.html +299 -0
  178. data/files/dist/examples/bezierCurve.html +125 -0
  179. data/files/dist/examples/blockPlot.html +197 -0
  180. data/files/dist/examples/bubble-plots.html +213 -0
  181. data/files/dist/examples/bubbleChart.html +264 -0
  182. data/files/dist/examples/candlestick-charts.html +209 -0
  183. data/files/dist/examples/candlestick.html +322 -0
  184. data/files/dist/examples/cursor-highlighter.html +137 -0
  185. data/files/dist/examples/customHighlighterCursorTrendline.html +104 -0
  186. data/files/dist/examples/dashboardWidget.html +212 -0
  187. data/files/dist/examples/dashedLines.html +227 -0
  188. data/files/dist/examples/data-renderers.html +144 -0
  189. data/files/dist/examples/date-axes.html +107 -0
  190. data/files/dist/examples/dateAxisLogAxisZooming.html +105 -0
  191. data/files/dist/examples/dateAxisRenderer.html +292 -0
  192. data/files/dist/examples/example.js +114 -0
  193. data/files/dist/examples/example.min.js +1 -0
  194. data/files/dist/examples/examples.css +135 -0
  195. data/files/dist/examples/examples.min.css +1 -0
  196. data/files/dist/examples/fillBetweenLines.html +134 -0
  197. data/files/dist/examples/hiddenPlotsInTabs.html +225 -0
  198. data/files/dist/examples/images/logo.jpg +0 -0
  199. data/files/dist/examples/index.html +100 -0
  200. data/files/dist/examples/jquery-ui/css/ui-lightness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  201. data/files/dist/examples/jquery-ui/css/ui-lightness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  202. data/files/dist/examples/jquery-ui/css/ui-lightness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  203. data/files/dist/examples/jquery-ui/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  204. data/files/dist/examples/jquery-ui/css/ui-lightness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  205. data/files/dist/examples/jquery-ui/css/ui-lightness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  206. data/files/dist/examples/jquery-ui/css/ui-lightness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  207. data/files/dist/examples/jquery-ui/css/ui-lightness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  208. data/files/dist/examples/jquery-ui/css/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
  209. data/files/dist/examples/jquery-ui/css/ui-lightness/images/ui-icons_2e83ff_256x240.png +0 -0
  210. data/files/dist/examples/jquery-ui/css/ui-lightness/images/ui-icons_454545_256x240.png +0 -0
  211. data/files/dist/examples/jquery-ui/css/ui-lightness/images/ui-icons_888888_256x240.png +0 -0
  212. data/files/dist/examples/jquery-ui/css/ui-lightness/images/ui-icons_cd0a0a_256x240.png +0 -0
  213. data/files/dist/examples/jquery-ui/css/ui-lightness/jquery-ui.css +612 -0
  214. data/files/dist/examples/jquery-ui/css/ui-lightness/jquery-ui.min.css +10 -0
  215. data/files/dist/examples/jquery-ui/js/jquery-ui.min.js +473 -0
  216. data/files/dist/examples/jquery-ui/js/jquery.effects.blind.js +80 -0
  217. data/files/dist/examples/jquery-ui/js/jquery.effects.blind.min.js +14 -0
  218. data/files/dist/examples/jquery-ui/js/jquery.effects.core.js +890 -0
  219. data/files/dist/examples/jquery-ui/js/jquery.effects.core.min.js +32 -0
  220. data/files/dist/examples/jsondata.txt +1 -0
  221. data/files/dist/examples/kcp_area.html +250 -0
  222. data/files/dist/examples/kcp_cdf.html +351 -0
  223. data/files/dist/examples/kcp_engel.html +244 -0
  224. data/files/dist/examples/kcp_lorenz.html +510 -0
  225. data/files/dist/examples/kcp_pdf.html +387 -0
  226. data/files/dist/examples/kcp_pyramid.html +580 -0
  227. data/files/dist/examples/kcp_pyramid2.html +568 -0
  228. data/files/dist/examples/line-charts.html +193 -0
  229. data/files/dist/examples/mekkoCharts.html +269 -0
  230. data/files/dist/examples/meterGauge.html +179 -0
  231. data/files/dist/examples/nav.inc +40 -0
  232. data/files/dist/examples/pie-donut-charts.html +160 -0
  233. data/files/dist/examples/pieTest.html +187 -0
  234. data/files/dist/examples/pieTest2.js +80 -0
  235. data/files/dist/examples/pieTest4.html +258 -0
  236. data/files/dist/examples/point-labels.html +193 -0
  237. data/files/dist/examples/resizablePlot.html +196 -0
  238. data/files/dist/examples/rotated-tick-labels.html +216 -0
  239. data/files/dist/examples/rotatedTickLabelsZoom.html +118 -0
  240. data/files/dist/examples/smoothedLine.html +137 -0
  241. data/files/dist/examples/syntaxhighlighter/LGPL-LICENSE +165 -0
  242. data/files/dist/examples/syntaxhighlighter/MIT-LICENSE +20 -0
  243. data/files/dist/examples/syntaxhighlighter/scripts/shAutoloader.js +17 -0
  244. data/files/dist/examples/syntaxhighlighter/scripts/shAutoloader.min.js +1 -0
  245. data/files/dist/examples/syntaxhighlighter/scripts/shBrushJScript.js +52 -0
  246. data/files/dist/examples/syntaxhighlighter/scripts/shBrushJScript.min.js +1 -0
  247. data/files/dist/examples/syntaxhighlighter/scripts/shBrushXml.js +69 -0
  248. data/files/dist/examples/syntaxhighlighter/scripts/shBrushXml.min.js +1 -0
  249. data/files/dist/examples/syntaxhighlighter/scripts/shCore.js +17 -0
  250. data/files/dist/examples/syntaxhighlighter/scripts/shCore.min.js +1 -0
  251. data/files/dist/examples/syntaxhighlighter/styles/shCore.css +226 -0
  252. data/files/dist/examples/syntaxhighlighter/styles/shCore.min.css +1 -0
  253. data/files/dist/examples/syntaxhighlighter/styles/shCoreDefault.css +328 -0
  254. data/files/dist/examples/syntaxhighlighter/styles/shCoreDefault.min.css +1 -0
  255. data/files/dist/examples/syntaxhighlighter/styles/shThemeDefault.css +117 -0
  256. data/files/dist/examples/syntaxhighlighter/styles/shThemeDefault.min.css +1 -0
  257. data/files/dist/examples/syntaxhighlighter/styles/shThemejqPlot.css +138 -0
  258. data/files/dist/examples/syntaxhighlighter/styles/shThemejqPlot.min.css +1 -0
  259. data/files/dist/examples/theming.html +519 -0
  260. data/files/dist/examples/topbanner.inc +9 -0
  261. data/files/dist/examples/waterfall.html +162 -0
  262. data/files/dist/examples/waterfall2.html +231 -0
  263. data/files/dist/examples/yahooData.js +1807 -0
  264. data/files/dist/examples/yahooData.min.js +1 -0
  265. data/files/dist/examples/zoom1.html +149 -0
  266. data/files/dist/examples/zoomOptions.html +176 -0
  267. data/files/dist/examples/zoomProxy.html +110 -0
  268. data/files/dist/examples/zooming.html +209 -0
  269. data/files/dist/excanvas.js +1438 -0
  270. data/files/dist/excanvas.min.js +57 -0
  271. data/files/dist/gpl-2.0.txt +280 -0
  272. data/files/dist/jqPlotCssStyling.txt +53 -0
  273. data/files/dist/jqPlotOptions.txt +276 -0
  274. data/files/dist/jquery.jqplot.css +259 -0
  275. data/files/dist/jquery.jqplot.js +10901 -0
  276. data/files/dist/jquery.jqplot.min.css +1 -0
  277. data/files/dist/jquery.js +9046 -0
  278. data/files/dist/jquery.min.js +4 -0
  279. data/files/dist/optionsTutorial.txt +240 -0
  280. data/files/dist/plugins/jqplot.BezierCurveRenderer.js +312 -0
  281. data/files/dist/plugins/jqplot.BezierCurveRenderer.min.js +57 -0
  282. data/files/dist/plugins/jqplot.barRenderer.js +747 -0
  283. data/files/dist/plugins/jqplot.barRenderer.min.js +57 -0
  284. data/files/dist/plugins/jqplot.blockRenderer.js +234 -0
  285. data/files/dist/plugins/jqplot.blockRenderer.min.js +57 -0
  286. data/files/dist/plugins/jqplot.bubbleRenderer.js +754 -0
  287. data/files/dist/plugins/jqplot.bubbleRenderer.min.js +57 -0
  288. data/files/dist/plugins/jqplot.canvasAxisLabelRenderer.js +202 -0
  289. data/files/dist/plugins/jqplot.canvasAxisLabelRenderer.min.js +57 -0
  290. data/files/dist/plugins/jqplot.canvasAxisTickRenderer.js +242 -0
  291. data/files/dist/plugins/jqplot.canvasAxisTickRenderer.min.js +57 -0
  292. data/files/dist/plugins/jqplot.canvasOverlay.js +864 -0
  293. data/files/dist/plugins/jqplot.canvasOverlay.min.js +57 -0
  294. data/files/dist/plugins/jqplot.canvasTextRenderer.js +448 -0
  295. data/files/dist/plugins/jqplot.canvasTextRenderer.min.js +57 -0
  296. data/files/dist/plugins/jqplot.categoryAxisRenderer.js +636 -0
  297. data/files/dist/plugins/jqplot.categoryAxisRenderer.min.js +57 -0
  298. data/files/dist/plugins/jqplot.ciParser.js +115 -0
  299. data/files/dist/plugins/jqplot.ciParser.min.js +57 -0
  300. data/files/dist/plugins/jqplot.cursor.js +1093 -0
  301. data/files/dist/plugins/jqplot.cursor.min.js +57 -0
  302. data/files/dist/plugins/jqplot.dateAxisRenderer.js +702 -0
  303. data/files/dist/plugins/jqplot.dateAxisRenderer.min.js +57 -0
  304. data/files/dist/plugins/jqplot.donutRenderer.js +800 -0
  305. data/files/dist/plugins/jqplot.donutRenderer.min.js +57 -0
  306. data/files/dist/plugins/jqplot.dragable.js +224 -0
  307. data/files/dist/plugins/jqplot.dragable.min.js +57 -0
  308. data/files/dist/plugins/jqplot.enhancedLegendRenderer.js +241 -0
  309. data/files/dist/plugins/jqplot.enhancedLegendRenderer.min.js +57 -0
  310. data/files/dist/plugins/jqplot.funnelRenderer.js +938 -0
  311. data/files/dist/plugins/jqplot.funnelRenderer.min.js +57 -0
  312. data/files/dist/plugins/jqplot.highlighter.js +454 -0
  313. data/files/dist/plugins/jqplot.highlighter.min.js +57 -0
  314. data/files/dist/plugins/jqplot.json2.js +475 -0
  315. data/files/dist/plugins/jqplot.json2.min.js +57 -0
  316. data/files/dist/plugins/jqplot.logAxisRenderer.js +528 -0
  317. data/files/dist/plugins/jqplot.logAxisRenderer.min.js +57 -0
  318. data/files/dist/plugins/jqplot.mekkoAxisRenderer.js +610 -0
  319. data/files/dist/plugins/jqplot.mekkoAxisRenderer.min.js +57 -0
  320. data/files/dist/plugins/jqplot.mekkoRenderer.js +436 -0
  321. data/files/dist/plugins/jqplot.mekkoRenderer.min.js +57 -0
  322. data/files/dist/plugins/jqplot.meterGaugeRenderer.js +1029 -0
  323. data/files/dist/plugins/jqplot.meterGaugeRenderer.min.js +57 -0
  324. data/files/dist/plugins/jqplot.ohlcRenderer.js +372 -0
  325. data/files/dist/plugins/jqplot.ohlcRenderer.min.js +57 -0
  326. data/files/dist/plugins/jqplot.pieRenderer.js +899 -0
  327. data/files/dist/plugins/jqplot.pieRenderer.min.js +57 -0
  328. data/files/dist/plugins/jqplot.pointLabels.js +362 -0
  329. data/files/dist/plugins/jqplot.pointLabels.min.js +57 -0
  330. data/files/dist/plugins/jqplot.pyramidAxisRenderer.js +730 -0
  331. data/files/dist/plugins/jqplot.pyramidAxisRenderer.min.js +57 -0
  332. data/files/dist/plugins/jqplot.pyramidGridRenderer.js +423 -0
  333. data/files/dist/plugins/jqplot.pyramidGridRenderer.min.js +57 -0
  334. data/files/dist/plugins/jqplot.pyramidRenderer.js +490 -0
  335. data/files/dist/plugins/jqplot.pyramidRenderer.min.js +57 -0
  336. data/files/dist/plugins/jqplot.trendline.js +222 -0
  337. data/files/dist/plugins/jqplot.trendline.min.js +57 -0
  338. data/files/dist/usage.txt +126 -0
  339. data/files/javascripts/excanvas.min.js +57 -0
  340. data/files/javascripts/jquery.jqplot.min.js +57 -0
  341. data/files/javascripts/plugins/jqplot.BezierCurveRenderer.min.js +57 -0
  342. data/files/javascripts/plugins/jqplot.barRenderer.min.js +57 -0
  343. data/files/javascripts/plugins/jqplot.blockRenderer.min.js +57 -0
  344. data/files/javascripts/plugins/jqplot.bubbleRenderer.min.js +57 -0
  345. data/files/javascripts/plugins/jqplot.canvasAxisLabelRenderer.min.js +57 -0
  346. data/files/javascripts/plugins/jqplot.canvasAxisTickRenderer.min.js +57 -0
  347. data/files/javascripts/plugins/jqplot.canvasOverlay.min.js +57 -0
  348. data/files/javascripts/plugins/jqplot.canvasTextRenderer.min.js +57 -0
  349. data/files/javascripts/plugins/jqplot.categoryAxisRenderer.min.js +57 -0
  350. data/files/javascripts/plugins/jqplot.ciParser.min.js +57 -0
  351. data/files/javascripts/plugins/jqplot.cursor.min.js +57 -0
  352. data/files/javascripts/plugins/jqplot.dateAxisRenderer.min.js +57 -0
  353. data/files/javascripts/plugins/jqplot.donutRenderer.min.js +57 -0
  354. data/files/javascripts/plugins/jqplot.dragable.min.js +57 -0
  355. data/files/javascripts/plugins/jqplot.enhancedLegendRenderer.min.js +57 -0
  356. data/files/javascripts/plugins/jqplot.funnelRenderer.min.js +57 -0
  357. data/files/javascripts/plugins/jqplot.highlighter.min.js +57 -0
  358. data/files/javascripts/plugins/jqplot.json2.min.js +57 -0
  359. data/files/javascripts/plugins/jqplot.logAxisRenderer.min.js +57 -0
  360. data/files/javascripts/plugins/jqplot.mekkoAxisRenderer.min.js +57 -0
  361. data/files/javascripts/plugins/jqplot.mekkoRenderer.min.js +57 -0
  362. data/files/javascripts/plugins/jqplot.meterGaugeRenderer.min.js +57 -0
  363. data/files/javascripts/plugins/jqplot.ohlcRenderer.min.js +57 -0
  364. data/files/javascripts/plugins/jqplot.pieRenderer.min.js +57 -0
  365. data/files/javascripts/plugins/jqplot.pointLabels.min.js +57 -0
  366. data/files/javascripts/plugins/jqplot.pyramidAxisRenderer.min.js +57 -0
  367. data/files/javascripts/plugins/jqplot.pyramidGridRenderer.min.js +57 -0
  368. data/files/javascripts/plugins/jqplot.pyramidRenderer.min.js +57 -0
  369. data/files/javascripts/plugins/jqplot.trendline.min.js +57 -0
  370. data/files/stylesheets/jqplot_rails_overrides.css +3 -0
  371. data/files/stylesheets/jquery.jqplot.min.css +1 -0
  372. data/lib/jqplot_rails/jqplot_action_view.rb +106 -0
  373. data/lib/jqplot_rails/railtie.rb +29 -0
  374. data/lib/jqplot_rails/tasks.rb +58 -0
  375. data/lib/jqplot_rails/version.rb +17 -0
  376. data/lib/jqplot_rails.rb +5 -0
  377. metadata +473 -0
@@ -0,0 +1,890 @@
1
+ /*
2
+ * jQuery UI Effects 1.9pre
3
+ *
4
+ * Copyright 2011, 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/Effects/
9
+ */
10
+ ;jQuery.effects || (function($, undefined) {
11
+
12
+ var backCompat = $.uiBackCompat !== false;
13
+
14
+ $.effects = {
15
+ effect: {}
16
+ };
17
+
18
+ /******************************************************************************/
19
+ /****************************** COLOR ANIMATIONS ******************************/
20
+ /******************************************************************************/
21
+
22
+ // override the animation for color styles
23
+ $.each(["backgroundColor", "borderBottomColor", "borderLeftColor",
24
+ "borderRightColor", "borderTopColor", "borderColor", "color", "outlineColor"],
25
+ function(i, attr) {
26
+ $.fx.step[attr] = function(fx) {
27
+ if (!fx.colorInit) {
28
+ fx.start = getColor(fx.elem, attr);
29
+ fx.end = getRGB(fx.end);
30
+ fx.colorInit = true;
31
+ }
32
+
33
+ fx.elem.style[attr] = "rgb(" +
34
+ Math.max(Math.min(parseInt((fx.pos * (fx.end[0] - fx.start[0])) + fx.start[0], 10), 255), 0) + "," +
35
+ Math.max(Math.min(parseInt((fx.pos * (fx.end[1] - fx.start[1])) + fx.start[1], 10), 255), 0) + "," +
36
+ Math.max(Math.min(parseInt((fx.pos * (fx.end[2] - fx.start[2])) + fx.start[2], 10), 255), 0) + ")";
37
+ };
38
+ });
39
+
40
+ // Color Conversion functions from highlightFade
41
+ // By Blair Mitchelmore
42
+ // http://jquery.offput.ca/highlightFade/
43
+
44
+ // Parse strings looking for color tuples [255,255,255]
45
+ function getRGB(color) {
46
+ var result;
47
+
48
+ // Check if we're already dealing with an array of colors
49
+ if ( color && color.constructor === Array && color.length === 3 )
50
+ return color;
51
+
52
+ // Look for rgb(num,num,num)
53
+ if (result = /rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(color))
54
+ return [parseInt(result[1],10), parseInt(result[2],10), parseInt(result[3],10)];
55
+
56
+ // Look for rgb(num%,num%,num%)
57
+ if (result = /rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(color))
58
+ return [parseFloat(result[1])*2.55, parseFloat(result[2])*2.55, parseFloat(result[3])*2.55];
59
+
60
+ // Look for #a0b1c2
61
+ if (result = /#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(color))
62
+ return [parseInt(result[1],16), parseInt(result[2],16), parseInt(result[3],16)];
63
+
64
+ // Look for #fff
65
+ if (result = /#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(color))
66
+ return [parseInt(result[1]+result[1],16), parseInt(result[2]+result[2],16), parseInt(result[3]+result[3],16)];
67
+
68
+ // Look for rgba(0, 0, 0, 0) == transparent in Safari 3
69
+ if (result = /rgba\(0, 0, 0, 0\)/.exec(color))
70
+ return colors["transparent"];
71
+
72
+ // Otherwise, we're most likely dealing with a named color
73
+ return colors[$.trim(color).toLowerCase()];
74
+ }
75
+
76
+ function getColor(elem, attr) {
77
+ var color;
78
+
79
+ do {
80
+ color = $.curCSS(elem, attr);
81
+
82
+ // Keep going until we find an element that has color, or we hit the body
83
+ if ( color != "" && color !== "transparent" || $.nodeName(elem, "body") )
84
+ break;
85
+
86
+ attr = "backgroundColor";
87
+ } while ( elem = elem.parentNode );
88
+
89
+ return getRGB(color);
90
+ };
91
+
92
+ // Some named colors to work with
93
+ // From Interface by Stefan Petre
94
+ // http://interface.eyecon.ro/
95
+
96
+ var colors = {
97
+ aqua:[0,255,255],
98
+ azure:[240,255,255],
99
+ beige:[245,245,220],
100
+ black:[0,0,0],
101
+ blue:[0,0,255],
102
+ brown:[165,42,42],
103
+ cyan:[0,255,255],
104
+ darkblue:[0,0,139],
105
+ darkcyan:[0,139,139],
106
+ darkgrey:[169,169,169],
107
+ darkgreen:[0,100,0],
108
+ darkkhaki:[189,183,107],
109
+ darkmagenta:[139,0,139],
110
+ darkolivegreen:[85,107,47],
111
+ darkorange:[255,140,0],
112
+ darkorchid:[153,50,204],
113
+ darkred:[139,0,0],
114
+ darksalmon:[233,150,122],
115
+ darkviolet:[148,0,211],
116
+ fuchsia:[255,0,255],
117
+ gold:[255,215,0],
118
+ green:[0,128,0],
119
+ indigo:[75,0,130],
120
+ khaki:[240,230,140],
121
+ lightblue:[173,216,230],
122
+ lightcyan:[224,255,255],
123
+ lightgreen:[144,238,144],
124
+ lightgrey:[211,211,211],
125
+ lightpink:[255,182,193],
126
+ lightyellow:[255,255,224],
127
+ lime:[0,255,0],
128
+ magenta:[255,0,255],
129
+ maroon:[128,0,0],
130
+ navy:[0,0,128],
131
+ olive:[128,128,0],
132
+ orange:[255,165,0],
133
+ pink:[255,192,203],
134
+ purple:[128,0,128],
135
+ violet:[128,0,128],
136
+ red:[255,0,0],
137
+ silver:[192,192,192],
138
+ white:[255,255,255],
139
+ yellow:[255,255,0],
140
+ transparent: [255,255,255]
141
+ };
142
+
143
+
144
+
145
+ /******************************************************************************/
146
+ /****************************** CLASS ANIMATIONS ******************************/
147
+ /******************************************************************************/
148
+
149
+ var classAnimationActions = [ "add", "remove", "toggle" ],
150
+ shorthandStyles = {
151
+ border: 1,
152
+ borderBottom: 1,
153
+ borderColor: 1,
154
+ borderLeft: 1,
155
+ borderRight: 1,
156
+ borderTop: 1,
157
+ borderWidth: 1,
158
+ margin: 1,
159
+ padding: 1
160
+ },
161
+ // prefix used for storing data on .data()
162
+ dataSpace = "ec.storage.";
163
+
164
+ $.each([ "borderLeftStyle", "borderRightStyle", "borderBottomStyle", "borderTopStyle" ], function( _, prop ) {
165
+ $.fx.step[ prop ] = function( fx ) {
166
+ if ( fx.end !== "none" && !fx.setAttr || fx.pos === 1 && !fx.setAttr ) {
167
+ jQuery.style( fx.elem, prop, fx.end );
168
+ fx.setAttr = true;
169
+ }
170
+ };
171
+ });
172
+
173
+ function getElementStyles() {
174
+ var style = this.ownerDocument.defaultView
175
+ ? this.ownerDocument.defaultView.getComputedStyle( this, null )
176
+ : this.currentStyle,
177
+ newStyle = {},
178
+ key,
179
+ camelCase,
180
+ len;
181
+
182
+ // webkit enumerates style porperties
183
+ if ( style && style.length && style[ 0 ] && style[ style[ 0 ] ] ) {
184
+ len = style.length;
185
+ while ( len-- ) {
186
+ key = style[ len ];
187
+ if ( typeof style[ key ] === "string" ) {
188
+ newStyle[ $.camelCase( key ) ] = style[ key ];
189
+ }
190
+ }
191
+ } else {
192
+ for ( key in style ) {
193
+ if ( typeof style[ key ] === "string" ) {
194
+ newStyle[ key ] = style[ key ];
195
+ }
196
+ }
197
+ }
198
+
199
+ return newStyle;
200
+ }
201
+
202
+
203
+ function styleDifference( oldStyle, newStyle ) {
204
+ var diff = {},
205
+ name, value;
206
+
207
+ for ( name in newStyle ) {
208
+ value = newStyle[ name ];
209
+ if ( oldStyle[ name ] != value ) {
210
+ if ( !shorthandStyles[ name ] ) {
211
+ if ( $.fx.step[ name ] || !isNaN( parseFloat( value ) ) ) {
212
+ diff[ name ] = value;
213
+ }
214
+ }
215
+ }
216
+ }
217
+
218
+ return diff;
219
+ }
220
+
221
+ $.effects.animateClass = function( value, duration, easing, callback ) {
222
+ var o = $.speed( duration, easing, callback );
223
+
224
+ return this.queue( function() {
225
+ var animated = $( this ),
226
+ baseClass = animated.attr( "class" ) || "",
227
+ finalClass,
228
+ allAnimations = o.children ? animated.find( "*" ).andSelf() : animated;
229
+
230
+ // map the animated objects to store the original styles.
231
+ allAnimations = allAnimations.map(function() {
232
+ var el = $( this );
233
+ return {
234
+ el: el,
235
+ originalStyleAttr: el.attr( "style" ) || " ",
236
+ start: getElementStyles.call( this )
237
+ };
238
+ });
239
+
240
+ // apply class change
241
+ $.each( classAnimationActions, function(i, action) {
242
+ if ( value[ action ] ) {
243
+ animated[ action + "Class" ]( value[ action ] );
244
+ }
245
+ });
246
+ finalClass = animated.attr( "class" );
247
+
248
+ // map all animated objects again - calculate new styles and diff
249
+ allAnimations = allAnimations.map(function() {
250
+ this.end = getElementStyles.call( this.el[ 0 ] );
251
+ this.diff = styleDifference( this.start, this.end );
252
+ return this;
253
+ });
254
+
255
+ // apply original class
256
+ animated.attr( "class", baseClass );
257
+
258
+ // map all animated objects again - this time collecting a promise
259
+ allAnimations = allAnimations.map(function() {
260
+ var styleInfo = this,
261
+ dfd = $.Deferred();
262
+
263
+ this.el.animate( this.diff, {
264
+ duration: o.duration,
265
+ easing: o.easing,
266
+ queue: false,
267
+ complete: function() {
268
+ dfd.resolve( styleInfo );
269
+ }
270
+ });
271
+ return dfd.promise();
272
+ });
273
+
274
+ // once all animations have completed:
275
+ $.when.apply( $, allAnimations.get() ).done(function() {
276
+
277
+ // set the final class
278
+ animated.attr( "class", finalClass );
279
+
280
+ // for each animated element
281
+ $.each( arguments, function() {
282
+ if ( typeof this.el.attr( "style" ) === "object" ) {
283
+ this.el.attr( "style" ).cssText = "";
284
+ this.el.attr( "style" ).cssText = this.originalStyleAttr;
285
+ } else {
286
+ this.el.attr( "style", this.originalStyleAttr );
287
+ }
288
+ });
289
+
290
+ // this is guarnteed to be there if you use jQuery.speed()
291
+ // it also handles dequeuing the next anim...
292
+ o.complete.call( animated[ 0 ] );
293
+ });
294
+ });
295
+ };
296
+
297
+ $.fn.extend({
298
+ _addClass: $.fn.addClass,
299
+ addClass: function( classNames, speed, easing, callback ) {
300
+ return speed ?
301
+ $.effects.animateClass.apply( this, [{ add: classNames }, speed, easing, callback ]) :
302
+ this._addClass(classNames);
303
+ },
304
+
305
+ _removeClass: $.fn.removeClass,
306
+ removeClass: function( classNames, speed, easing, callback ) {
307
+ return speed ?
308
+ $.effects.animateClass.apply( this, [{ remove: classNames }, speed, easing, callback ]) :
309
+ this._removeClass(classNames);
310
+ },
311
+
312
+ _toggleClass: $.fn.toggleClass,
313
+ toggleClass: function( classNames, force, speed, easing, callback ) {
314
+ if ( typeof force === "boolean" || force === undefined ) {
315
+ if ( !speed ) {
316
+ // without speed parameter;
317
+ return this._toggleClass( classNames, force );
318
+ } else {
319
+ return $.effects.animateClass.apply( this, [( force ? { add:classNames } : { remove:classNames }), speed, easing, callback ]);
320
+ }
321
+ } else {
322
+ // without force parameter;
323
+ return $.effects.animateClass.apply( this, [{ toggle: classNames }, force, speed, easing ]);
324
+ }
325
+ },
326
+
327
+ switchClass: function( remove, add, speed, easing, callback) {
328
+ return $.effects.animateClass.apply( this, [{
329
+ add: add,
330
+ remove: remove
331
+ }, speed, easing, callback ]);
332
+ }
333
+ });
334
+
335
+
336
+
337
+ /******************************************************************************/
338
+ /*********************************** EFFECTS **********************************/
339
+ /******************************************************************************/
340
+
341
+ $.extend( $.effects, {
342
+ version: "1.9pre",
343
+
344
+ // Saves a set of properties in a data storage
345
+ save: function( element, set ) {
346
+ for( var i=0; i < set.length; i++ ) {
347
+ if ( set[ i ] !== null ) {
348
+ element.data( dataSpace + set[ i ], element[ 0 ].style[ set[ i ] ] );
349
+ }
350
+ }
351
+ },
352
+
353
+ // Restores a set of previously saved properties from a data storage
354
+ restore: function( element, set ) {
355
+ for( var i=0; i < set.length; i++ ) {
356
+ if ( set[ i ] !== null ) {
357
+ element.css( set[ i ], element.data( dataSpace + set[ i ] ) );
358
+ }
359
+ }
360
+ },
361
+
362
+ setMode: function( el, mode ) {
363
+ if (mode === "toggle") {
364
+ mode = el.is( ":hidden" ) ? "show" : "hide";
365
+ }
366
+ return mode;
367
+ },
368
+
369
+ // Translates a [top,left] array into a baseline value
370
+ // this should be a little more flexible in the future to handle a string & hash
371
+ getBaseline: function( origin, original ) {
372
+ var y, x;
373
+ switch ( origin[ 0 ] ) {
374
+ case "top": y = 0; break;
375
+ case "middle": y = 0.5; break;
376
+ case "bottom": y = 1; break;
377
+ default: y = origin[ 0 ] / original.height;
378
+ };
379
+ switch ( origin[ 1 ] ) {
380
+ case "left": x = 0; break;
381
+ case "center": x = 0.5; break;
382
+ case "right": x = 1; break;
383
+ default: x = origin[ 1 ] / original.width;
384
+ };
385
+ return {
386
+ x: x,
387
+ y: y
388
+ };
389
+ },
390
+
391
+ // Wraps the element around a wrapper that copies position properties
392
+ createWrapper: function( element ) {
393
+
394
+ // if the element is already wrapped, return it
395
+ if ( element.parent().is( ".ui-effects-wrapper" )) {
396
+ return element.parent();
397
+ }
398
+
399
+ // wrap the element
400
+ var props = {
401
+ width: element.outerWidth(true),
402
+ height: element.outerHeight(true),
403
+ "float": element.css( "float" )
404
+ },
405
+ wrapper = $( "<div></div>" )
406
+ .addClass( "ui-effects-wrapper" )
407
+ .css({
408
+ fontSize: "100%",
409
+ background: "transparent",
410
+ border: "none",
411
+ margin: 0,
412
+ padding: 0
413
+ }),
414
+ // Store the size in case width/height are defined in % - Fixes #5245
415
+ size = {
416
+ width: element.width(),
417
+ height: element.height()
418
+ },
419
+ active = document.activeElement;
420
+
421
+ element.wrap( wrapper );
422
+
423
+ // Fixes #7595 - Elements lose focus when wrapped.
424
+ if ( element[ 0 ] === active || $.contains( element[ 0 ], active ) ) {
425
+ $( active ).focus();
426
+ }
427
+
428
+ wrapper = element.parent(); //Hotfix for jQuery 1.4 since some change in wrap() seems to actually loose the reference to the wrapped element
429
+
430
+ // transfer positioning properties to the wrapper
431
+ if ( element.css( "position" ) === "static" ) {
432
+ wrapper.css({ position: "relative" });
433
+ element.css({ position: "relative" });
434
+ } else {
435
+ $.extend( props, {
436
+ position: element.css( "position" ),
437
+ zIndex: element.css( "z-index" )
438
+ });
439
+ $.each([ "top", "left", "bottom", "right" ], function(i, pos) {
440
+ props[ pos ] = element.css( pos );
441
+ if ( isNaN( parseInt( props[ pos ], 10 ) ) ) {
442
+ props[ pos ] = "auto";
443
+ }
444
+ });
445
+ element.css({
446
+ position: "relative",
447
+ top: 0,
448
+ left: 0,
449
+ right: "auto",
450
+ bottom: "auto"
451
+ });
452
+ }
453
+ element.css(size);
454
+
455
+ return wrapper.css( props ).show();
456
+ },
457
+
458
+ removeWrapper: function( element ) {
459
+ var active = document.activeElement;
460
+
461
+ if ( element.parent().is( ".ui-effects-wrapper" ) ) {
462
+ element.parent().replaceWith( element );
463
+
464
+ // Fixes #7595 - Elements lose focus when wrapped.
465
+ if ( element[ 0 ] === active || $.contains( element[ 0 ], active ) ) {
466
+ $( active ).focus();
467
+ }
468
+ }
469
+
470
+
471
+ return element;
472
+ },
473
+
474
+ setTransition: function( element, list, factor, value ) {
475
+ value = value || {};
476
+ $.each( list, function(i, x){
477
+ var unit = element.cssUnit( x );
478
+ if ( unit[ 0 ] > 0 ) value[ x ] = unit[ 0 ] * factor + unit[ 1 ];
479
+ });
480
+ return value;
481
+ }
482
+ });
483
+
484
+ // return an effect options object for the given parameters:
485
+ function _normalizeArguments( effect, options, speed, callback ) {
486
+
487
+ // short path for passing an effect options object:
488
+ if ( $.isPlainObject( effect ) ) {
489
+ return effect;
490
+ }
491
+
492
+ // convert to an object
493
+ effect = { effect: effect };
494
+
495
+ // catch (effect)
496
+ if ( options === undefined ) {
497
+ options = {};
498
+ }
499
+
500
+ // catch (effect, callback)
501
+ if ( $.isFunction( options ) ) {
502
+ callback = options;
503
+ speed = null;
504
+ options = {};
505
+ }
506
+
507
+ // catch (effect, speed, ?)
508
+ if ( $.type( options ) === "number" || $.fx.speeds[ options ]) {
509
+ callback = speed;
510
+ speed = options;
511
+ options = {};
512
+ }
513
+
514
+ // catch (effect, options, callback)
515
+ if ( $.isFunction( speed ) ) {
516
+ callback = speed;
517
+ speed = null;
518
+ }
519
+
520
+ // add options to effect
521
+ if ( options ) {
522
+ $.extend( effect, options );
523
+ }
524
+
525
+ speed = speed || options.duration;
526
+ effect.duration = $.fx.off ? 0 : typeof speed === "number"
527
+ ? speed : speed in $.fx.speeds ? $.fx.speeds[ speed ] : $.fx.speeds._default;
528
+
529
+ effect.complete = callback || options.complete;
530
+
531
+ return effect;
532
+ }
533
+
534
+ function standardSpeed( speed ) {
535
+ // valid standard speeds
536
+ if ( !speed || typeof speed === "number" || $.fx.speeds[ speed ] ) {
537
+ return true;
538
+ }
539
+
540
+ // invalid strings - treat as "normal" speed
541
+ if ( typeof speed === "string" && !$.effects.effect[ speed ] ) {
542
+ // TODO: remove in 2.0 (#7115)
543
+ if ( backCompat && $.effects[ speed ] ) {
544
+ return false;
545
+ }
546
+ return true;
547
+ }
548
+
549
+ return false;
550
+ }
551
+
552
+ $.fn.extend({
553
+ effect: function( effect, options, speed, callback ) {
554
+ var args = _normalizeArguments.apply( this, arguments ),
555
+ mode = args.mode,
556
+ queue = args.queue,
557
+ effectMethod = $.effects.effect[ args.effect ],
558
+
559
+ // DEPRECATED: remove in 2.0 (#7115)
560
+ oldEffectMethod = !effectMethod && backCompat && $.effects[ args.effect ];
561
+
562
+ if ( $.fx.off || !( effectMethod || oldEffectMethod ) ) {
563
+ // delegate to the original method (e.g., .show()) if possible
564
+ if ( mode ) {
565
+ return this[ mode ]( args.duration, args.complete );
566
+ } else {
567
+ return this.each( function() {
568
+ if ( args.complete ) {
569
+ args.complete.call( this );
570
+ }
571
+ });
572
+ }
573
+ }
574
+
575
+ function run( next ) {
576
+ var elem = $( this ),
577
+ complete = args.complete,
578
+ mode = args.mode;
579
+
580
+ function done() {
581
+ if ( $.isFunction( complete ) ) {
582
+ complete.call( elem[0] );
583
+ }
584
+ if ( $.isFunction( next ) ) {
585
+ next();
586
+ }
587
+ }
588
+
589
+ // if the element is hiddden and mode is hide,
590
+ // or element is visible and mode is show
591
+ if ( elem.is( ":hidden" ) ? mode === "hide" : mode === "show" ) {
592
+ done();
593
+ } else {
594
+ effectMethod.call( elem[0], args, done );
595
+ }
596
+ }
597
+
598
+ // TODO: remove this check in 2.0, effectMethod will always be true
599
+ if ( effectMethod ) {
600
+ return queue === false ? this.each( run ) : this.queue( queue || "fx", run );
601
+ } else {
602
+ // DEPRECATED: remove in 2.0 (#7115)
603
+ return oldEffectMethod.call(this, {
604
+ options: args,
605
+ duration: args.duration,
606
+ callback: args.complete,
607
+ mode: args.mode
608
+ });
609
+ }
610
+ },
611
+
612
+ _show: $.fn.show,
613
+ show: function( speed ) {
614
+ if ( standardSpeed( speed ) ) {
615
+ return this._show.apply( this, arguments );
616
+ } else {
617
+ var args = _normalizeArguments.apply( this, arguments );
618
+ args.mode = "show";
619
+ return this.effect.call( this, args );
620
+ }
621
+ },
622
+
623
+ _hide: $.fn.hide,
624
+ hide: function( speed ) {
625
+ if ( standardSpeed( speed ) ) {
626
+ return this._hide.apply( this, arguments );
627
+ } else {
628
+ var args = _normalizeArguments.apply( this, arguments );
629
+ args.mode = "hide";
630
+ return this.effect.call( this, args );
631
+ }
632
+ },
633
+
634
+ // jQuery core overloads toggle and creates _toggle
635
+ __toggle: $.fn.toggle,
636
+ toggle: function( speed ) {
637
+ if ( standardSpeed( speed ) || typeof speed === "boolean" || $.isFunction( speed ) ) {
638
+ return this.__toggle.apply( this, arguments );
639
+ } else {
640
+ var args = _normalizeArguments.apply( this, arguments );
641
+ args.mode = "toggle";
642
+ return this.effect.call( this, args );
643
+ }
644
+ },
645
+
646
+ // helper functions
647
+ cssUnit: function(key) {
648
+ var style = this.css( key ),
649
+ val = [];
650
+
651
+ $.each( [ "em", "px", "%", "pt" ], function( i, unit ) {
652
+ if ( style.indexOf( unit ) > 0 )
653
+ val = [ parseFloat( style ), unit ];
654
+ });
655
+ return val;
656
+ }
657
+ });
658
+
659
+
660
+
661
+ /******************************************************************************/
662
+ /*********************************** EASING ***********************************/
663
+ /******************************************************************************/
664
+
665
+ /*
666
+ * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
667
+ *
668
+ * Uses the built in easing capabilities added In jQuery 1.1
669
+ * to offer multiple easing options
670
+ *
671
+ * TERMS OF USE - jQuery Easing
672
+ *
673
+ * Open source under the BSD License.
674
+ *
675
+ * Copyright 2008 George McGinley Smith
676
+ * All rights reserved.
677
+ *
678
+ * Redistribution and use in source and binary forms, with or without modification,
679
+ * are permitted provided that the following conditions are met:
680
+ *
681
+ * Redistributions of source code must retain the above copyright notice, this list of
682
+ * conditions and the following disclaimer.
683
+ * Redistributions in binary form must reproduce the above copyright notice, this list
684
+ * of conditions and the following disclaimer in the documentation and/or other materials
685
+ * provided with the distribution.
686
+ *
687
+ * Neither the name of the author nor the names of contributors may be used to endorse
688
+ * or promote products derived from this software without specific prior written permission.
689
+ *
690
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
691
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
692
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
693
+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
694
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
695
+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
696
+ * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
697
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
698
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
699
+ *
700
+ */
701
+
702
+ // t: current time, b: begInnIng value, c: change In value, d: duration
703
+ $.easing.jswing = $.easing.swing;
704
+
705
+ $.extend( $.easing, {
706
+ def: "easeOutQuad",
707
+ swing: function ( x, t, b, c, d ) {
708
+ return $.easing[ $.easing.def ]( x, t, b, c, d );
709
+ },
710
+ easeInQuad: function ( x, t, b, c, d ) {
711
+ return c * ( t /= d ) * t + b;
712
+ },
713
+ easeOutQuad: function ( x, t, b, c, d ) {
714
+ return -c * ( t /= d ) * ( t - 2 ) + b;
715
+ },
716
+ easeInOutQuad: function ( x, t, b, c, d ) {
717
+ if ( ( t /= d / 2 ) < 1 ) return c / 2 * t * t + b;
718
+ return -c / 2 * ( ( --t ) * ( t-2 ) - 1) + b;
719
+ },
720
+ easeInCubic: function ( x, t, b, c, d ) {
721
+ return c * ( t /= d ) * t * t + b;
722
+ },
723
+ easeOutCubic: function ( x, t, b, c, d ) {
724
+ return c * ( ( t = t / d - 1 ) * t * t + 1 ) + b;
725
+ },
726
+ easeInOutCubic: function ( x, t, b, c, d ) {
727
+ if ( ( t /= d / 2 ) < 1 ) return c / 2 * t * t * t + b;
728
+ return c / 2 * ( ( t -= 2 ) * t * t + 2) + b;
729
+ },
730
+ easeInQuart: function ( x, t, b, c, d ) {
731
+ return c * ( t /= d ) * t * t * t + b;
732
+ },
733
+ easeOutQuart: function ( x, t, b, c, d ) {
734
+ return -c * ( ( t = t / d - 1 ) * t * t * t - 1) + b;
735
+ },
736
+ easeInOutQuart: function ( x, t, b, c, d ) {
737
+ if ( (t /= d / 2 ) < 1 ) return c / 2 * t * t * t * t + b;
738
+ return -c / 2 * ( ( t -= 2 ) * t * t * t - 2) + b;
739
+ },
740
+ easeInQuint: function ( x, t, b, c, d ) {
741
+ return c * ( t /= d ) * t * t * t * t + b;
742
+ },
743
+ easeOutQuint: function ( x, t, b, c, d ) {
744
+ return c * ( ( t = t / d - 1 ) * t * t * t * t + 1) + b;
745
+ },
746
+ easeInOutQuint: function ( x, t, b, c, d ) {
747
+ if ( ( t /= d / 2 ) < 1 ) return c / 2 * t * t * t * t * t + b;
748
+ return c / 2 * ( ( t -= 2 ) * t * t * t * t + 2) + b;
749
+ },
750
+ easeInSine: function ( x, t, b, c, d ) {
751
+ return -c * Math.cos( t / d * ( Math.PI / 2 ) ) + c + b;
752
+ },
753
+ easeOutSine: function ( x, t, b, c, d ) {
754
+ return c * Math.sin( t / d * ( Math.PI /2 ) ) + b;
755
+ },
756
+ easeInOutSine: function ( x, t, b, c, d ) {
757
+ return -c / 2 * ( Math.cos( Math.PI * t / d ) - 1 ) + b;
758
+ },
759
+ easeInExpo: function ( x, t, b, c, d ) {
760
+ return ( t==0 ) ? b : c * Math.pow( 2, 10 * ( t / d - 1) ) + b;
761
+ },
762
+ easeOutExpo: function ( x, t, b, c, d ) {
763
+ return ( t==d ) ? b + c : c * ( -Math.pow( 2, -10 * t / d) + 1) + b;
764
+ },
765
+ easeInOutExpo: function ( x, t, b, c, d ) {
766
+ if ( t==0 ) return b;
767
+ if ( t==d ) return b + c;
768
+ if ( ( t /= d / 2) < 1) return c / 2 * Math.pow( 2, 10 * (t - 1) ) + b;
769
+ return c / 2 * ( -Math.pow( 2, -10 * --t ) + 2 ) + b;
770
+ },
771
+ easeInCirc: function ( x, t, b, c, d ) {
772
+ return -c * ( Math.sqrt( 1 - ( t /= d ) * t ) - 1 ) + b;
773
+ },
774
+ easeOutCirc: function ( x, t, b, c, d ) {
775
+ return c * Math.sqrt( 1 - ( t = t / d - 1 ) * t ) + b;
776
+ },
777
+ easeInOutCirc: function ( x, t, b, c, d ) {
778
+ if ( ( t /= d / 2) < 1 ) return -c / 2 * ( Math.sqrt( 1 - t * t ) - 1 ) + b;
779
+ return c / 2 * ( Math.sqrt( 1 - ( t -= 2 ) * t ) + 1 ) + b;
780
+ },
781
+ easeInElastic: function ( x, t, b, c, d ) {
782
+ var s = 1.70158,
783
+ p = d * 0.3,
784
+ a = c;
785
+ if ( t == 0 ) return b;
786
+ if ( ( t /= d ) == 1 ) return b+c;
787
+ if ( a < Math.abs( c ) ) {
788
+ a = c;
789
+ s = p / 4;
790
+ } else {
791
+ s = p / ( 2 * Math.PI ) * Math.asin( c / a );
792
+ }
793
+ return - ( a * Math.pow( 2, 10 * ( t -= 1 ) ) * Math.sin( ( t * d - s) * ( 2 * Math.PI ) / p ) ) + b;
794
+ },
795
+ easeOutElastic: function ( x, t, b, c, d ) {
796
+ var s = 1.70158,
797
+ p = d * 0.3,
798
+ a = c;
799
+ if ( t == 0 ) return b;
800
+ if ( ( t /= d ) == 1 ) return b+c;
801
+ if ( a < Math.abs( c ) ) {
802
+ a = c;
803
+ s = p / 4;
804
+ } else {
805
+ s = p / ( 2 * Math.PI ) * Math.asin( c / a );
806
+ }
807
+ return a * Math.pow( 2, -10 * t ) * Math.sin( ( t * d - s ) * ( 2 * Math.PI ) / p ) + c + b;
808
+ },
809
+ easeInOutElastic: function ( x, t, b, c, d ) {
810
+ var s = 1.70158,
811
+ p = d * ( 0.3 * 1.5 ),
812
+ a = c;
813
+ if ( t == 0 ) return b;
814
+ if ( ( t /= d / 2 ) == 2 ) return b+c;
815
+ if ( a < Math.abs( c ) ) {
816
+ a = c;
817
+ s = p / 4;
818
+ } else {
819
+ s = p / ( 2 * Math.PI ) * Math.asin( c / a );
820
+ }
821
+ if ( t < 1 ) return -.5 * ( a * Math.pow( 2, 10 * ( t -= 1 ) ) * Math.sin( ( t * d - s ) * ( 2 * Math.PI ) / p ) ) + b;
822
+ return a * Math.pow( 2, -10 * ( t -= 1 ) ) * Math.sin( ( t * d - s ) * ( 2 * Math.PI ) / p ) *.5 + c + b;
823
+ },
824
+ easeInBack: function ( x, t, b, c, d, s ) {
825
+ if ( s == undefined ) s = 1.70158;
826
+ return c * ( t /= d ) * t * ( ( s+1 ) * t - s ) + b;
827
+ },
828
+ easeOutBack: function ( x, t, b, c, d, s ) {
829
+ if ( s == undefined ) s = 1.70158;
830
+ return c * ( ( t = t / d - 1 ) * t * ( ( s + 1 ) * t + s) + 1) + b;
831
+ },
832
+ easeInOutBack: function ( x, t, b, c, d, s ) {
833
+ if ( s == undefined ) s = 1.70158;
834
+ if ( ( t /= d / 2 ) < 1 ) return c / 2 * ( t * t * ( ( ( s *= 1.525 ) + 1 ) * t - s ) ) + b;
835
+ return c / 2 * ( ( t -= 2 ) * t * ( ( ( s *= 1.525 ) + 1 ) * t + s) + 2) + b;
836
+ },
837
+ easeInBounce: function ( x, t, b, c, d ) {
838
+ return c - $.easing.easeOutBounce( x, d - t, 0, c, d ) + b;
839
+ },
840
+ easeOutBounce: function ( x, t, b, c, d ) {
841
+ if ( ( t /= d ) < ( 1 / 2.75 ) ) {
842
+ return c * ( 7.5625 * t * t ) + b;
843
+ } else if ( t < ( 2 / 2.75 ) ) {
844
+ return c * ( 7.5625 * ( t -= ( 1.5 / 2.75 ) ) * t + .75 ) + b;
845
+ } else if ( t < ( 2.5 / 2.75 ) ) {
846
+ return c * ( 7.5625 * ( t -= ( 2.25/ 2.75 ) ) * t + .9375 ) + b;
847
+ } else {
848
+ return c * ( 7.5625 * ( t -= ( 2.625 / 2.75 ) ) * t + .984375 ) + b;
849
+ }
850
+ },
851
+ easeInOutBounce: function ( x, t, b, c, d ) {
852
+ if ( t < d / 2 ) return $.easing.easeInBounce( x, t * 2, 0, c, d ) * .5 + b;
853
+ return $.easing.easeOutBounce( x, t * 2 - d, 0, c, d ) * .5 + c * .5 + b;
854
+ }
855
+ });
856
+
857
+ /*
858
+ *
859
+ * TERMS OF USE - EASING EQUATIONS
860
+ *
861
+ * Open source under the BSD License.
862
+ *
863
+ * Copyright 2001 Robert Penner
864
+ * All rights reserved.
865
+ *
866
+ * Redistribution and use in source and binary forms, with or without modification,
867
+ * are permitted provided that the following conditions are met:
868
+ *
869
+ * Redistributions of source code must retain the above copyright notice, this list of
870
+ * conditions and the following disclaimer.
871
+ * Redistributions in binary form must reproduce the above copyright notice, this list
872
+ * of conditions and the following disclaimer in the documentation and/or other materials
873
+ * provided with the distribution.
874
+ *
875
+ * Neither the name of the author nor the names of contributors may be used to endorse
876
+ * or promote products derived from this software without specific prior written permission.
877
+ *
878
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
879
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
880
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
881
+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
882
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
883
+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
884
+ * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
885
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
886
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
887
+ *
888
+ */
889
+
890
+ })(jQuery);