compass-jquery-plugin 0.3.1.1 → 0.3.2.pre.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (821) hide show
  1. data/Gemfile +4 -0
  2. data/{LICENSE → LICENSE.md} +1 -1
  3. data/{README.textile → README.md} +122 -71
  4. data/Rakefile +2 -47
  5. data/VERSION.yml +5 -4
  6. data/lib/jquery/gridify/grid_finder.rb +9 -1
  7. data/lib/jquery/gridify/grid_options.rb +16 -2
  8. data/lib/jquery/gridify/grid_view.rb +7 -1
  9. data/lib/jquery/jqgrid/jqgrid.rb +13 -2
  10. data/lib/jquery/jqgrid.rb +4 -4
  11. data/lib/jquery/jqtouch.rb +3 -3
  12. data/lib/jquery/{jrails.rb → jquery.rb} +1 -1
  13. data/lib/jquery/secret_sauce/controller/ui_dialog_controls.rb +13 -13
  14. data/lib/jquery/secret_sauce/controller/ui_grid_controls.rb +18 -18
  15. data/lib/jquery/secret_sauce/helpers/ui_dialog_helper.rb +5 -5
  16. data/lib/jquery/secret_sauce/model/find_for_grid.rb +41 -41
  17. data/lib/jquery/secret_sauce.rb +8 -8
  18. data/lib/jquery.rb +18 -11
  19. data/lib/jquery_ui_theme.rb +3 -3
  20. data/templates/dynatree/jquery/dynatree/aero/icons.png +0 -0
  21. data/templates/dynatree/jquery/dynatree/aero/{ltWait.gif → loading.gif} +0 -0
  22. data/templates/dynatree/jquery/dynatree/aero.scss +235 -130
  23. data/templates/dynatree/jquery/dynatree/aqua/icons.png +0 -0
  24. data/templates/dynatree/jquery/dynatree/aqua/{ltWait.gif → loading.gif} +0 -0
  25. data/templates/dynatree/jquery/dynatree/aqua.scss +235 -130
  26. data/templates/dynatree/jquery/dynatree/crystal/icons.png +0 -0
  27. data/templates/dynatree/jquery/dynatree/crystal/{ltWait.gif → loading.gif} +0 -0
  28. data/templates/dynatree/jquery/dynatree/crystal.scss +235 -130
  29. data/templates/dynatree/jquery/dynatree/xp/icons.png +0 -0
  30. data/templates/dynatree/jquery/dynatree/xp/{ltWait.gif → loading.gif} +0 -0
  31. data/templates/dynatree/jquery/dynatree/xp.scss +72 -88
  32. data/templates/dynatree/jquery.dynatree.js +86 -60
  33. data/templates/dynatree/jquery.dynatree.min.js +47 -47
  34. data/templates/dynatree/manifest.rb +8 -139
  35. data/templates/ical/jquery/ical.scss +12 -2
  36. data/templates/ical/jquery.ical.js +3195 -2380
  37. data/templates/ical/jquery.ical.min.js +209 -199
  38. data/templates/jqgrid/i18n/jqgrid/locale-fa.js +139 -119
  39. data/templates/jqgrid/i18n/jqgrid/locale-fa.min.js +5 -5
  40. data/templates/jqgrid/i18n/jqgrid/locale-sr.js +8 -8
  41. data/templates/jqgrid/i18n/jqgrid/locale-sr.min.js +3 -3
  42. data/templates/jqgrid/jquery/jqGrid.scss +13 -16
  43. data/templates/jqgrid/jquery.jqGrid.js +3493 -3326
  44. data/templates/jqgrid/jquery.jqGrid.min.js +427 -425
  45. data/templates/{jrails/config/initializers/jrails.rb → jquery/config/initializers/jquery.rb} +5 -4
  46. data/templates/{jrails → jquery}/haml.js +2 -2
  47. data/templates/{jrails → jquery}/haml.min.js +0 -0
  48. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-af.js +0 -0
  49. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-af.min.js +0 -0
  50. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ar.js +6 -7
  51. data/templates/jquery/i18n/jquery.ui/datepicker-ar.min.js +2 -0
  52. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-az.js +0 -0
  53. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-az.min.js +0 -0
  54. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-bg.js +0 -0
  55. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-bg.min.js +0 -0
  56. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-bs.js +0 -0
  57. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-bs.min.js +0 -0
  58. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ca.js +0 -0
  59. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ca.min.js +0 -0
  60. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-cs.js +0 -0
  61. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-cs.min.js +0 -0
  62. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-da.js +0 -0
  63. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-da.min.js +0 -0
  64. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-de.js +0 -0
  65. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-de.min.js +0 -0
  66. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-el.js +0 -0
  67. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-el.min.js +0 -0
  68. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-en-GB.js +0 -0
  69. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-en-GB.min.js +0 -0
  70. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-eo.js +0 -0
  71. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-eo.min.js +0 -0
  72. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-es.js +0 -0
  73. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-es.min.js +0 -0
  74. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-et.js +0 -0
  75. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-et.min.js +0 -0
  76. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-eu.js +0 -0
  77. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-eu.min.js +0 -0
  78. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-fa.js +0 -0
  79. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-fa.min.js +0 -0
  80. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-fi.js +0 -0
  81. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-fi.min.js +0 -0
  82. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-fo.js +0 -0
  83. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-fo.min.js +0 -0
  84. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-fr-CH.js +0 -0
  85. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-fr-CH.min.js +0 -0
  86. data/templates/jquery/i18n/jquery.ui/datepicker-fr.js +25 -0
  87. data/templates/jquery/i18n/jquery.ui/datepicker-fr.min.js +2 -0
  88. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-gl.js +0 -0
  89. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-gl.min.js +0 -0
  90. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-he.js +0 -0
  91. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-he.min.js +0 -0
  92. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-hr.js +0 -0
  93. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-hr.min.js +0 -0
  94. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-hu.js +0 -0
  95. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-hu.min.js +0 -0
  96. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-hy.js +0 -0
  97. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-hy.min.js +0 -0
  98. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-id.js +0 -0
  99. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-id.min.js +0 -0
  100. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-is.js +0 -0
  101. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-is.min.js +0 -0
  102. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-it.js +0 -0
  103. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-it.min.js +0 -0
  104. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ja.js +0 -0
  105. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ja.min.js +0 -0
  106. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ko.js +0 -0
  107. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ko.min.js +0 -0
  108. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-kz.js +0 -0
  109. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-kz.min.js +0 -0
  110. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-lt.js +0 -0
  111. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-lt.min.js +0 -0
  112. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-lv.js +0 -0
  113. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-lv.min.js +0 -0
  114. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ms.js +0 -0
  115. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ms.min.js +0 -0
  116. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-nl.js +0 -0
  117. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-nl.min.js +0 -0
  118. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-no.js +2 -2
  119. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-no.min.js +1 -1
  120. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-pl.js +0 -0
  121. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-pl.min.js +0 -0
  122. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-pt-BR.js +0 -0
  123. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-pt-BR.min.js +0 -0
  124. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-pt.js +0 -0
  125. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-pt.min.js +0 -0
  126. data/templates/jquery/i18n/jquery.ui/datepicker-rm.js +21 -0
  127. data/templates/jquery/i18n/jquery.ui/datepicker-rm.min.js +2 -0
  128. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ro.js +0 -0
  129. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ro.min.js +0 -0
  130. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ru.js +0 -0
  131. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ru.min.js +0 -0
  132. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sk.js +0 -0
  133. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sk.min.js +0 -0
  134. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sl.js +0 -0
  135. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sl.min.js +0 -0
  136. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sq.js +0 -0
  137. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sq.min.js +0 -0
  138. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sr-SR.js +0 -0
  139. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sr-SR.min.js +0 -0
  140. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sr.js +0 -0
  141. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sr.min.js +0 -0
  142. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sv.js +0 -0
  143. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-sv.min.js +0 -0
  144. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ta.js +0 -0
  145. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-ta.min.js +0 -0
  146. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-th.js +1 -1
  147. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-th.min.js +1 -1
  148. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-tr.js +0 -0
  149. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-tr.min.js +0 -0
  150. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-uk.js +0 -0
  151. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-uk.min.js +0 -0
  152. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-vi.js +0 -0
  153. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-vi.min.js +0 -0
  154. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-zh-CN.js +0 -0
  155. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-zh-CN.min.js +0 -0
  156. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-zh-HK.js +0 -0
  157. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-zh-HK.min.js +0 -0
  158. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-zh-TW.js +0 -0
  159. data/templates/{jrails → jquery}/i18n/jquery.ui/datepicker-zh-TW.min.js +0 -0
  160. data/templates/{jrails → jquery}/jquery/ui/_theme.scss +19 -17
  161. data/templates/{jrails → jquery}/jquery/ui/base/ui-anim_basic_16x16.gif +0 -0
  162. data/templates/{jrails → jquery}/jquery/ui/base/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  163. data/templates/{jrails → jquery}/jquery/ui/base/ui-bg_flat_75_ffffff_40x100.png +0 -0
  164. data/templates/{jrails → jquery}/jquery/ui/base/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  165. data/templates/{jrails → jquery}/jquery/ui/base/ui-bg_glass_65_ffffff_1x400.png +0 -0
  166. data/templates/{jrails → jquery}/jquery/ui/base/ui-bg_glass_75_dadada_1x400.png +0 -0
  167. data/templates/{jrails → jquery}/jquery/ui/base/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  168. data/templates/{jrails → jquery}/jquery/ui/base/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  169. data/templates/{jrails → jquery}/jquery/ui/base/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  170. data/templates/{jrails → jquery}/jquery/ui/base/ui-icons_222222_256x240.png +0 -0
  171. data/templates/{jrails → jquery}/jquery/ui/base/ui-icons_2e83ff_256x240.png +0 -0
  172. data/templates/{jrails → jquery}/jquery/ui/base/ui-icons_454545_256x240.png +0 -0
  173. data/templates/{jrails → jquery}/jquery/ui/base/ui-icons_888888_256x240.png +0 -0
  174. data/templates/{jrails → jquery}/jquery/ui/base/ui-icons_cd0a0a_256x240.png +0 -0
  175. data/templates/{jrails → jquery}/jquery/ui/base.scss +1 -1
  176. data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-anim_basic_16x16.gif +0 -0
  177. data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-bg_diagonals-thick_8_333333_40x40.png +0 -0
  178. data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-bg_flat_65_ffffff_40x100.png +0 -0
  179. data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-bg_glass_40_111111_1x400.png +0 -0
  180. data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-bg_glass_55_1c1c1c_1x400.png +0 -0
  181. data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
  182. data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-bg_highlight-hard_40_aaaaaa_1x100.png +0 -0
  183. data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-bg_highlight-soft_50_aaaaaa_1x100.png +0 -0
  184. data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-bg_inset-hard_45_cd0a0a_1x100.png +0 -0
  185. data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-bg_inset-hard_55_ffeb80_1x100.png +0 -0
  186. data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-icons_222222_256x240.png +0 -0
  187. data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-icons_4ca300_256x240.png +0 -0
  188. data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-icons_bbbbbb_256x240.png +0 -0
  189. data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-icons_ededed_256x240.png +0 -0
  190. data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-icons_ffcf29_256x240.png +0 -0
  191. data/templates/{jrails → jquery}/jquery/ui/black-tie/ui-icons_ffffff_256x240.png +0 -0
  192. data/templates/{jrails → jquery}/jquery/ui/black-tie.scss +1 -1
  193. data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-anim_basic_16x16.gif +0 -0
  194. data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-bg_diagonals-thick_75_f3d8d8_40x40.png +0 -0
  195. data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-bg_dots-small_65_a6a6a6_2x2.png +0 -0
  196. data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-bg_flat_0_333333_40x100.png +0 -0
  197. data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-bg_flat_65_ffffff_40x100.png +0 -0
  198. data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-bg_flat_75_ffffff_40x100.png +0 -0
  199. data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-bg_glass_55_fbf8ee_1x400.png +0 -0
  200. data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-bg_highlight-hard_100_eeeeee_1x100.png +0 -0
  201. data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-bg_highlight-hard_100_f6f6f6_1x100.png +0 -0
  202. data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-bg_highlight-soft_15_cc0000_1x100.png +0 -0
  203. data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-icons_004276_256x240.png +0 -0
  204. data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-icons_cc0000_256x240.png +0 -0
  205. data/templates/{jrails → jquery}/jquery/ui/blitzer/ui-icons_ffffff_256x240.png +0 -0
  206. data/templates/{jrails → jquery}/jquery/ui/blitzer.scss +1 -1
  207. data/templates/{jrails → jquery}/jquery/ui/contextMenu/cut.png +0 -0
  208. data/templates/{jrails → jquery}/jquery/ui/contextMenu/door.png +0 -0
  209. data/templates/{jrails → jquery}/jquery/ui/contextMenu/page_white_copy.png +0 -0
  210. data/templates/{jrails → jquery}/jquery/ui/contextMenu/page_white_delete.png +0 -0
  211. data/templates/{jrails → jquery}/jquery/ui/contextMenu/page_white_edit.png +0 -0
  212. data/templates/jquery/jquery/ui/contextMenu/page_white_new.png +0 -0
  213. data/templates/{jrails → jquery}/jquery/ui/contextMenu/page_white_paste.png +0 -0
  214. data/templates/{jrails → jquery}/jquery/ui/contextMenu.scss +2 -0
  215. data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-anim_basic_16x16.gif +0 -0
  216. data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-bg_diagonals-thick_90_eeeeee_40x40.png +0 -0
  217. data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-bg_flat_15_cd0a0a_40x100.png +0 -0
  218. data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-bg_glass_100_e4f1fb_1x400.png +0 -0
  219. data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-bg_glass_50_3baae3_1x400.png +0 -0
  220. data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-bg_glass_80_d7ebf9_1x400.png +0 -0
  221. data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-bg_highlight-hard_100_f2f5f7_1x100.png +0 -0
  222. data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-bg_highlight-hard_70_000000_1x100.png +0 -0
  223. data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-bg_highlight-soft_100_deedf7_1x100.png +0 -0
  224. data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-bg_highlight-soft_25_ffef8f_1x100.png +0 -0
  225. data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-icons_2694e8_256x240.png +0 -0
  226. data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-icons_2e83ff_256x240.png +0 -0
  227. data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-icons_3d80b3_256x240.png +0 -0
  228. data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-icons_72a7cf_256x240.png +0 -0
  229. data/templates/{jrails → jquery}/jquery/ui/cupertino/ui-icons_ffffff_256x240.png +0 -0
  230. data/templates/{jrails → jquery}/jquery/ui/cupertino.scss +1 -1
  231. data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-anim_basic_16x16.gif +0 -0
  232. data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-bg_flat_30_cccccc_40x100.png +0 -0
  233. data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  234. data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  235. data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-bg_highlight-hard_20_0972a5_1x100.png +0 -0
  236. data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-bg_highlight-soft_33_003147_1x100.png +0 -0
  237. data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-bg_highlight-soft_35_222222_1x100.png +0 -0
  238. data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-bg_highlight-soft_44_444444_1x100.png +0 -0
  239. data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  240. data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-bg_loop_25_000000_21x21.png +0 -0
  241. data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-icons_222222_256x240.png +0 -0
  242. data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-icons_4b8e0b_256x240.png +0 -0
  243. data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-icons_a83300_256x240.png +0 -0
  244. data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-icons_cccccc_256x240.png +0 -0
  245. data/templates/{jrails → jquery}/jquery/ui/dark-hive/ui-icons_ffffff_256x240.png +0 -0
  246. data/templates/{jrails → jquery}/jquery/ui/dark-hive.scss +1 -1
  247. data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-anim_basic_16x16.gif +0 -0
  248. data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-bg_diagonals-thick_15_0b3e6f_40x40.png +0 -0
  249. data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-bg_dots-medium_30_0b58a2_4x4.png +0 -0
  250. data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-bg_dots-small_20_333333_2x2.png +0 -0
  251. data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-bg_dots-small_30_a32d00_2x2.png +0 -0
  252. data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-bg_dots-small_40_00498f_2x2.png +0 -0
  253. data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  254. data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-bg_flat_40_292929_40x100.png +0 -0
  255. data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-bg_gloss-wave_20_111111_500x100.png +0 -0
  256. data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-icons_00498f_256x240.png +0 -0
  257. data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-icons_98d2fb_256x240.png +0 -0
  258. data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-icons_9ccdfc_256x240.png +0 -0
  259. data/templates/{jrails → jquery}/jquery/ui/dot-luv/ui-icons_ffffff_256x240.png +0 -0
  260. data/templates/{jrails → jquery}/jquery/ui/dot-luv.scss +1 -1
  261. data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-anim_basic_16x16.gif +0 -0
  262. data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  263. data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  264. data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-bg_flat_55_994d53_40x100.png +0 -0
  265. data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-bg_flat_55_fafafa_40x100.png +0 -0
  266. data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-bg_gloss-wave_30_3d3644_500x100.png +0 -0
  267. data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-bg_highlight-soft_100_dcd9de_1x100.png +0 -0
  268. data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-bg_highlight-soft_100_eae6ea_1x100.png +0 -0
  269. data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-bg_highlight-soft_25_30273a_1x100.png +0 -0
  270. data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-bg_highlight-soft_45_5f5964_1x100.png +0 -0
  271. data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-icons_454545_256x240.png +0 -0
  272. data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-icons_734d99_256x240.png +0 -0
  273. data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-icons_8d78a5_256x240.png +0 -0
  274. data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-icons_a8a3ae_256x240.png +0 -0
  275. data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-icons_ebccce_256x240.png +0 -0
  276. data/templates/{jrails → jquery}/jquery/ui/eggplant/ui-icons_ffffff_256x240.png +0 -0
  277. data/templates/{jrails → jquery}/jquery/ui/eggplant.scss +1 -1
  278. data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-anim_basic_16x16.gif +0 -0
  279. data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-bg_diagonals-small_25_c5ddfc_40x40.png +0 -0
  280. data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-bg_diagonals-thick_20_e69700_40x40.png +0 -0
  281. data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-bg_diagonals-thick_22_1484e6_40x40.png +0 -0
  282. data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-bg_diagonals-thick_26_2293f7_40x40.png +0 -0
  283. data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-bg_flat_0_e69700_40x100.png +0 -0
  284. data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-bg_flat_0_e6b900_40x100.png +0 -0
  285. data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-bg_highlight-soft_100_f9f9f9_1x100.png +0 -0
  286. data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-bg_inset-hard_100_eeeeee_1x100.png +0 -0
  287. data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-icons_0a82eb_256x240.png +0 -0
  288. data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-icons_0b54d5_256x240.png +0 -0
  289. data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-icons_5fa5e3_256x240.png +0 -0
  290. data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-icons_fcdd4a_256x240.png +0 -0
  291. data/templates/{jrails → jquery}/jquery/ui/excite-bike/ui-icons_ffffff_256x240.png +0 -0
  292. data/templates/{jrails → jquery}/jquery/ui/excite-bike.scss +1 -1
  293. data/templates/{jrails → jquery}/jquery/ui/farbtastic/marker.png +0 -0
  294. data/templates/{jrails → jquery}/jquery/ui/farbtastic/mask.png +0 -0
  295. data/templates/{jrails → jquery}/jquery/ui/farbtastic/wheel.png +0 -0
  296. data/templates/{jrails → jquery}/jquery/ui/farbtastic.scss +0 -0
  297. data/templates/{jrails → jquery}/jquery/ui/flash_messages/flash-check.png +0 -0
  298. data/templates/{jrails → jquery}/jquery/ui/flash_messages/flash-error-bg.png +0 -0
  299. data/templates/{jrails → jquery}/jquery/ui/flash_messages/flash-error.png +0 -0
  300. data/templates/{jrails → jquery}/jquery/ui/flash_messages/flash-notice-bg.png +0 -0
  301. data/templates/{jrails → jquery}/jquery/ui/flash_messages/flash-warning-bg.png +0 -0
  302. data/templates/{jrails → jquery}/jquery/ui/flash_messages/flash-warning.png +0 -0
  303. data/templates/{jrails → jquery}/jquery/ui/flick/ui-anim_basic_16x16.gif +0 -0
  304. data/templates/{jrails → jquery}/jquery/ui/flick/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  305. data/templates/{jrails → jquery}/jquery/ui/flick/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  306. data/templates/{jrails → jquery}/jquery/ui/flick/ui-bg_flat_55_ffffff_40x100.png +0 -0
  307. data/templates/{jrails → jquery}/jquery/ui/flick/ui-bg_flat_75_ffffff_40x100.png +0 -0
  308. data/templates/{jrails → jquery}/jquery/ui/flick/ui-bg_glass_65_ffffff_1x400.png +0 -0
  309. data/templates/{jrails → jquery}/jquery/ui/flick/ui-bg_highlight-soft_100_f6f6f6_1x100.png +0 -0
  310. data/templates/{jrails → jquery}/jquery/ui/flick/ui-bg_highlight-soft_25_0073ea_1x100.png +0 -0
  311. data/templates/{jrails → jquery}/jquery/ui/flick/ui-bg_highlight-soft_50_dddddd_1x100.png +0 -0
  312. data/templates/{jrails → jquery}/jquery/ui/flick/ui-icons_0073ea_256x240.png +0 -0
  313. data/templates/{jrails → jquery}/jquery/ui/flick/ui-icons_454545_256x240.png +0 -0
  314. data/templates/{jrails → jquery}/jquery/ui/flick/ui-icons_666666_256x240.png +0 -0
  315. data/templates/{jrails → jquery}/jquery/ui/flick/ui-icons_ff0084_256x240.png +0 -0
  316. data/templates/{jrails → jquery}/jquery/ui/flick/ui-icons_ffffff_256x240.png +0 -0
  317. data/templates/{jrails → jquery}/jquery/ui/flick.scss +1 -1
  318. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-anim_basic_16x16.gif +0 -0
  319. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-bg_diagonals-small_40_db4865_40x40.png +0 -0
  320. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-bg_diagonals-small_50_93c3cd_40x40.png +0 -0
  321. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-bg_diagonals-small_50_ff3853_40x40.png +0 -0
  322. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-bg_diagonals-small_75_ccd232_40x40.png +0 -0
  323. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-bg_dots-medium_80_ffff38_4x4.png +0 -0
  324. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-bg_dots-small_35_35414f_2x2.png +0 -0
  325. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-bg_flat_75_ba9217_40x100.png +0 -0
  326. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-bg_flat_75_ffffff_40x100.png +0 -0
  327. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-bg_white-lines_85_f7f7ba_40x100.png +0 -0
  328. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-icons_454545_256x240.png +0 -0
  329. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-icons_88a206_256x240.png +0 -0
  330. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-icons_c02669_256x240.png +0 -0
  331. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-icons_e1e463_256x240.png +0 -0
  332. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-icons_ffeb33_256x240.png +0 -0
  333. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks/ui-icons_ffffff_256x240.png +0 -0
  334. data/templates/{jrails → jquery}/jquery/ui/hot-sneaks.scss +1 -1
  335. data/templates/{jrails → jquery}/jquery/ui/humanity/ui-anim_basic_16x16.gif +0 -0
  336. data/templates/{jrails → jquery}/jquery/ui/humanity/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
  337. data/templates/{jrails → jquery}/jquery/ui/humanity/ui-bg_glass_100_f5f0e5_1x400.png +0 -0
  338. data/templates/{jrails → jquery}/jquery/ui/humanity/ui-bg_glass_25_cb842e_1x400.png +0 -0
  339. data/templates/{jrails → jquery}/jquery/ui/humanity/ui-bg_glass_70_ede4d4_1x400.png +0 -0
  340. data/templates/{jrails → jquery}/jquery/ui/humanity/ui-bg_highlight-hard_100_f4f0ec_1x100.png +0 -0
  341. data/templates/{jrails → jquery}/jquery/ui/humanity/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
  342. data/templates/{jrails → jquery}/jquery/ui/humanity/ui-bg_highlight-hard_75_f5f5b5_1x100.png +0 -0
  343. data/templates/{jrails → jquery}/jquery/ui/humanity/ui-bg_inset-soft_100_f4f0ec_1x100.png +0 -0
  344. data/templates/{jrails → jquery}/jquery/ui/humanity/ui-icons_c47a23_256x240.png +0 -0
  345. data/templates/{jrails → jquery}/jquery/ui/humanity/ui-icons_cb672b_256x240.png +0 -0
  346. data/templates/{jrails → jquery}/jquery/ui/humanity/ui-icons_f08000_256x240.png +0 -0
  347. data/templates/{jrails → jquery}/jquery/ui/humanity/ui-icons_f35f07_256x240.png +0 -0
  348. data/templates/{jrails → jquery}/jquery/ui/humanity/ui-icons_ff7519_256x240.png +0 -0
  349. data/templates/{jrails → jquery}/jquery/ui/humanity/ui-icons_ffffff_256x240.png +0 -0
  350. data/templates/{jrails → jquery}/jquery/ui/humanity.scss +1 -1
  351. data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-anim_basic_16x16.gif +0 -0
  352. data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-bg_diagonals-small_0_aaaaaa_40x40.png +0 -0
  353. data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-bg_diagonals-thick_15_444444_40x40.png +0 -0
  354. data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-bg_diagonals-thick_95_ffdc2e_40x40.png +0 -0
  355. data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-bg_glass_55_fbf5d0_1x400.png +0 -0
  356. data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-bg_highlight-hard_30_285c00_1x100.png +0 -0
  357. data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-bg_highlight-soft_33_3a8104_1x100.png +0 -0
  358. data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-bg_highlight-soft_50_4eb305_1x100.png +0 -0
  359. data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-bg_highlight-soft_60_4ca20b_1x100.png +0 -0
  360. data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-bg_inset-soft_10_285c00_1x100.png +0 -0
  361. data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-icons_4eb305_256x240.png +0 -0
  362. data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-icons_72b42d_256x240.png +0 -0
  363. data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-icons_cd0a0a_256x240.png +0 -0
  364. data/templates/{jrails → jquery}/jquery/ui/le-frog/ui-icons_ffffff_256x240.png +0 -0
  365. data/templates/{jrails → jquery}/jquery/ui/le-frog.scss +1 -1
  366. data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-anim_basic_16x16.gif +0 -0
  367. data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  368. data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-bg_glass_15_5f391b_1x400.png +0 -0
  369. data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-bg_gloss-wave_20_1c160d_500x100.png +0 -0
  370. data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-bg_gloss-wave_25_453326_500x100.png +0 -0
  371. data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-bg_gloss-wave_30_44372c_500x100.png +0 -0
  372. data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-bg_highlight-soft_20_201913_1x100.png +0 -0
  373. data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-bg_highlight-soft_20_619226_1x100.png +0 -0
  374. data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-bg_inset-soft_10_201913_1x100.png +0 -0
  375. data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-icons_222222_256x240.png +0 -0
  376. data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-icons_9bcc60_256x240.png +0 -0
  377. data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-icons_add978_256x240.png +0 -0
  378. data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-icons_e3ddc9_256x240.png +0 -0
  379. data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-icons_f1fd86_256x240.png +0 -0
  380. data/templates/{jrails → jquery}/jquery/ui/mint-choc/ui-icons_ffffff_256x240.png +0 -0
  381. data/templates/{jrails → jquery}/jquery/ui/mint-choc.scss +1 -1
  382. data/templates/{jrails → jquery}/jquery/ui/overcast/ui-anim_basic_16x16.gif +0 -0
  383. data/templates/{jrails → jquery}/jquery/ui/overcast/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  384. data/templates/{jrails → jquery}/jquery/ui/overcast/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  385. data/templates/{jrails → jquery}/jquery/ui/overcast/ui-bg_flat_55_c0402a_40x100.png +0 -0
  386. data/templates/{jrails → jquery}/jquery/ui/overcast/ui-bg_flat_55_eeeeee_40x100.png +0 -0
  387. data/templates/{jrails → jquery}/jquery/ui/overcast/ui-bg_glass_100_f8f8f8_1x400.png +0 -0
  388. data/templates/{jrails → jquery}/jquery/ui/overcast/ui-bg_glass_35_dddddd_1x400.png +0 -0
  389. data/templates/{jrails → jquery}/jquery/ui/overcast/ui-bg_glass_60_eeeeee_1x400.png +0 -0
  390. data/templates/{jrails → jquery}/jquery/ui/overcast/ui-bg_inset-hard_75_999999_1x100.png +0 -0
  391. data/templates/{jrails → jquery}/jquery/ui/overcast/ui-bg_inset-soft_50_c9c9c9_1x100.png +0 -0
  392. data/templates/{jrails → jquery}/jquery/ui/overcast/ui-icons_3383bb_256x240.png +0 -0
  393. data/templates/{jrails → jquery}/jquery/ui/overcast/ui-icons_454545_256x240.png +0 -0
  394. data/templates/{jrails → jquery}/jquery/ui/overcast/ui-icons_70b2e1_256x240.png +0 -0
  395. data/templates/{jrails → jquery}/jquery/ui/overcast/ui-icons_999999_256x240.png +0 -0
  396. data/templates/{jrails → jquery}/jquery/ui/overcast/ui-icons_fbc856_256x240.png +0 -0
  397. data/templates/{jrails → jquery}/jquery/ui/overcast.scss +1 -1
  398. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-anim_basic_16x16.gif +0 -0
  399. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-bg_diagonal-maze_20_6e4f1c_10x10.png +0 -0
  400. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-bg_diagonal-maze_40_000000_10x10.png +0 -0
  401. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-bg_fine-grain_10_eceadf_60x60.png +0 -0
  402. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-bg_fine-grain_10_f8f7f6_60x60.png +0 -0
  403. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-bg_fine-grain_15_eceadf_60x60.png +0 -0
  404. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-bg_fine-grain_15_f7f3de_60x60.png +0 -0
  405. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-bg_fine-grain_15_ffffff_60x60.png +0 -0
  406. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-bg_fine-grain_65_654b24_60x60.png +0 -0
  407. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-bg_fine-grain_68_b83400_60x60.png +0 -0
  408. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-icons_222222_256x240.png +0 -0
  409. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-icons_3572ac_256x240.png +0 -0
  410. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-icons_8c291d_256x240.png +0 -0
  411. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-icons_b83400_256x240.png +0 -0
  412. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-icons_fbdb93_256x240.png +0 -0
  413. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder/ui-icons_ffffff_256x240.png +0 -0
  414. data/templates/{jrails → jquery}/jquery/ui/pepper-grinder.scss +1 -1
  415. data/templates/{jrails → jquery}/jquery/ui/redmond/ui-anim_basic_16x16.gif +0 -0
  416. data/templates/{jrails → jquery}/jquery/ui/redmond/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  417. data/templates/{jrails → jquery}/jquery/ui/redmond/ui-bg_flat_55_fbec88_40x100.png +0 -0
  418. data/templates/{jrails → jquery}/jquery/ui/redmond/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  419. data/templates/{jrails → jquery}/jquery/ui/redmond/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  420. data/templates/{jrails → jquery}/jquery/ui/redmond/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  421. data/templates/{jrails → jquery}/jquery/ui/redmond/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  422. data/templates/{jrails → jquery}/jquery/ui/redmond/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  423. data/templates/{jrails → jquery}/jquery/ui/redmond/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  424. data/templates/{jrails → jquery}/jquery/ui/redmond/ui-icons_217bc0_256x240.png +0 -0
  425. data/templates/{jrails → jquery}/jquery/ui/redmond/ui-icons_2e83ff_256x240.png +0 -0
  426. data/templates/{jrails → jquery}/jquery/ui/redmond/ui-icons_469bdd_256x240.png +0 -0
  427. data/templates/{jrails → jquery}/jquery/ui/redmond/ui-icons_6da8d5_256x240.png +0 -0
  428. data/templates/{jrails → jquery}/jquery/ui/redmond/ui-icons_cd0a0a_256x240.png +0 -0
  429. data/templates/{jrails → jquery}/jquery/ui/redmond/ui-icons_d8e7f3_256x240.png +0 -0
  430. data/templates/{jrails → jquery}/jquery/ui/redmond/ui-icons_f9bd01_256x240.png +0 -0
  431. data/templates/{jrails → jquery}/jquery/ui/redmond.scss +1 -1
  432. data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-anim_basic_16x16.gif +0 -0
  433. data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  434. data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-bg_flat_75_ffffff_40x100.png +0 -0
  435. data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  436. data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-bg_glass_65_ffffff_1x400.png +0 -0
  437. data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-bg_glass_75_dadada_1x400.png +0 -0
  438. data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  439. data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  440. data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  441. data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-icons_222222_256x240.png +0 -0
  442. data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-icons_2e83ff_256x240.png +0 -0
  443. data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-icons_454545_256x240.png +0 -0
  444. data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-icons_888888_256x240.png +0 -0
  445. data/templates/{jrails → jquery}/jquery/ui/smoothness/ui-icons_cd0a0a_256x240.png +0 -0
  446. data/templates/{jrails → jquery}/jquery/ui/smoothness.scss +1 -1
  447. data/templates/{jrails → jquery}/jquery/ui/south-street/ui-anim_basic_16x16.gif +0 -0
  448. data/templates/{jrails → jquery}/jquery/ui/south-street/ui-bg_glass_55_fcf0ba_1x400.png +0 -0
  449. data/templates/{jrails → jquery}/jquery/ui/south-street/ui-bg_gloss-wave_100_ece8da_500x100.png +0 -0
  450. data/templates/{jrails → jquery}/jquery/ui/south-street/ui-bg_highlight-hard_100_f5f3e5_1x100.png +0 -0
  451. data/templates/{jrails → jquery}/jquery/ui/south-street/ui-bg_highlight-hard_100_fafaf4_1x100.png +0 -0
  452. data/templates/{jrails → jquery}/jquery/ui/south-street/ui-bg_highlight-hard_15_459e00_1x100.png +0 -0
  453. data/templates/{jrails → jquery}/jquery/ui/south-street/ui-bg_highlight-hard_95_cccccc_1x100.png +0 -0
  454. data/templates/{jrails → jquery}/jquery/ui/south-street/ui-bg_highlight-soft_25_67b021_1x100.png +0 -0
  455. data/templates/{jrails → jquery}/jquery/ui/south-street/ui-bg_highlight-soft_95_ffedad_1x100.png +0 -0
  456. data/templates/{jrails → jquery}/jquery/ui/south-street/ui-bg_inset-soft_15_2b2922_1x100.png +0 -0
  457. data/templates/{jrails → jquery}/jquery/ui/south-street/ui-icons_808080_256x240.png +0 -0
  458. data/templates/{jrails → jquery}/jquery/ui/south-street/ui-icons_847e71_256x240.png +0 -0
  459. data/templates/{jrails → jquery}/jquery/ui/south-street/ui-icons_8dc262_256x240.png +0 -0
  460. data/templates/{jrails → jquery}/jquery/ui/south-street/ui-icons_cd0a0a_256x240.png +0 -0
  461. data/templates/{jrails → jquery}/jquery/ui/south-street/ui-icons_eeeeee_256x240.png +0 -0
  462. data/templates/{jrails → jquery}/jquery/ui/south-street/ui-icons_ffffff_256x240.png +0 -0
  463. data/templates/{jrails → jquery}/jquery/ui/south-street.scss +1 -1
  464. data/templates/{jrails → jquery}/jquery/ui/start/ui-anim_basic_16x16.gif +0 -0
  465. data/templates/{jrails → jquery}/jquery/ui/start/ui-bg_flat_55_999999_40x100.png +0 -0
  466. data/templates/{jrails → jquery}/jquery/ui/start/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
  467. data/templates/{jrails → jquery}/jquery/ui/start/ui-bg_glass_45_0078ae_1x400.png +0 -0
  468. data/templates/{jrails → jquery}/jquery/ui/start/ui-bg_glass_55_f8da4e_1x400.png +0 -0
  469. data/templates/{jrails → jquery}/jquery/ui/start/ui-bg_glass_75_79c9ec_1x400.png +0 -0
  470. data/templates/{jrails → jquery}/jquery/ui/start/ui-bg_gloss-wave_45_e14f1c_500x100.png +0 -0
  471. data/templates/{jrails → jquery}/jquery/ui/start/ui-bg_gloss-wave_50_6eac2c_500x100.png +0 -0
  472. data/templates/{jrails → jquery}/jquery/ui/start/ui-bg_gloss-wave_75_2191c0_500x100.png +0 -0
  473. data/templates/{jrails → jquery}/jquery/ui/start/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  474. data/templates/{jrails → jquery}/jquery/ui/start/ui-icons_0078ae_256x240.png +0 -0
  475. data/templates/{jrails → jquery}/jquery/ui/start/ui-icons_056b93_256x240.png +0 -0
  476. data/templates/{jrails → jquery}/jquery/ui/start/ui-icons_d8e7f3_256x240.png +0 -0
  477. data/templates/{jrails → jquery}/jquery/ui/start/ui-icons_e0fdff_256x240.png +0 -0
  478. data/templates/{jrails → jquery}/jquery/ui/start/ui-icons_f5e175_256x240.png +0 -0
  479. data/templates/{jrails → jquery}/jquery/ui/start/ui-icons_f7a50d_256x240.png +0 -0
  480. data/templates/{jrails → jquery}/jquery/ui/start/ui-icons_fcd113_256x240.png +0 -0
  481. data/templates/{jrails → jquery}/jquery/ui/start.scss +1 -1
  482. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-anim_basic_16x16.gif +0 -0
  483. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-bg_diagonals-medium_20_d34d17_40x40.png +0 -0
  484. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-bg_flat_30_cccccc_40x100.png +0 -0
  485. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  486. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-bg_gloss-wave_45_817865_500x100.png +0 -0
  487. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-bg_gloss-wave_60_fece2f_500x100.png +0 -0
  488. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-bg_gloss-wave_70_ffdd57_500x100.png +0 -0
  489. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-bg_gloss-wave_90_fff9e5_500x100.png +0 -0
  490. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-bg_highlight-soft_100_feeebd_1x100.png +0 -0
  491. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-bg_inset-soft_30_ffffff_1x100.png +0 -0
  492. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-icons_3d3d3d_256x240.png +0 -0
  493. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-icons_bd7b00_256x240.png +0 -0
  494. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-icons_d19405_256x240.png +0 -0
  495. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-icons_eb990f_256x240.png +0 -0
  496. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-icons_ed9f26_256x240.png +0 -0
  497. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-icons_fadc7a_256x240.png +0 -0
  498. data/templates/{jrails → jquery}/jquery/ui/sunny/ui-icons_ffe180_256x240.png +0 -0
  499. data/templates/{jrails → jquery}/jquery/ui/sunny.scss +1 -1
  500. data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-anim_basic_16x16.gif +0 -0
  501. data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-bg_diamond_10_4f4221_10x8.png +0 -0
  502. data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-bg_diamond_20_372806_10x8.png +0 -0
  503. data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-bg_diamond_25_675423_10x8.png +0 -0
  504. data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-bg_diamond_25_d5ac5d_10x8.png +0 -0
  505. data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-bg_diamond_8_261803_10x8.png +0 -0
  506. data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-bg_diamond_8_443113_10x8.png +0 -0
  507. data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-bg_flat_75_ddd4b0_40x100.png +0 -0
  508. data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
  509. data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-icons_070603_256x240.png +0 -0
  510. data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-icons_e8e2b5_256x240.png +0 -0
  511. data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-icons_e9cd86_256x240.png +0 -0
  512. data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-icons_efec9f_256x240.png +0 -0
  513. data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-icons_f2ec64_256x240.png +0 -0
  514. data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-icons_f9f2bd_256x240.png +0 -0
  515. data/templates/{jrails → jquery}/jquery/ui/swanky-purse/ui-icons_ff7519_256x240.png +0 -0
  516. data/templates/{jrails → jquery}/jquery/ui/swanky-purse.scss +1 -1
  517. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/buttonbg.png +0 -0
  518. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/icon_color_arrow.gif +0 -0
  519. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/menuhoverbg.png +0 -0
  520. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_black_matte.png +0 -0
  521. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_black_tie.png +0 -0
  522. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_blitzer.png +0 -0
  523. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_cupertino.png +0 -0
  524. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_dark_hive.png +0 -0
  525. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_dot_luv.png +0 -0
  526. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_eggplant.png +0 -0
  527. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_excite_bike.png +0 -0
  528. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_flick.png +0 -0
  529. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_hot_sneaks.png +0 -0
  530. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_humanity.png +0 -0
  531. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_le_frog.png +0 -0
  532. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_mint_choco.png +0 -0
  533. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_overcast.png +0 -0
  534. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_pepper_grinder.png +0 -0
  535. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_smoothness.png +0 -0
  536. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_south_street.png +0 -0
  537. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_start_menu.png +0 -0
  538. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_sunny.png +0 -0
  539. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_swanky_purse.png +0 -0
  540. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_trontastic.png +0 -0
  541. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_ui_dark.png +0 -0
  542. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_ui_light.png +0 -0
  543. data/templates/{jrails → jquery}/jquery/ui/themeSwitcher/theme_90_windoze.png +0 -0
  544. data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-anim_basic_16x16.gif +0 -0
  545. data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-bg_diagonals-small_50_262626_40x40.png +0 -0
  546. data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-bg_flat_0_303030_40x100.png +0 -0
  547. data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-bg_flat_0_4c4c4c_40x100.png +0 -0
  548. data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-bg_glass_40_0a0a0a_1x400.png +0 -0
  549. data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-bg_glass_55_f1fbe5_1x400.png +0 -0
  550. data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-bg_glass_60_000000_1x400.png +0 -0
  551. data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-bg_gloss-wave_55_000000_500x100.png +0 -0
  552. data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-bg_gloss-wave_85_9fda58_500x100.png +0 -0
  553. data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-bg_gloss-wave_95_f6ecd5_500x100.png +0 -0
  554. data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-icons_000000_256x240.png +0 -0
  555. data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-icons_1f1f1f_256x240.png +0 -0
  556. data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-icons_9fda58_256x240.png +0 -0
  557. data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-icons_b8ec79_256x240.png +0 -0
  558. data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-icons_cd0a0a_256x240.png +0 -0
  559. data/templates/{jrails → jquery}/jquery/ui/trontastic/ui-icons_ffffff_256x240.png +0 -0
  560. data/templates/{jrails → jquery}/jquery/ui/trontastic.scss +1 -1
  561. data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-anim_basic_16x16.gif +0 -0
  562. data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-bg_flat_30_cccccc_40x100.png +0 -0
  563. data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  564. data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-bg_glass_20_555555_1x400.png +0 -0
  565. data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-bg_glass_40_0078a3_1x400.png +0 -0
  566. data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  567. data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
  568. data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  569. data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-bg_inset-soft_25_000000_1x100.png +0 -0
  570. data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-bg_inset-soft_30_f58400_1x100.png +0 -0
  571. data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-icons_222222_256x240.png +0 -0
  572. data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-icons_4b8e0b_256x240.png +0 -0
  573. data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-icons_a83300_256x240.png +0 -0
  574. data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-icons_cccccc_256x240.png +0 -0
  575. data/templates/{jrails → jquery}/jquery/ui/ui-darkness/ui-icons_ffffff_256x240.png +0 -0
  576. data/templates/{jrails → jquery}/jquery/ui/ui-darkness.scss +1 -1
  577. data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-anim_basic_16x16.gif +0 -0
  578. data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  579. data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  580. data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-bg_flat_10_000000_40x100.png +0 -0
  581. data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  582. data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  583. data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-bg_glass_65_ffffff_1x400.png +0 -0
  584. data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  585. data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  586. data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  587. data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-icons_222222_256x240.png +0 -0
  588. data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-icons_228ef1_256x240.png +0 -0
  589. data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-icons_ef8c08_256x240.png +0 -0
  590. data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-icons_ffd27a_256x240.png +0 -0
  591. data/templates/{jrails → jquery}/jquery/ui/ui-lightness/ui-icons_ffffff_256x240.png +0 -0
  592. data/templates/{jrails → jquery}/jquery/ui/ui-lightness.scss +1 -1
  593. data/templates/{jrails → jquery}/jquery/ui/vader/ui-anim_basic_16x16.gif +0 -0
  594. data/templates/{jrails → jquery}/jquery/ui/vader/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  595. data/templates/{jrails → jquery}/jquery/ui/vader/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  596. data/templates/{jrails → jquery}/jquery/ui/vader/ui-bg_gloss-wave_16_121212_500x100.png +0 -0
  597. data/templates/{jrails → jquery}/jquery/ui/vader/ui-bg_highlight-hard_15_888888_1x100.png +0 -0
  598. data/templates/{jrails → jquery}/jquery/ui/vader/ui-bg_highlight-hard_55_555555_1x100.png +0 -0
  599. data/templates/{jrails → jquery}/jquery/ui/vader/ui-bg_highlight-soft_35_adadad_1x100.png +0 -0
  600. data/templates/{jrails → jquery}/jquery/ui/vader/ui-bg_highlight-soft_60_dddddd_1x100.png +0 -0
  601. data/templates/{jrails → jquery}/jquery/ui/vader/ui-bg_inset-soft_15_121212_1x100.png +0 -0
  602. data/templates/{jrails → jquery}/jquery/ui/vader/ui-icons_666666_256x240.png +0 -0
  603. data/templates/{jrails → jquery}/jquery/ui/vader/ui-icons_aaaaaa_256x240.png +0 -0
  604. data/templates/{jrails → jquery}/jquery/ui/vader/ui-icons_bbbbbb_256x240.png +0 -0
  605. data/templates/{jrails → jquery}/jquery/ui/vader/ui-icons_c98000_256x240.png +0 -0
  606. data/templates/{jrails → jquery}/jquery/ui/vader/ui-icons_cccccc_256x240.png +0 -0
  607. data/templates/{jrails → jquery}/jquery/ui/vader/ui-icons_cd0a0a_256x240.png +0 -0
  608. data/templates/{jrails → jquery}/jquery/ui/vader/ui-icons_f29a00_256x240.png +0 -0
  609. data/templates/{jrails → jquery}/jquery/ui/vader.scss +1 -1
  610. data/templates/{jrails → jquery}/jquery-ui.js +518 -342
  611. data/templates/jquery/jquery-ui.min.js +830 -0
  612. data/templates/{jrails → jquery}/jquery.bgiframe.js +0 -0
  613. data/templates/{jrails → jquery}/jquery.bgiframe.min.js +0 -0
  614. data/templates/{jrails → jquery}/jquery.compat-1.3.js +0 -0
  615. data/templates/{jrails → jquery}/jquery.compat-1.3.min.js +0 -0
  616. data/templates/{jrails → jquery}/jquery.contextMenu.js +8 -8
  617. data/templates/{jrails → jquery}/jquery.contextMenu.min.js +4 -4
  618. data/templates/{jrails → jquery}/jquery.cookie.js +0 -0
  619. data/templates/{jrails → jquery}/jquery.cookie.min.js +0 -0
  620. data/templates/{jrails → jquery}/jquery.farbtastic.js +0 -0
  621. data/templates/{jrails → jquery}/jquery.farbtastic.min.js +0 -0
  622. data/templates/{jrails → jquery}/jquery.flash_messages.js +0 -0
  623. data/templates/{jrails → jquery}/jquery.flash_messages.min.js +0 -0
  624. data/templates/{jrails → jquery}/jquery.form.js +0 -0
  625. data/templates/{jrails → jquery}/jquery.form.min.js +0 -0
  626. data/templates/{jrails → jquery}/jquery.haml.js +0 -0
  627. data/templates/{jrails → jquery}/jquery.haml.min.js +0 -0
  628. data/templates/jquery/jquery.history.js +194 -0
  629. data/templates/jquery/jquery.history.min.js +5 -0
  630. data/templates/{jrails → jquery}/jquery.hotkeys.js +0 -0
  631. data/templates/{jrails → jquery}/jquery.hotkeys.min.js +0 -0
  632. data/templates/{jrails → jquery}/jquery.js +0 -0
  633. data/templates/{jrails → jquery}/jquery.layout.js +0 -0
  634. data/templates/{jrails → jquery}/jquery.layout.min.js +0 -0
  635. data/templates/{jrails → jquery}/jquery.metadata.js +0 -0
  636. data/templates/{jrails → jquery}/jquery.metadata.min.js +0 -0
  637. data/templates/{jrails → jquery}/jquery.min.js +0 -0
  638. data/templates/{jrails → jquery}/jquery.pngFix.js +0 -0
  639. data/templates/{jrails → jquery}/jquery.pngFix.min.js +0 -0
  640. data/templates/{jrails → jquery}/jquery.sparkline.js +609 -388
  641. data/templates/jquery/jquery.sparkline.min.js +36 -0
  642. data/templates/{jrails → jquery}/jquery.themeswitchertool.js +0 -0
  643. data/templates/{jrails → jquery}/jquery.themeswitchertool.min.js +0 -0
  644. data/templates/{jrails → jquery}/jquery.tmpl.js +0 -0
  645. data/templates/{jrails → jquery}/jquery.tmpl.min.js +0 -0
  646. data/templates/{jrails → jquery}/jquery.tmplPlus.js +0 -0
  647. data/templates/{jrails → jquery}/jquery.tmplPlus.min.js +0 -0
  648. data/templates/{jrails → jquery}/jrails.js +0 -0
  649. data/templates/{jrails → jquery}/jrails.min.js +0 -0
  650. data/templates/{jrails → jquery}/lib/tasks/haml.rake +0 -0
  651. data/templates/{jrails → jquery}/manifest.rb +8 -3
  652. data/templates/{jrails → jquery}/partials/_flash_messages.scss +0 -0
  653. data/templates/mobile/jquery/mobile/_base.scss +1069 -934
  654. data/templates/mobile/jquery/mobile/default.scss +119 -91
  655. data/templates/mobile/jquery/mobile/valencia.scss +3 -1
  656. data/templates/mobile/jquery.mobile.js +692 -365
  657. data/templates/mobile/jquery.mobile.min.js +2 -2
  658. metadata +703 -834
  659. data/.document +0 -3
  660. data/.loadpath +0 -5
  661. data/.project +0 -18
  662. data/gem_tasks/dynatree.rake +0 -77
  663. data/gem_tasks/emulators.rake +0 -57
  664. data/gem_tasks/ical.rake +0 -85
  665. data/gem_tasks/jqgrid.rake +0 -119
  666. data/gem_tasks/jqtouch.rake +0 -167
  667. data/gem_tasks/jrails.rake +0 -366
  668. data/gem_tasks/jstree.rake +0 -98
  669. data/gem_tasks/mobile.rake +0 -156
  670. data/gem_tasks/ribbon.rake +0 -78
  671. data/gem_tasks/rubygems.rake +0 -18
  672. data/gem_tasks/secret_sauce.rake +0 -64
  673. data/gem_tasks/tools.rake +0 -66
  674. data/lib/google-compiler-20100917.jar +0 -0
  675. data/lib/js.jar +0 -0
  676. data/lib/jslint-check.js +0 -36
  677. data/lib/jslint.js +0 -5500
  678. data/lib/yuicompressor-2.4.2.jar +0 -0
  679. data/spec/compass-jquery-plugin_spec.rb +0 -7
  680. data/spec/spec.opts +0 -1
  681. data/spec/spec_helper.rb +0 -9
  682. data/templates/dynatree/jquery/dynatree/aero/cbChecked.png +0 -0
  683. data/templates/dynatree/jquery/dynatree/aero/cbChecked_hover.png +0 -0
  684. data/templates/dynatree/jquery/dynatree/aero/cbIntermediate.png +0 -0
  685. data/templates/dynatree/jquery/dynatree/aero/cbIntermediate_hover.png +0 -0
  686. data/templates/dynatree/jquery/dynatree/aero/cbUnchecked.png +0 -0
  687. data/templates/dynatree/jquery/dynatree/aero/cbUnchecked_hover.png +0 -0
  688. data/templates/dynatree/jquery/dynatree/aero/collapsed.png +0 -0
  689. data/templates/dynatree/jquery/dynatree/aero/collapsed_hover.png +0 -0
  690. data/templates/dynatree/jquery/dynatree/aero/copy_here.png +0 -0
  691. data/templates/dynatree/jquery/dynatree/aero/customDoc1.png +0 -0
  692. data/templates/dynatree/jquery/dynatree/aero/customFolder1.png +0 -0
  693. data/templates/dynatree/jquery/dynatree/aero/doc_with_children.png +0 -0
  694. data/templates/dynatree/jquery/dynatree/aero/document.png +0 -0
  695. data/templates/dynatree/jquery/dynatree/aero/drop_accept.png +0 -0
  696. data/templates/dynatree/jquery/dynatree/aero/drop_here.png +0 -0
  697. data/templates/dynatree/jquery/dynatree/aero/drop_reject.png +0 -0
  698. data/templates/dynatree/jquery/dynatree/aero/drop_sibling_here.png +0 -0
  699. data/templates/dynatree/jquery/dynatree/aero/empty.png +0 -0
  700. data/templates/dynatree/jquery/dynatree/aero/expanded.png +0 -0
  701. data/templates/dynatree/jquery/dynatree/aero/expanded_hover.png +0 -0
  702. data/templates/dynatree/jquery/dynatree/aero/folder.png +0 -0
  703. data/templates/dynatree/jquery/dynatree/aero/folder_docs.png +0 -0
  704. data/templates/dynatree/jquery/dynatree/aero/folder_images.png +0 -0
  705. data/templates/dynatree/jquery/dynatree/aero/folder_page.png +0 -0
  706. data/templates/dynatree/jquery/dynatree/aero/ltDoc.png +0 -0
  707. data/templates/dynatree/jquery/dynatree/aero/ltError.png +0 -0
  708. data/templates/dynatree/jquery/dynatree/aero/move_here.png +0 -0
  709. data/templates/dynatree/jquery/dynatree/aero/rbChecked.png +0 -0
  710. data/templates/dynatree/jquery/dynatree/aero/rbChecked_hover.png +0 -0
  711. data/templates/dynatree/jquery/dynatree/aero/rbIntermediate.png +0 -0
  712. data/templates/dynatree/jquery/dynatree/aero/rbIntermediate_hover.png +0 -0
  713. data/templates/dynatree/jquery/dynatree/aero/rbUnchecked.png +0 -0
  714. data/templates/dynatree/jquery/dynatree/aero/rbUnchecked_hover.png +0 -0
  715. data/templates/dynatree/jquery/dynatree/aqua/cbChecked.png +0 -0
  716. data/templates/dynatree/jquery/dynatree/aqua/cbChecked_hover.png +0 -0
  717. data/templates/dynatree/jquery/dynatree/aqua/cbIntermediate.png +0 -0
  718. data/templates/dynatree/jquery/dynatree/aqua/cbIntermediate_hover.png +0 -0
  719. data/templates/dynatree/jquery/dynatree/aqua/cbUnchecked.png +0 -0
  720. data/templates/dynatree/jquery/dynatree/aqua/cbUnchecked_hover.png +0 -0
  721. data/templates/dynatree/jquery/dynatree/aqua/collapsed.png +0 -0
  722. data/templates/dynatree/jquery/dynatree/aqua/collapsed_hover.png +0 -0
  723. data/templates/dynatree/jquery/dynatree/aqua/copy_here.png +0 -0
  724. data/templates/dynatree/jquery/dynatree/aqua/customDoc1.png +0 -0
  725. data/templates/dynatree/jquery/dynatree/aqua/customFolder1.png +0 -0
  726. data/templates/dynatree/jquery/dynatree/aqua/doc_with_children.png +0 -0
  727. data/templates/dynatree/jquery/dynatree/aqua/document.png +0 -0
  728. data/templates/dynatree/jquery/dynatree/aqua/drop_accept.png +0 -0
  729. data/templates/dynatree/jquery/dynatree/aqua/drop_here.png +0 -0
  730. data/templates/dynatree/jquery/dynatree/aqua/drop_reject.png +0 -0
  731. data/templates/dynatree/jquery/dynatree/aqua/drop_sibling_here.png +0 -0
  732. data/templates/dynatree/jquery/dynatree/aqua/empty.png +0 -0
  733. data/templates/dynatree/jquery/dynatree/aqua/expanded.png +0 -0
  734. data/templates/dynatree/jquery/dynatree/aqua/expanded_hover.png +0 -0
  735. data/templates/dynatree/jquery/dynatree/aqua/folder.png +0 -0
  736. data/templates/dynatree/jquery/dynatree/aqua/folder_docs.png +0 -0
  737. data/templates/dynatree/jquery/dynatree/aqua/folder_images.png +0 -0
  738. data/templates/dynatree/jquery/dynatree/aqua/folder_open.png +0 -0
  739. data/templates/dynatree/jquery/dynatree/aqua/folder_page.png +0 -0
  740. data/templates/dynatree/jquery/dynatree/aqua/ltDoc.png +0 -0
  741. data/templates/dynatree/jquery/dynatree/aqua/ltError.png +0 -0
  742. data/templates/dynatree/jquery/dynatree/aqua/move_here.png +0 -0
  743. data/templates/dynatree/jquery/dynatree/aqua/rbChecked.png +0 -0
  744. data/templates/dynatree/jquery/dynatree/aqua/rbChecked_hover.png +0 -0
  745. data/templates/dynatree/jquery/dynatree/aqua/rbIntermediate.png +0 -0
  746. data/templates/dynatree/jquery/dynatree/aqua/rbIntermediate_hover.png +0 -0
  747. data/templates/dynatree/jquery/dynatree/aqua/rbUnchecked.png +0 -0
  748. data/templates/dynatree/jquery/dynatree/aqua/rbUnchecked_hover.png +0 -0
  749. data/templates/dynatree/jquery/dynatree/crystal/cbChecked.png +0 -0
  750. data/templates/dynatree/jquery/dynatree/crystal/cbChecked_hover.png +0 -0
  751. data/templates/dynatree/jquery/dynatree/crystal/cbIntermediate.png +0 -0
  752. data/templates/dynatree/jquery/dynatree/crystal/cbIntermediate_hover.png +0 -0
  753. data/templates/dynatree/jquery/dynatree/crystal/cbUnchecked.png +0 -0
  754. data/templates/dynatree/jquery/dynatree/crystal/cbUnchecked_hover.png +0 -0
  755. data/templates/dynatree/jquery/dynatree/crystal/collapsed.png +0 -0
  756. data/templates/dynatree/jquery/dynatree/crystal/collapsed_hover.png +0 -0
  757. data/templates/dynatree/jquery/dynatree/crystal/copy_here.png +0 -0
  758. data/templates/dynatree/jquery/dynatree/crystal/customDoc1.png +0 -0
  759. data/templates/dynatree/jquery/dynatree/crystal/customFolder1.png +0 -0
  760. data/templates/dynatree/jquery/dynatree/crystal/doc_with_children.png +0 -0
  761. data/templates/dynatree/jquery/dynatree/crystal/document.png +0 -0
  762. data/templates/dynatree/jquery/dynatree/crystal/drop_accept.png +0 -0
  763. data/templates/dynatree/jquery/dynatree/crystal/drop_here.png +0 -0
  764. data/templates/dynatree/jquery/dynatree/crystal/drop_reject.png +0 -0
  765. data/templates/dynatree/jquery/dynatree/crystal/drop_sibling_here.png +0 -0
  766. data/templates/dynatree/jquery/dynatree/crystal/empty.png +0 -0
  767. data/templates/dynatree/jquery/dynatree/crystal/expanded.png +0 -0
  768. data/templates/dynatree/jquery/dynatree/crystal/expanded_hover.png +0 -0
  769. data/templates/dynatree/jquery/dynatree/crystal/folder.png +0 -0
  770. data/templates/dynatree/jquery/dynatree/crystal/folder_docs.png +0 -0
  771. data/templates/dynatree/jquery/dynatree/crystal/folder_images.png +0 -0
  772. data/templates/dynatree/jquery/dynatree/crystal/folder_open.png +0 -0
  773. data/templates/dynatree/jquery/dynatree/crystal/folder_page.png +0 -0
  774. data/templates/dynatree/jquery/dynatree/crystal/ltDoc.png +0 -0
  775. data/templates/dynatree/jquery/dynatree/crystal/ltError.png +0 -0
  776. data/templates/dynatree/jquery/dynatree/crystal/move_here.png +0 -0
  777. data/templates/dynatree/jquery/dynatree/crystal/rbChecked.png +0 -0
  778. data/templates/dynatree/jquery/dynatree/crystal/rbChecked_hover.png +0 -0
  779. data/templates/dynatree/jquery/dynatree/crystal/rbIntermediate.png +0 -0
  780. data/templates/dynatree/jquery/dynatree/crystal/rbIntermediate_hover.png +0 -0
  781. data/templates/dynatree/jquery/dynatree/crystal/rbUnchecked.png +0 -0
  782. data/templates/dynatree/jquery/dynatree/crystal/rbUnchecked_hover.png +0 -0
  783. data/templates/dynatree/jquery/dynatree/xp/cbChecked.png +0 -0
  784. data/templates/dynatree/jquery/dynatree/xp/cbChecked_hover.png +0 -0
  785. data/templates/dynatree/jquery/dynatree/xp/cbIntermediate.png +0 -0
  786. data/templates/dynatree/jquery/dynatree/xp/cbIntermediate_hover.png +0 -0
  787. data/templates/dynatree/jquery/dynatree/xp/cbUnchecked.png +0 -0
  788. data/templates/dynatree/jquery/dynatree/xp/cbUnchecked_hover.png +0 -0
  789. data/templates/dynatree/jquery/dynatree/xp/copy_here.png +0 -0
  790. data/templates/dynatree/jquery/dynatree/xp/customDoc1.png +0 -0
  791. data/templates/dynatree/jquery/dynatree/xp/customFolder1.png +0 -0
  792. data/templates/dynatree/jquery/dynatree/xp/drop_accept.png +0 -0
  793. data/templates/dynatree/jquery/dynatree/xp/drop_here.png +0 -0
  794. data/templates/dynatree/jquery/dynatree/xp/drop_reject.png +0 -0
  795. data/templates/dynatree/jquery/dynatree/xp/drop_sibling_here.png +0 -0
  796. data/templates/dynatree/jquery/dynatree/xp/ltD_ne.png +0 -0
  797. data/templates/dynatree/jquery/dynatree/xp/ltD_nes.png +0 -0
  798. data/templates/dynatree/jquery/dynatree/xp/ltDoc.png +0 -0
  799. data/templates/dynatree/jquery/dynatree/xp/ltError.png +0 -0
  800. data/templates/dynatree/jquery/dynatree/xp/ltFld.png +0 -0
  801. data/templates/dynatree/jquery/dynatree/xp/ltFld_o.png +0 -0
  802. data/templates/dynatree/jquery/dynatree/xp/ltL_.png +0 -0
  803. data/templates/dynatree/jquery/dynatree/xp/ltL_ne.png +0 -0
  804. data/templates/dynatree/jquery/dynatree/xp/ltL_nes.png +0 -0
  805. data/templates/dynatree/jquery/dynatree/xp/ltL_ns.png +0 -0
  806. data/templates/dynatree/jquery/dynatree/xp/ltM_ne.png +0 -0
  807. data/templates/dynatree/jquery/dynatree/xp/ltM_nes.png +0 -0
  808. data/templates/dynatree/jquery/dynatree/xp/ltP_ne.png +0 -0
  809. data/templates/dynatree/jquery/dynatree/xp/ltP_nes.png +0 -0
  810. data/templates/dynatree/jquery/dynatree/xp/move_here.png +0 -0
  811. data/templates/dynatree/jquery/dynatree/xp/rbChecked.png +0 -0
  812. data/templates/dynatree/jquery/dynatree/xp/rbChecked_hover.png +0 -0
  813. data/templates/dynatree/jquery/dynatree/xp/rbIntermediate.png +0 -0
  814. data/templates/dynatree/jquery/dynatree/xp/rbIntermediate_hover.png +0 -0
  815. data/templates/dynatree/jquery/dynatree/xp/rbUnchecked.png +0 -0
  816. data/templates/dynatree/jquery/dynatree/xp/rbUnchecked_hover.png +0 -0
  817. data/templates/jrails/i18n/jquery.ui/datepicker-ar.min.js +0 -2
  818. data/templates/jrails/i18n/jquery.ui/datepicker-fr.js +0 -23
  819. data/templates/jrails/i18n/jquery.ui/datepicker-fr.min.js +0 -2
  820. data/templates/jrails/jquery-ui.min.js +0 -825
  821. data/templates/jrails/jquery.sparkline.min.js +0 -31
@@ -2,7 +2,7 @@
2
2
  *
3
3
  * jquery.sparkline.js
4
4
  *
5
- * v1.5.1
5
+ * v1.6
6
6
  * (c) Splunk, Inc
7
7
  * Contact: Gareth Watts (gareth@splunk.com)
8
8
  * http://omnipotent.net/jquery.sparkline/
@@ -54,10 +54,24 @@
54
54
  * $('#sparkline1').sparkline([1,4,6,6,8,5,3,5])
55
55
  * $('#sparkline2').sparkline([1,4,6,null,null,5,3,5])
56
56
  *
57
+ * Values can also be specified in an HTML comment, or as a values attribute:
58
+ * <p>Sparkline: <span class="sparkline"><!--1,4,6,6,8,5,3,5 --></span></p>
59
+ * <p>Sparkline: <span class="sparkline" values="1,4,6,6,8,5,3,5"></span></p>
60
+ * $('.sparkline').sparkline();
61
+ *
57
62
  * For line charts, x values can also be specified:
58
63
  * <p>Sparkline: <span class="sparkline">1:1,2.7:4,3.4:6,5:6,6:8,8.7:5,9:3,10:5</span></p>
59
64
  * $('#sparkline1').sparkline([ [1,1], [2.7,4], [3.4,6], [5,6], [6,8], [8.7,5], [9,3], [10,5] ])
60
65
  *
66
+ * By default, options should be passed in as teh second argument to the sparkline function:
67
+ * $('.sparkline').sparkline([1,2,3,4], {type: 'bar'})
68
+ *
69
+ * Options can also be set by passing them on the tag itself. This feature is disabled by default though
70
+ * as there's a slight performance overhead:
71
+ * $('.sparkline').sparkline([1,2,3,4], {enableTagOptions: true})
72
+ * <p>Sparkline: <span class="sparkline" sparkType="bar" sparkBarColor="red">loading</span></p>
73
+ * Prefix all options supplied as tag attribute with "spark" (configurable by setting tagOptionPrefix)
74
+ *
61
75
  * Supported options:
62
76
  * lineColor - Color of the line used for the chart
63
77
  * fillColor - Color used to fill in the chart - Set to '' or false for a transparent chart
@@ -71,6 +85,9 @@
71
85
  * composite - If true then don't erase any existing chart attached to the tag, but draw
72
86
  * another chart over the top - Note that width and height are ignored if an
73
87
  * existing chart is detected.
88
+ * tagValuesAttribute - Name of tag attribute to check for data values - Defaults to 'values'
89
+ * enableTagOptions - Whether to check tags for sparkline options
90
+ * tagOptionPrefix - Prefix used for options supplied as tag attributes - Defaults to 'spark'
74
91
  *
75
92
  * There are 7 types of sparkline, selected by supplying a "type" option of 'line' (default),
76
93
  * 'bar', 'tristate', 'bullet', 'discrete', 'pie' or 'box'
@@ -84,6 +101,7 @@
84
101
  * normalRangeMax - If set draws a filled horizontal bar between these two values marking the "normal"
85
102
  * or expected range of values
86
103
  * normalRangeColor - Color to use for the above bar
104
+ * drawNormalOnTop - Draw the normal range above the chart fill color if true
87
105
  * defaultPixelsPerValue - Defaults to 3 pixels of width for each value in the chart
88
106
  *
89
107
  * bar - Bar chart. Options:
@@ -152,15 +170,118 @@
152
170
 
153
171
  (function($) {
154
172
 
173
+ /*
174
+ * Default configuration settings
175
+ */
176
+ var defaults = {
177
+ // Settings common to most/all chart types
178
+ common: {
179
+ type : 'line',
180
+ lineColor : '#00f',
181
+ fillColor : '#cdf',
182
+ defaultPixelsPerValue : 3,
183
+ width : 'auto',
184
+ height : 'auto',
185
+ composite : false,
186
+ tagValuesAttribute: 'values',
187
+ tagOptionsPrefix: 'spark',
188
+ enableTagOptions: false
189
+ },
190
+ // Defaults for line charts
191
+ line: {
192
+ spotColor : '#f80',
193
+ spotRadius : 1.5,
194
+ minSpotColor : '#f80',
195
+ maxSpotColor : '#f80',
196
+ lineWidth: 1,
197
+ normalRangeMin : undefined,
198
+ normalRangeMax : undefined,
199
+ normalRangeColor : '#ccc',
200
+ drawNormalOnTop: false,
201
+ chartRangeMin : undefined,
202
+ chartRangeMax : undefined,
203
+ chartRangeMinX : undefined,
204
+ chartRangeMaxX : undefined
205
+ },
206
+ // Defaults for bar charts
207
+ bar: {
208
+ barColor : '#00f',
209
+ negBarColor : '#f44',
210
+ zeroColor: undefined,
211
+ nullColor: undefined,
212
+ zeroAxis : undefined,
213
+ barWidth : 4,
214
+ barSpacing : 1,
215
+ chartRangeMax: undefined,
216
+ chartRangeMin: undefined,
217
+ chartRangeClip: false,
218
+ colorMap : undefined
219
+ },
220
+ // Defaults for tristate charts
221
+ tristate: {
222
+ barWidth : 4,
223
+ barSpacing : 1,
224
+ posBarColor: '#6f6',
225
+ negBarColor : '#f44',
226
+ zeroBarColor : '#999',
227
+ colorMap : {}
228
+ },
229
+ // Defaults for discrete charts
230
+ discrete: {
231
+ lineHeight: 'auto',
232
+ thresholdColor: undefined,
233
+ thresholdValue : 0,
234
+ chartRangeMax: undefined,
235
+ chartRangeMin: undefined,
236
+ chartRangeClip: false
237
+ },
238
+ // Defaults for bullet charts
239
+ bullet: {
240
+ targetColor : 'red',
241
+ targetWidth : 3, // width of the target bar in pixels
242
+ performanceColor : 'blue',
243
+ rangeColors : ['#D3DAFE', '#A8B6FF', '#7F94FF' ],
244
+ base : undefined // set this to a number to change the base start number
245
+ },
246
+ // Defaults for pie charts
247
+ pie: {
248
+ sliceColors : ['#f00', '#0f0', '#00f']
249
+ },
250
+ // Defaults for box plots
251
+ box: {
252
+ raw: false,
253
+ boxLineColor: 'black',
254
+ boxFillColor: '#cdf',
255
+ whiskerColor: 'black',
256
+ outlierLineColor: '#333',
257
+ outlierFillColor: 'white',
258
+ medianColor: 'red',
259
+ showOutliers: true,
260
+ outlierIQR: 1.5,
261
+ spotRadius: 1.5,
262
+ target: undefined,
263
+ targetColor: '#4a2',
264
+ chartRangeMax: undefined,
265
+ chartRangeMin: undefined
266
+ }
267
+ };
268
+
155
269
  // Provide a cross-browser interface to a few simple drawing primitives
270
+ var VCanvas_base, VCanvas_canvas, VCanvas_vml;
156
271
  $.fn.simpledraw = function(width, height, use_existing) {
157
- if (use_existing && this[0].vcanvas) return this[0].vcanvas;
158
- if (width==undefined) width=$(this).innerWidth();
159
- if (height==undefined) height=$(this).innerHeight();
272
+ if (use_existing && this[0].VCanvas) {
273
+ return this[0].VCanvas;
274
+ }
275
+ if (width === undefined) {
276
+ width=$(this).innerWidth();
277
+ }
278
+ if (height === undefined) {
279
+ height=$(this).innerHeight();
280
+ }
160
281
  if ($.browser.hasCanvas) {
161
- return new vcanvas_canvas(width, height, this);
282
+ return new VCanvas_canvas(width, height, this);
162
283
  } else if ($.browser.msie) {
163
- return new vcanvas_vml(width, height, this);
284
+ return new VCanvas_vml(width, height, this);
164
285
  } else {
165
286
  return false;
166
287
  }
@@ -168,24 +289,25 @@
168
289
 
169
290
  var pending = [];
170
291
 
171
- $.fn.sparkline = function(uservalues, options) {
172
- var options = $.extend({
173
- type : 'line',
174
- lineColor : '#00f',
175
- fillColor : '#cdf',
176
- defaultPixelsPerValue : 3,
177
- width : 'auto',
178
- height : 'auto',
179
- composite : false
180
- }, options ? options : {});
181
-
292
+
293
+ $.fn.sparkline = function(uservalues, userOptions) {
182
294
  return this.each(function() {
295
+ var options = new $.fn.sparkline.options(this, userOptions);
183
296
  var render = function() {
184
- var values = (uservalues=='html' || uservalues==undefined) ? $(this).text().split(',') : uservalues;
297
+ var values, width, height;
298
+ if (uservalues==='html' || uservalues===undefined) {
299
+ var vals = this.getAttribute(options.get('tagValuesAttribute'));
300
+ if (vals===undefined || vals===null) {
301
+ vals = $(this).html();
302
+ }
303
+ values = vals.replace(/(^\s*<!--)|(-->\s*$)|\s+/g, '').split(',');
304
+ } else {
305
+ values = uservalues;
306
+ }
185
307
 
186
- var width = options.width=='auto' ? values.length*options.defaultPixelsPerValue : options.width;
187
- if (options.height == 'auto') {
188
- if (!options.composite || !this.vcanvas) {
308
+ width = options.get('width')=='auto' ? values.length*options.get('defaultPixelsPerValue') : options.get('width');
309
+ if (options.get('height') == 'auto') {
310
+ if (!options.get('composite') || !this.VCanvas) {
189
311
  // must be a better way to get the line height
190
312
  var tmp = document.createElement('span');
191
313
  tmp.innerHTML = 'a';
@@ -194,13 +316,13 @@
194
316
  $(tmp).remove();
195
317
  }
196
318
  } else {
197
- height = options.height;
319
+ height = options.get('height');
198
320
  }
199
321
 
200
- $.fn.sparkline[options.type].call(this, values, options, width, height);
201
- }
322
+ $.fn.sparkline[options.get('type')].call(this, values, options, width, height);
323
+ };
202
324
  // jQuery 1.3.0 completely changed the meaning of :hidden :-/
203
- if (($(this).html() && $(this).is(':hidden')) || ($.fn.jquery < "1.3.0" && $(this).parents().is(':hidden'))) {
325
+ if (($(this).html() && $(this).is(':hidden')) || ($.fn.jquery < "1.3.0" && $(this).parents().is(':hidden')) || !$(this).parents('body').length) {
204
326
  pending.push([this, render]);
205
327
  } else {
206
328
  render.call(this);
@@ -208,6 +330,8 @@
208
330
  });
209
331
  };
210
332
 
333
+ $.fn.sparkline.defaults = defaults;
334
+
211
335
 
212
336
  $.sparkline_display_visible = function() {
213
337
  for (var i=pending.length-1; i>=0; i--) {
@@ -219,25 +343,99 @@
219
343
  }
220
344
  };
221
345
 
222
- $.fn.sparkline.line = function(values, options, width, height) {
223
- var options = $.extend({
224
- spotColor : '#f80',
225
- spotRadius : 1.5,
226
- minSpotColor : '#f80',
227
- maxSpotColor : '#f80',
228
- lineWidth: 1,
229
- normalRangeMin : undefined,
230
- normalRangeMax : undefined,
231
- normalRangeColor : '#ccc',
232
- chartRangeMin : undefined,
233
- chartRangeMax : undefined,
234
- chartRangeMinX : undefined,
235
- chartRangeMaxX : undefined
236
- }, options ? options : {});
237
346
 
347
+ /**
348
+ * User option handler
349
+ */
350
+ var UNSET_OPTION = {};
351
+ var normalizeValue = function(val) {
352
+ switch(val) {
353
+ case 'undefined':
354
+ val = undefined;
355
+ break;
356
+ case 'null':
357
+ val = null;
358
+ break;
359
+ case 'true':
360
+ val = true;
361
+ break;
362
+ case 'false':
363
+ val = false;
364
+ break;
365
+ default:
366
+ var nf = parseFloat(val);
367
+ if (val == nf) {
368
+ val = nf;
369
+ }
370
+ }
371
+ return val;
372
+ };
373
+ $.fn.sparkline.options = function(tag, userOptions) {
374
+ var extendedOptions;
375
+ this.userOptions = userOptions = userOptions || {};
376
+ this.tag = tag;
377
+ this.tagValCache = {};
378
+ var defaults = $.fn.sparkline.defaults;
379
+ var base = defaults.common;
380
+ this.tagOptionsPrefix = userOptions.enableTagOptions && (userOptions.tagOptionsPrefix || base.tagOptionsPrefix);
381
+
382
+ var tagOptionType = this.getTagSetting('type');
383
+ if (tagOptionType === UNSET_OPTION) {
384
+ extendedOptions = defaults[userOptions.type || base.type];
385
+ } else {
386
+ extendedOptions = defaults[tagOptionType];
387
+ }
388
+ this.mergedOptions = $.extend({}, base, extendedOptions, userOptions);
389
+ };
390
+
391
+
392
+ $.fn.sparkline.options.prototype.getTagSetting = function(key) {
393
+ var val, i, prefix = this.tagOptionsPrefix;
394
+ if (prefix === false || prefix === undefined) {
395
+ return UNSET_OPTION;
396
+ }
397
+ if (this.tagValCache.hasOwnProperty(key)) {
398
+ val = this.tagValCache.key;
399
+ } else {
400
+ val = this.tag.getAttribute(prefix + key);
401
+ if (val === undefined || val === null) {
402
+ val = UNSET_OPTION;
403
+ } else if (val.substr(0, 1) == '[') {
404
+ val = val.substr(1, val.length-2).split(',');
405
+ for(i=val.length; i--;) {
406
+ val[i] = normalizeValue(val[i].replace(/(^\s*)|(\s*$)/g, ''));
407
+ }
408
+ } else if (val.substr(0, 1) == '{') {
409
+ var pairs= val.substr(1, val.length-2).split(',');
410
+ val = {};
411
+ for(i=pairs.length; i--;) {
412
+ var keyval = pairs[i].split(':', 2);
413
+ val[keyval[0].replace(/(^\s*)|(\s*$)/g, '')] = normalizeValue(keyval[1].replace(/(^\s*)|(\s*$)/g, ''));
414
+ }
415
+ } else {
416
+ val = normalizeValue(val);
417
+ }
418
+ this.tagValCache.key = val;
419
+ }
420
+ return val;
421
+ };
422
+
423
+ $.fn.sparkline.options.prototype.get = function(key) {
424
+ var tagOption = this.getTagSetting(key);
425
+ if (tagOption !== UNSET_OPTION) {
426
+ return tagOption;
427
+ }
428
+ return this.mergedOptions[key];
429
+ };
430
+
431
+
432
+ /**
433
+ * Line charts
434
+ */
435
+ $.fn.sparkline.line = function(values, options, width, height) {
238
436
  var xvalues = [], yvalues = [], yminmax = [];
239
- for (i=0; i<values.length; i++) {
240
- var v = values[i];
437
+ for (var i=0; i<values.length; i++) {
438
+ var val = values[i];
241
439
  var isstr = typeof(values[i])=='string';
242
440
  var isarray = typeof(values[i])=='object' && values[i] instanceof Array;
243
441
  var sp = isstr && values[i].split(':');
@@ -246,21 +444,21 @@
246
444
  yvalues.push(Number(sp[1]));
247
445
  yminmax.push(Number(sp[1]));
248
446
  } else if (isarray) {
249
- xvalues.push(values[i][0]);
250
- yvalues.push(values[i][1]);
251
- yminmax.push(values[i][1]);
447
+ xvalues.push(val[0]);
448
+ yvalues.push(val[1]);
449
+ yminmax.push(val[1]);
252
450
  } else {
253
451
  xvalues.push(i);
254
452
  if (values[i]===null || values[i]=='null') {
255
453
  yvalues.push(null);
256
454
  } else {
257
- yvalues.push(Number(values[i]));
258
- yminmax.push(Number(values[i]));
455
+ yvalues.push(Number(val));
456
+ yminmax.push(Number(val));
259
457
  }
260
458
  }
261
459
  }
262
- if (options.xvalues) {
263
- xvalues = options.xvalues;
460
+ if (options.get('xvalues')) {
461
+ xvalues = options.get('xvalues');
264
462
  }
265
463
 
266
464
  var maxy = Math.max.apply(Math, yminmax);
@@ -269,30 +467,33 @@
269
467
  var minyval = miny;
270
468
 
271
469
  var maxx = Math.max.apply(Math, xvalues);
272
- var maxxval = maxx;
273
470
  var minx = Math.min.apply(Math, xvalues);
274
- var minxval = minx;
275
471
 
276
- if (options.normalRangeMin!=undefined) {
277
- if (options.normalRangeMin<miny)
278
- miny = options.normalRangeMin;
279
- if (options.normalRangeMax>maxy)
280
- maxy = options.normalRangeMax;
472
+ var normalRangeMin = options.get('normalRangeMin');
473
+ var normalRangeMax = options.get('normalRangeMax');
474
+
475
+ if (normalRangeMin!==undefined) {
476
+ if (normalRangeMin<miny) {
477
+ miny = normalRangeMin;
478
+ }
479
+ if (normalRangeMax>maxy) {
480
+ maxy = normalRangeMax;
481
+ }
281
482
  }
282
- if (options.chartRangeMin!=undefined && (options.chartRangeClip || options.chartRangeMin<miny)) {
283
- miny = options.chartRangeMin;
483
+ if (options.get('chartRangeMin')!==undefined && (options.get('chartRangeClip') || options.get('chartRangeMin')<miny)) {
484
+ miny = options.get('chartRangeMin');
284
485
  }
285
- if (options.chartRangeMax!=undefined && (options.chartRangeClip || options.chartRangeMax>maxy)) {
286
- maxy = options.chartRangeMax;
486
+ if (options.get('chartRangeMax')!==undefined && (options.get('chartRangeClip') || options.get('chartRangeMax')>maxy)) {
487
+ maxy = options.get('chartRangeMax');
287
488
  }
288
- if (options.chartRangeMinX!=undefined && (options.chartRangeClipX || options.chartRangeMinX<minx)) {
289
- minx = options.chartRangeMinX;
489
+ if (options.get('chartRangeMinX')!==undefined && (options.get('chartRangeClipX') || options.get('chartRangeMinX')<minx)) {
490
+ minx = options.get('chartRangeMinX');
290
491
  }
291
- if (options.chartRangeMaxX!=undefined && (options.chartRangeClipX || options.chartRangeMaxX>maxx)) {
292
- maxx = options.chartRangeMaxX;
492
+ if (options.get('chartRangeMaxX')!==undefined && (options.get('chartRangeClipX') || options.get('chartRangeMaxX')>maxx)) {
493
+ maxx = options.get('chartRangeMaxX');
293
494
  }
294
- var rangex = maxx-minx == 0 ? 1 : maxx-minx;
295
- var rangey = maxy-miny == 0 ? 1 : maxy-miny;
495
+ var rangex = maxx-minx === 0 ? 1 : maxx-minx;
496
+ var rangey = maxy-miny === 0 ? 1 : maxy-miny;
296
497
  var vl = yvalues.length-1;
297
498
 
298
499
  if (vl<1) {
@@ -300,44 +501,56 @@
300
501
  return;
301
502
  }
302
503
 
303
- var target = $(this).simpledraw(width, height, options.composite);
504
+ var target = $(this).simpledraw(width, height, options.get('composite'));
304
505
  if (target) {
305
506
  var canvas_width = target.pixel_width;
306
507
  var canvas_height = target.pixel_height;
307
508
  var canvas_top = 0;
308
509
  var canvas_left = 0;
309
510
 
310
- if (options.spotRadius && (canvas_width < (options.spotRadius*4) || canvas_height < (options.spotRadius*4))) {
311
- options.spotRadius = 0;
511
+ var spotRadius = options.get('spotRadius');
512
+ if (spotRadius && (canvas_width < (spotRadius*4) || canvas_height < (spotRadius*4))) {
513
+ spotRadius = 0;
312
514
  }
313
- if (options.spotRadius) {
515
+ if (spotRadius) {
314
516
  // adjust the canvas size as required so that spots will fit
315
- if (options.minSpotColor || (options.spotColor && yvalues[vl]==miny))
316
- canvas_height -= Math.ceil(options.spotRadius);
317
- if (options.maxSpotColor || (options.spotColor && yvalues[vl]==maxy)) {
318
- canvas_height -= Math.ceil(options.spotRadius);
319
- canvas_top += Math.ceil(options.spotRadius);
517
+ if (options.get('minSpotColor') || (options.get('spotColor') && yvalues[vl]==miny)) {
518
+ canvas_height -= Math.ceil(spotRadius);
519
+ }
520
+ if (options.get('maxSpotColor') || (options.get('spotColor') && yvalues[vl]==maxy)) {
521
+ canvas_height -= Math.ceil(spotRadius);
522
+ canvas_top += Math.ceil(spotRadius);
320
523
  }
321
- if (options.minSpotColor || options.maxSpotColor && (yvalues[0]==miny || yvalues[0]==maxy)) {
322
- canvas_left += Math.ceil(options.spotRadius);
323
- canvas_width -= Math.ceil(options.spotRadius);
524
+ if (options.get('minSpotColor') || options.get('maxSpotColor') && (yvalues[0]==miny || yvalues[0]==maxy)) {
525
+ canvas_left += Math.ceil(spotRadius);
526
+ canvas_width -= Math.ceil(spotRadius);
527
+ }
528
+ if (options.get('spotColor') || (options.get('minSpotColor') || options.get('maxSpotColor') && (yvalues[vl]==miny||yvalues[vl]==maxy))) {
529
+ canvas_width -= Math.ceil(spotRadius);
324
530
  }
325
- if (options.spotColor || (options.minSpotColor || options.maxSpotColor && (yvalues[vl]==miny||yvalues[vl]==maxy)))
326
- canvas_width -= Math.ceil(options.spotRadius);
327
531
  }
328
532
 
329
533
 
330
534
  canvas_height--;
331
- if (options.normalRangeMin!=undefined) {
332
- var ytop = canvas_top+Math.round(canvas_height-(canvas_height*((options.normalRangeMax-miny)/rangey)));
333
- var height = Math.round((canvas_height*(options.normalRangeMax-options.normalRangeMin))/rangey);
334
- target.drawRect(canvas_left, ytop, canvas_width, height, undefined, options.normalRangeColor);
535
+
536
+ var drawNormalRange = function() {
537
+ if (normalRangeMin!==undefined) {
538
+ var ytop = canvas_top+Math.round(canvas_height-(canvas_height*((normalRangeMax-miny)/rangey)));
539
+ var height = Math.round((canvas_height*(normalRangeMax-normalRangeMin))/rangey);
540
+ target.drawRect(canvas_left, ytop, canvas_width, height, undefined, options.get('normalRangeColor'));
541
+ }
542
+ };
543
+
544
+ if (!options.get('drawNormalOnTop')) {
545
+ drawNormalRange();
335
546
  }
336
547
 
337
548
  var path = [];
338
549
  var paths = [path];
339
- for(var i=0, vlen=yvalues.length; i<vlen; i++) {
340
- var x=xvalues[i], y=yvalues[i];
550
+ var x, y, vlen=yvalues.length;
551
+ for(i=0; i<vlen; i++) {
552
+ x=xvalues[i];
553
+ y=yvalues[i];
341
554
  if (y===null) {
342
555
  if (i) {
343
556
  if (yvalues[i-1]!==null) {
@@ -346,8 +559,12 @@
346
559
  }
347
560
  }
348
561
  } else {
349
- if (y < miny) y=miny;
350
- if (y > maxy) y=maxy;
562
+ if (y < miny) {
563
+ y=miny;
564
+ }
565
+ if (y > maxy) {
566
+ y=maxy;
567
+ }
351
568
  if (!path.length) {
352
569
  // previous value was null
353
570
  path.push([canvas_left+Math.round((x-minx)*(canvas_width/rangex)), canvas_top+canvas_height]);
@@ -355,13 +572,17 @@
355
572
  path.push([canvas_left+Math.round((x-minx)*(canvas_width/rangex)), canvas_top+Math.round(canvas_height-(canvas_height*((y-miny)/rangey)))]);
356
573
  }
357
574
  }
358
- for(var i=0, plen=paths.length; i<plen; i++) {
575
+ var lineshapes = [];
576
+ var fillshapes = [];
577
+ var plen=paths.length;
578
+ for(i=0; i<plen; i++) {
359
579
  path = paths[i];
360
- if (!path.length)
580
+ if (!path.length) {
361
581
  continue; // last value was null
362
- if (options.fillColor) {
582
+ }
583
+ if (options.get('fillColor')) {
363
584
  path.push([path[path.length-1][0], canvas_top+canvas_height-1]);
364
- target.drawShape(path, undefined, options.fillColor);
585
+ fillshapes.push(path.slice(0));
365
586
  path.pop();
366
587
  }
367
588
  // if there's only a single point in this path, then we want to display it as a vertical line
@@ -370,44 +591,50 @@
370
591
  // else we want the first value
371
592
  path[0] = [ path[0][0], path[1][1] ];
372
593
  }
373
- target.drawShape(path, options.lineColor, undefined, options.lineWidth);
594
+ lineshapes.push(path);
374
595
  }
375
- if (options.spotRadius && options.spotColor) {
376
- target.drawCircle(canvas_left+Math.round(xvalues[xvalues.length-1]*(canvas_width/rangex)), canvas_top+Math.round(canvas_height-(canvas_height*((yvalues[vl]-miny)/rangey))), options.spotRadius, undefined, options.spotColor);
596
+
597
+ // draw the fill first, then optionally the normal range, then the line on top of that
598
+ plen = fillshapes.length;
599
+ for(i=0; i<plen; i++) {
600
+ target.drawShape(fillshapes[i], undefined, options.get('fillColor'));
601
+ }
602
+
603
+ if (options.get('drawNormalOnTop')) {
604
+ drawNormalRange();
605
+ }
606
+
607
+ plen = lineshapes.length;
608
+ for(i=0; i<plen; i++) {
609
+ target.drawShape(lineshapes[i], options.get('lineColor'), undefined, options.get('lineWidth'));
610
+ }
611
+
612
+ if (spotRadius && options.get('spotColor')) {
613
+ target.drawCircle(canvas_left+Math.round(xvalues[xvalues.length-1]*(canvas_width/rangex)), canvas_top+Math.round(canvas_height-(canvas_height*((yvalues[vl]-miny)/rangey))), spotRadius, undefined, options.get('spotColor'));
377
614
  }
378
615
  if (maxy!=minyval) {
379
- if (options.spotRadius && options.minSpotColor) {
380
- var x = xvalues[yvalues.indexOf(minyval)];
381
- target.drawCircle(canvas_left+Math.round((x-minx)*(canvas_width/rangex)), canvas_top+Math.round(canvas_height-(canvas_height*((minyval-miny)/rangey))), options.spotRadius, undefined, options.minSpotColor);
616
+ if (spotRadius && options.get('minSpotColor')) {
617
+ x = xvalues[$.inArray(minyval, yvalues)];
618
+ target.drawCircle(canvas_left+Math.round((x-minx)*(canvas_width/rangex)), canvas_top+Math.round(canvas_height-(canvas_height*((minyval-miny)/rangey))), spotRadius, undefined, options.get('minSpotColor'));
382
619
  }
383
- if (options.spotRadius && options.maxSpotColor) {
384
- var x = xvalues[yvalues.indexOf(maxyval)];
385
- target.drawCircle(canvas_left+Math.round((x-minx)*(canvas_width/rangex)), canvas_top+Math.round(canvas_height-(canvas_height*((maxyval-miny)/rangey))), options.spotRadius, undefined, options.maxSpotColor);
620
+ if (spotRadius && options.get('maxSpotColor')) {
621
+ x = xvalues[$.inArray(maxyval, yvalues)];
622
+ target.drawCircle(canvas_left+Math.round((x-minx)*(canvas_width/rangex)), canvas_top+Math.round(canvas_height-(canvas_height*((maxyval-miny)/rangey))), spotRadius, undefined, options.get('maxSpotColor'));
386
623
  }
387
624
  }
625
+
388
626
  } else {
389
627
  // Remove the tag contents if sparklines aren't supported
390
628
  this.innerHTML = '';
391
629
  }
392
630
  };
393
631
 
632
+
633
+ /**
634
+ * Bar charts
635
+ */
394
636
  $.fn.sparkline.bar = function(values, options, width, height) {
395
- var options = $.extend({
396
- type : 'bar',
397
- barColor : '#00f',
398
- negBarColor : '#f44',
399
- zeroColor: undefined,
400
- nullColor: undefined,
401
- zeroAxis : undefined,
402
- barWidth : 4,
403
- barSpacing : 1,
404
- chartRangeMax: undefined,
405
- chartRangeMin: undefined,
406
- chartRangeClip: false,
407
- colorMap : undefined
408
- }, options ? options : {});
409
-
410
- var width = (values.length * options.barWidth) + ((values.length-1) * options.barSpacing);
637
+ width = (values.length * options.get('barWidth')) + ((values.length-1) * options.get('barSpacing'));
411
638
  var num_values = [];
412
639
  for(var i=0, vlen=values.length; i<vlen; i++) {
413
640
  if (values[i]=='null' || values[i]===null) {
@@ -417,56 +644,65 @@
417
644
  num_values.push(Number(values[i]));
418
645
  }
419
646
  }
420
- var max = Math.max.apply(Math, num_values);
421
- var min = Math.min.apply(Math, num_values);
422
- if (options.chartRangeMin!=undefined && (options.chartRangeClip || options.chartRangeMin<min)) {
423
- min = options.chartRangeMin;
647
+ var max = Math.max.apply(Math, num_values),
648
+ min = Math.min.apply(Math, num_values);
649
+ if (options.get('chartRangeMin')!==undefined && (options.get('chartRangeClip') || options.get('chartRangeMin')<min)) {
650
+ min = options.get('chartRangeMin');
651
+ }
652
+ if (options.get('chartRangeMax')!==undefined && (options.get('chartRangeClip') || options.get('chartRangeMax')>max)) {
653
+ max = options.get('chartRangeMax');
424
654
  }
425
- if (options.chartRangeMax!=undefined && (options.chartRangeClip || options.chartRangeMax>max)) {
426
- max = options.chartRangeMax;
655
+ var zeroAxis = options.get('zeroAxis');
656
+ if (zeroAxis === undefined) {
657
+ zeroAxis = min<0;
427
658
  }
428
- if (options.zeroAxis == undefined) options.zeroAxis = min<0;
429
- var range = max-min == 0 ? 1 : max-min;
659
+ var range = max-min === 0 ? 1 : max-min;
430
660
 
431
- if ($.isArray(options.colorMap)) {
432
- var colorMapByIndex = options.colorMap;
433
- var colorMapByValue = null;
661
+ var colorMapByIndex, colorMapByValue;
662
+ if ($.isArray(options.get('colorMap'))) {
663
+ colorMapByIndex = options.get('colorMap');
664
+ colorMapByValue = null;
434
665
  } else {
435
- var colorMapByIndex = null;
436
- var colorMapByValue = options.colorMap;
666
+ colorMapByIndex = null;
667
+ colorMapByValue = options.get('colorMap');
437
668
  }
438
669
 
439
- var target = $(this).simpledraw(width, height, options.composite);
670
+ var target = $(this).simpledraw(width, height, options.get('composite'));
440
671
  if (target) {
441
- var canvas_width = target.pixel_width;
442
- var canvas_height = target.pixel_height;
443
- var yzero = min<0 && options.zeroAxis ? canvas_height-Math.round(canvas_height * (Math.abs(min)/range))-1 : canvas_height-1;
444
-
445
- for(var i=0, vlen=values.length; i<vlen; i++) {
446
- var x = i*(options.barWidth+options.barSpacing);
447
- var val = values[i];
672
+ var color,
673
+ canvas_height = target.pixel_height,
674
+ yzero = min<0 && zeroAxis ? canvas_height-Math.round(canvas_height * (Math.abs(min)/range))-1 : canvas_height-1;
675
+
676
+ for(i=values.length; i--;) {
677
+ var x = i*(options.get('barWidth')+options.get('barSpacing')),
678
+ y,
679
+ val = values[i];
448
680
  if (val===null) {
449
- if (options.nullColor) {
450
- color = options.nullColor;
451
- val = (options.zeroAxis && min<0) ? 0 : min;
452
- var height = 1;
453
- var y = (options.zeroAxis && min<0) ? yzero : canvas_height - height;
681
+ if (options.get('nullColor')) {
682
+ color = options.get('nullColor');
683
+ val = (zeroAxis && min<0) ? 0 : min;
684
+ height = 1;
685
+ y = (zeroAxis && min<0) ? yzero : canvas_height - height;
454
686
  } else {
455
687
  continue;
456
688
  }
457
689
  } else {
458
- if (val < min) val=min;
459
- if (val > max) val=max;
460
- var color = (val < 0) ? options.negBarColor : options.barColor;
461
- if (options.zeroAxis && min<0) {
462
- var height = Math.round(canvas_height*((Math.abs(val)/range)))+1;
463
- var y = (val < 0) ? yzero : yzero-height;
690
+ if (val < min) {
691
+ val=min;
692
+ }
693
+ if (val > max) {
694
+ val=max;
695
+ }
696
+ color = (val < 0) ? options.get('negBarColor') : options.get('barColor');
697
+ if (zeroAxis && min<0) {
698
+ height = Math.round(canvas_height*((Math.abs(val)/range)))+1;
699
+ y = (val < 0) ? yzero : yzero-height;
464
700
  } else {
465
- var height = Math.round(canvas_height*((val-min)/range))+1;
466
- var y = canvas_height-height;
701
+ height = Math.round(canvas_height*((val-min)/range))+1;
702
+ y = canvas_height-height;
467
703
  }
468
- if (val==0 && options.zeroColor!=undefined) {
469
- color = options.zeroColor;
704
+ if (val===0 && options.get('zeroColor')!==undefined) {
705
+ color = options.get('zeroColor');
470
706
  }
471
707
  if (colorMapByValue && colorMapByValue[val]) {
472
708
  color = colorMapByValue[val];
@@ -477,7 +713,7 @@
477
713
  continue;
478
714
  }
479
715
  }
480
- target.drawRect(x, y, options.barWidth-1, height-1, color, color);
716
+ target.drawRect(x, y, options.get('barWidth')-1, height-1, color, color);
481
717
  }
482
718
  } else {
483
719
  // Remove the tag contents if sparklines aren't supported
@@ -485,47 +721,43 @@
485
721
  }
486
722
  };
487
723
 
724
+
725
+ /**
726
+ * Tristate charts
727
+ */
488
728
  $.fn.sparkline.tristate = function(values, options, width, height) {
489
729
  values = $.map(values, Number);
490
- var options = $.extend({
491
- barWidth : 4,
492
- barSpacing : 1,
493
- posBarColor: '#6f6',
494
- negBarColor : '#f44',
495
- zeroBarColor : '#999',
496
- colorMap : {}
497
- }, options);
498
-
499
- var width = (values.length * options.barWidth) + ((values.length-1) * options.barSpacing);
730
+ width = (values.length * options.get('barWidth')) + ((values.length-1) * options.get('barSpacing'));
500
731
 
501
- if ($.isArray(options.colorMap)) {
502
- var colorMapByIndex = options.colorMap;
503
- var colorMapByValue = null;
732
+ var colorMapByIndex, colorMapByValue;
733
+ if ($.isArray(options.get('colorMap'))) {
734
+ colorMapByIndex = options.get('colorMap');
735
+ colorMapByValue = null;
504
736
  } else {
505
- var colorMapByIndex = null;
506
- var colorMapByValue = options.colorMap;
737
+ colorMapByIndex = null;
738
+ colorMapByValue = options.get('colorMap');
507
739
  }
508
740
 
509
- var target = $(this).simpledraw(width, height, options.composite);
741
+ var target = $(this).simpledraw(width, height, options.get('composite'));
510
742
  if (target) {
511
- var canvas_width = target.pixel_width;
512
- var canvas_height = target.pixel_height;
513
- var half_height = Math.round(canvas_height/2);
743
+ var canvas_height = target.pixel_height,
744
+ half_height = Math.round(canvas_height/2);
514
745
 
515
- for(var i=0, vlen=values.length; i<vlen; i++) {
516
- var x = i*(options.barWidth+options.barSpacing);
746
+ for(var i=values.length; i--;) {
747
+ var x = i*(options.get('barWidth')+options.get('barSpacing')),
748
+ y, color;
517
749
  if (values[i] < 0) {
518
- var y = half_height;
519
- var height = half_height-1;
520
- var color = options.negBarColor;
750
+ y = half_height;
751
+ height = half_height-1;
752
+ color = options.get('negBarColor');
521
753
  } else if (values[i] > 0) {
522
- var y = 0;
523
- var height = half_height-1;
524
- var color = options.posBarColor;
754
+ y = 0;
755
+ height = half_height-1;
756
+ color = options.get('posBarColor');
525
757
  } else {
526
- var y = half_height-1;
527
- var height = 2;
528
- var color = options.zeroBarColor;
758
+ y = half_height-1;
759
+ height = 2;
760
+ color = options.get('zeroBarColor');
529
761
  }
530
762
  if (colorMapByValue && colorMapByValue[values[i]]) {
531
763
  color = colorMapByValue[values[i]];
@@ -535,7 +767,7 @@
535
767
  if (color===null) {
536
768
  continue;
537
769
  }
538
- target.drawRect(x, y, options.barWidth-1, height-1, color, color);
770
+ target.drawRect(x, y, options.get('barWidth')-1, height-1, color, color);
539
771
  }
540
772
  } else {
541
773
  // Remove the tag contents if sparklines aren't supported
@@ -543,43 +775,41 @@
543
775
  }
544
776
  };
545
777
 
778
+
779
+ /**
780
+ * Discrete charts
781
+ */
546
782
  $.fn.sparkline.discrete = function(values, options, width, height) {
547
783
  values = $.map(values, Number);
548
- var options = $.extend({
549
- lineHeight: 'auto',
550
- thresholdColor: undefined,
551
- thresholdValue : 0,
552
- chartRangeMax: undefined,
553
- chartRangeMin: undefined,
554
- chartRangeClip: false
555
- }, options);
556
-
557
- width = options.width=='auto' ? values.length*2 : width;
784
+ width = options.get('width')=='auto' ? values.length*2 : width;
558
785
  var interval = Math.floor(width / values.length);
559
786
 
560
- var target = $(this).simpledraw(width, height, options.composite);
787
+ var target = $(this).simpledraw(width, height, options.get('composite'));
561
788
  if (target) {
562
- var canvas_width = target.pixel_width;
563
- var canvas_height = target.pixel_height;
564
- var line_height = options.lineHeight == 'auto' ? Math.round(canvas_height * 0.3) : options.lineHeight;
565
- var pheight = canvas_height - line_height;
566
- var min = Math.min.apply(Math, values);
567
- var max = Math.max.apply(Math, values);
568
- if (options.chartRangeMin!=undefined && (options.chartRangeClip || options.chartRangeMin<min)) {
569
- min = options.chartRangeMin;
789
+ var canvas_height = target.pixel_height,
790
+ line_height = options.get('lineHeight') == 'auto' ? Math.round(canvas_height * 0.3) : options.get('lineHeight'),
791
+ pheight = canvas_height - line_height,
792
+ min = Math.min.apply(Math, values),
793
+ max = Math.max.apply(Math, values);
794
+ if (options.get('chartRangeMin')!==undefined && (options.get('chartRangeClip') || options.get('chartRangeMin')<min)) {
795
+ min = options.get('chartRangeMin');
570
796
  }
571
- if (options.chartRangeMax!=undefined && (options.chartRangeClip || options.chartRangeMax>max)) {
572
- max = options.chartRangeMax;
797
+ if (options.get('chartRangeMax')!==undefined && (options.get('chartRangeClip') || options.get('chartRangeMax')>max)) {
798
+ max = options.get('chartRangeMax');
573
799
  }
574
800
  var range = max-min;
575
801
 
576
- for(var i=0, vlen=values.length; i<vlen; i++) {
802
+ for(var i=values.length; i--;) {
577
803
  var val = values[i];
578
- if (val < min) val=min;
579
- if (val > max) val=max;
580
- var x = (i*interval);
581
- var ytop = Math.round(pheight-pheight*((val-min)/range));
582
- target.drawLine(x, ytop, x, ytop+line_height, (options.thresholdColor && val < options.thresholdValue) ? options.thresholdColor : options.lineColor);
804
+ if (val < min) {
805
+ val=min;
806
+ }
807
+ if (val > max) {
808
+ val=max;
809
+ }
810
+ var x = (i*interval),
811
+ ytop = Math.round(pheight-pheight*((val-min)/range));
812
+ target.drawLine(x, ytop, x, ytop+line_height, (options.get('thresholdColor') && val < options.get('thresholdValue')) ? options.get('thresholdColor') : options.get('lineColor'));
583
813
  }
584
814
  } else {
585
815
  // Remove the tag contents if sparklines aren't supported
@@ -588,93 +818,96 @@
588
818
 
589
819
  };
590
820
 
821
+
822
+ /**
823
+ * Bullet charts
824
+ */
591
825
  $.fn.sparkline.bullet = function(values, options, width, height) {
592
826
  values = $.map(values, Number);
593
827
  // target, performance, range1, range2, range3
594
- var options = $.extend({
595
- targetColor : 'red',
596
- targetWidth : 3, // width of the target bar in pixels
597
- performanceColor : 'blue',
598
- rangeColors : ['#D3DAFE', '#A8B6FF', '#7F94FF' ],
599
- base : undefined // set this to a number to change the base start number
600
- }, options);
601
-
602
828
 
603
- width = options.width=='auto' ? '4.0em' : width;
829
+ width = options.get('width')=='auto' ? '4.0em' : width;
604
830
 
605
- var target = $(this).simpledraw(width, height, options.composite);
831
+ var target = $(this).simpledraw(width, height, options.get('composite'));
606
832
  if (target && values.length>1) {
607
- var canvas_width = target.pixel_width-Math.ceil(options.targetWidth/2);
608
- var canvas_height = target.pixel_height;
833
+ var canvas_width = target.pixel_width-Math.ceil(options.get('targetWidth')/2),
834
+ canvas_height = target.pixel_height,
835
+ min = Math.min.apply(Math, values),
836
+ max = Math.max.apply(Math, values);
609
837
 
610
- var min = Math.min.apply(Math, values);
611
- var max = Math.max.apply(Math, values);
612
- if (options.base == undefined) {
613
- var min = min < 0 ? min : 0;
838
+ if (options.get('base') === undefined) {
839
+ min = min < 0 ? min : 0;
614
840
  } else {
615
- min = options.base;
841
+ min = options.get('base');
616
842
  }
617
843
  var range = max-min;
618
844
 
619
845
  // draw range values
620
- for(i=2, vlen=values.length; i<vlen; i++) {
621
- var rangeval = parseInt(values[i]);
622
- var rangewidth = Math.round(canvas_width*((rangeval-min)/range));
623
- target.drawRect(0, 0, rangewidth-1, canvas_height-1, options.rangeColors[i-2], options.rangeColors[i-2]);
846
+ for(var i=2, vlen=values.length; i<vlen; i++) {
847
+ var rangeval = values[i],
848
+ rangewidth = Math.round(canvas_width*((rangeval-min)/range));
849
+ target.drawRect(0, 0, rangewidth-1, canvas_height-1, options.get('rangeColors')[i-2], options.get('rangeColors')[i-2]);
624
850
  }
625
851
 
626
852
  // draw the performance bar
627
- var perfval = parseInt(values[1]);
628
- var perfwidth = Math.round(canvas_width*((perfval-min)/range));
629
- target.drawRect(0, Math.round(canvas_height*0.3), perfwidth-1, Math.round(canvas_height*0.4)-1, options.performanceColor, options.performanceColor);
630
-
631
- // draw the target linej
632
- var targetval = parseInt(values[0]);
633
- var x = Math.round(canvas_width*((targetval-min)/range)-(options.targetWidth/2));
634
- var targettop = Math.round(canvas_height*0.10);
635
- var targetheight = canvas_height-(targettop*2);
636
- target.drawRect(x, targettop, options.targetWidth-1, targetheight-1, options.targetColor, options.targetColor);
853
+ var perfval = values[1],
854
+ perfwidth = Math.round(canvas_width*((perfval-min)/range));
855
+ target.drawRect(0, Math.round(canvas_height*0.3), perfwidth-1, Math.round(canvas_height*0.4)-1, options.get('performanceColor'), options.get('performanceColor'));
856
+
857
+ // draw the target line
858
+ var targetval = values[0],
859
+ x = Math.round(canvas_width*((targetval-min)/range)-(options.get('targetWidth')/2)),
860
+ targettop = Math.round(canvas_height*0.10),
861
+ targetheight = canvas_height-(targettop*2);
862
+ target.drawRect(x, targettop, options.get('targetWidth')-1, targetheight-1, options.get('targetColor'), options.get('targetColor'));
637
863
  } else {
638
864
  // Remove the tag contents if sparklines aren't supported
639
865
  this.innerHTML = '';
640
866
  }
641
867
  };
642
868
 
869
+
870
+ /**
871
+ * Pie charts
872
+ */
643
873
  $.fn.sparkline.pie = function(values, options, width, height) {
644
874
  values = $.map(values, Number);
645
- var options = $.extend({
646
- sliceColors : ['#f00', '#0f0', '#00f']
647
- }, options);
875
+ width = options.get('width')=='auto' ? height : width;
648
876
 
649
- width = options.width=='auto' ? height : width;
650
-
651
- var target = $(this).simpledraw(width, height, options.composite);
877
+ var target = $(this).simpledraw(width, height, options.get('composite'));
652
878
  if (target && values.length>1) {
653
- var canvas_width = target.pixel_width;
654
- var canvas_height = target.pixel_height;
655
-
656
- var radius = Math.floor(Math.min(canvas_width, canvas_height)/2);
657
- var total = 0;
658
- for(var i=0, vlen=values.length; i<vlen; i++)
879
+ var canvas_width = target.pixel_width,
880
+ canvas_height = target.pixel_height,
881
+ radius = Math.floor(Math.min(canvas_width, canvas_height)/2),
882
+ total = 0,
883
+ next = 0,
884
+ circle = 2*Math.PI;
885
+
886
+ for(var i=values.length; i--;) {
659
887
  total += values[i];
660
- var next = 0;
661
- if (options.offset) {
662
- next += (2*Math.PI)*(options.offset/360);
663
888
  }
664
- var circle = 2*Math.PI;
665
- for(var i=0, vlen=values.length; i<vlen; i++) {
889
+
890
+ if (options.get('offset')) {
891
+ next += (2*Math.PI)*(options.get('offset')/360);
892
+ }
893
+ var vlen = values.length;
894
+ for(i=0; i<vlen; i++) {
666
895
  var start = next;
667
896
  var end = next;
668
897
  if (total > 0) { // avoid divide by zero
669
898
  end = next + (circle*(values[i]/total));
670
899
  }
671
- target.drawPieSlice(radius, radius, radius, start, end, undefined, options.sliceColors[i % options.sliceColors.length]);
900
+ target.drawPieSlice(radius, radius, radius, start, end, undefined, options.get('sliceColors')[i % options.get('sliceColors').length]);
672
901
  next = end;
673
902
  }
674
903
  }
675
904
  };
676
905
 
677
- function quartile(values, q) {
906
+
907
+ /**
908
+ * Box plots
909
+ */
910
+ var quartile = function(values, q) {
678
911
  if (q==2) {
679
912
  var vl2 = Math.floor(values.length/2);
680
913
  return values.length % 2 ? values[vl2] : (values[vl2]+values[vl2+1])/2;
@@ -686,69 +919,59 @@
686
919
 
687
920
  $.fn.sparkline.box = function(values, options, width, height) {
688
921
  values = $.map(values, Number);
689
- var options = $.extend({
690
- raw: false,
691
- boxLineColor: 'black',
692
- boxFillColor: '#cdf',
693
- whiskerColor: 'black',
694
- outlierLineColor: '#333',
695
- outlierFillColor: 'white',
696
- medianColor: 'red',
697
- showOutliers: true,
698
- outlierIQR: 1.5,
699
- spotRadius: 1.5,
700
- target: undefined,
701
- targetColor: '#4a2',
702
- chartRangeMax: undefined,
703
- chartRangeMin: undefined
704
- }, options);
922
+ width = options.get('width')=='auto' ? '4.0em' : width;
705
923
 
706
- width = options.width=='auto' ? '4.0em' : width;
924
+ var minvalue = options.get('chartRangeMin')===undefined ? Math.min.apply(Math, values) : options.get('chartRangeMin'),
925
+ maxvalue = options.get('chartRangeMax')===undefined ? Math.max.apply(Math, values) : options.get('chartRangeMax'),
926
+ target = $(this).simpledraw(width, height, options.get('composite')),
927
+ vlen = values.length,
928
+ lwhisker, loutlier, q1, q2, q3, rwhisker, routlier;
707
929
 
708
- minvalue = options.chartRangeMin==undefined ? Math.min.apply(Math, values) : options.chartRangeMin;
709
- maxvalue = options.chartRangeMax==undefined ? Math.max.apply(Math, values) : options.chartRangeMax;
710
- var target = $(this).simpledraw(width, height, options.composite);
711
930
  if (target && values.length>1) {
712
- var canvas_width = target.pixel_width;
713
- var canvas_height = target.pixel_height;
714
- if (options.raw) {
715
- if (options.showOutliers && values.length>5) {
716
- var loutlier=values[0], lwhisker=values[1], q1=values[2], q2=values[3], q3=values[4], rwhisker=values[5], routlier=values[6];
931
+ var canvas_width = target.pixel_width,
932
+ canvas_height = target.pixel_height;
933
+ if (options.get('raw')) {
934
+ if (options.get('showOutliers') && values.length>5) {
935
+ loutlier=values[0]; lwhisker=values[1]; q1=values[2]; q2=values[3]; q3=values[4]; rwhisker=values[5]; routlier=values[6];
717
936
  } else {
718
- var lwhisker=values[0], q1=values[1], q2=values[2], q3=values[3], rwhisker=values[4];
937
+ lwhisker=values[0]; q1=values[1]; q2=values[2]; q3=values[3]; rwhisker=values[4];
719
938
  }
720
939
  } else {
721
940
  values.sort(function(a, b) { return a-b; });
722
- var q1 = quartile(values, 1);
723
- var q2 = quartile(values, 2);
724
- var q3 = quartile(values, 3);
941
+ q1 = quartile(values, 1);
942
+ q2 = quartile(values, 2);
943
+ q3 = quartile(values, 3);
725
944
  var iqr = q3-q1;
726
- if (options.showOutliers) {
727
- var lwhisker=undefined, rwhisker=undefined;
728
- for(var i=0, vlen=values.length; i<vlen; i++) {
729
- if (lwhisker==undefined && values[i] > q1-(iqr*options.outlierIQR))
945
+ if (options.get('showOutliers')) {
946
+ lwhisker=undefined; rwhisker=undefined;
947
+ for(var i=0; i<vlen; i++) {
948
+ if (lwhisker===undefined && values[i] > q1-(iqr*options.get('outlierIQR'))) {
730
949
  lwhisker = values[i];
731
- if (values[i] < q3+(iqr*options.outlierIQR))
950
+ }
951
+ if (values[i] < q3+(iqr*options.get('outlierIQR'))) {
732
952
  rwhisker = values[i];
953
+ }
733
954
  }
734
- var loutlier = values[0];
735
- var routlier = values[values.length-1];
955
+ loutlier = values[0];
956
+ routlier = values[vlen-1];
736
957
  } else {
737
- var lwhisker = values[0];
738
- var rwhisker = values[values.length-1];
958
+ lwhisker = values[0];
959
+ rwhisker = values[vlen-1];
739
960
  }
740
961
  }
741
962
 
742
- var unitsize = canvas_width / (maxvalue-minvalue+1);
743
- var canvas_left = 0;
744
- if (options.showOutliers) {
745
- canvas_left = Math.ceil(options.spotRadius);
746
- canvas_width -= 2*Math.ceil(options.spotRadius);
747
- var unitsize = canvas_width / (maxvalue-minvalue+1);
748
- if (loutlier < lwhisker)
749
- target.drawCircle((loutlier-minvalue)*unitsize+canvas_left, canvas_height/2, options.spotRadius, options.outlierLineColor, options.outlierFillColor);
750
- if (routlier > rwhisker)
751
- target.drawCircle((routlier-minvalue)*unitsize+canvas_left, canvas_height/2, options.spotRadius, options.outlierLineColor, options.outlierFillColor);
963
+ var unitsize = canvas_width / (maxvalue-minvalue+1),
964
+ canvas_left = 0;
965
+ if (options.get('showOutliers')) {
966
+ canvas_left = Math.ceil(options.get('spotRadius'));
967
+ canvas_width -= 2*Math.ceil(options.get('spotRadius'));
968
+ unitsize = canvas_width / (maxvalue-minvalue+1);
969
+ if (loutlier < lwhisker) {
970
+ target.drawCircle((loutlier-minvalue)*unitsize+canvas_left, canvas_height/2, options.get('spotRadius'), options.get('outlierLineColor'), options.get('outlierFillColor'));
971
+ }
972
+ if (routlier > rwhisker) {
973
+ target.drawCircle((routlier-minvalue)*unitsize+canvas_left, canvas_height/2, options.get('spotRadius'), options.get('outlierLineColor'), options.get('outlierFillColor'));
974
+ }
752
975
  }
753
976
 
754
977
  // box
@@ -757,54 +980,54 @@
757
980
  Math.round(canvas_height*0.1),
758
981
  Math.round((q3-q1)*unitsize),
759
982
  Math.round(canvas_height*0.8),
760
- options.boxLineColor,
761
- options.boxFillColor);
983
+ options.get('boxLineColor'),
984
+ options.get('boxFillColor'));
762
985
  // left whisker
763
986
  target.drawLine(
764
987
  Math.round((lwhisker-minvalue)*unitsize+canvas_left),
765
988
  Math.round(canvas_height/2),
766
989
  Math.round((q1-minvalue)*unitsize+canvas_left),
767
990
  Math.round(canvas_height/2),
768
- options.lineColor);
991
+ options.get('lineColor'));
769
992
  target.drawLine(
770
993
  Math.round((lwhisker-minvalue)*unitsize+canvas_left),
771
994
  Math.round(canvas_height/4),
772
995
  Math.round((lwhisker-minvalue)*unitsize+canvas_left),
773
996
  Math.round(canvas_height-canvas_height/4),
774
- options.whiskerColor);
997
+ options.get('whiskerColor'));
775
998
  // right whisker
776
999
  target.drawLine(Math.round((rwhisker-minvalue)*unitsize+canvas_left),
777
1000
  Math.round(canvas_height/2),
778
1001
  Math.round((q3-minvalue)*unitsize+canvas_left),
779
1002
  Math.round(canvas_height/2),
780
- options.lineColor);
1003
+ options.get('lineColor'));
781
1004
  target.drawLine(
782
1005
  Math.round((rwhisker-minvalue)*unitsize+canvas_left),
783
1006
  Math.round(canvas_height/4),
784
1007
  Math.round((rwhisker-minvalue)*unitsize+canvas_left),
785
1008
  Math.round(canvas_height-canvas_height/4),
786
- options.whiskerColor);
1009
+ options.get('whiskerColor'));
787
1010
  // median line
788
1011
  target.drawLine(
789
1012
  Math.round((q2-minvalue)*unitsize+canvas_left),
790
1013
  Math.round(canvas_height*0.1),
791
1014
  Math.round((q2-minvalue)*unitsize+canvas_left),
792
1015
  Math.round(canvas_height*0.9),
793
- options.medianColor);
794
- if (options.target) {
795
- var size = Math.ceil(options.spotRadius);
1016
+ options.get('medianColor'));
1017
+ if (options.get('target')) {
1018
+ var size = Math.ceil(options.get('spotRadius'));
796
1019
  target.drawLine(
797
- Math.round((options.target-minvalue)*unitsize+canvas_left),
1020
+ Math.round((options.get('target')-minvalue)*unitsize+canvas_left),
798
1021
  Math.round((canvas_height/2)-size),
799
- Math.round((options.target-minvalue)*unitsize+canvas_left),
1022
+ Math.round((options.get('target')-minvalue)*unitsize+canvas_left),
800
1023
  Math.round((canvas_height/2)+size),
801
- options.targetColor);
1024
+ options.get('targetColor'));
802
1025
  target.drawLine(
803
- Math.round((options.target-minvalue)*unitsize+canvas_left-size),
1026
+ Math.round((options.get('target')-minvalue)*unitsize+canvas_left-size),
804
1027
  Math.round(canvas_height/2),
805
- Math.round((options.target-minvalue)*unitsize+canvas_left+size),
1028
+ Math.round((options.get('target')-minvalue)*unitsize+canvas_left+size),
806
1029
  Math.round(canvas_height/2),
807
- options.targetColor);
1030
+ options.get('targetColor'));
808
1031
  }
809
1032
  } else {
810
1033
  // Remove the tag contents if sparklines aren't supported
@@ -813,39 +1036,30 @@
813
1036
  };
814
1037
 
815
1038
 
816
- // IE doesn't provide an indexOf method for arrays :-(
817
- if (!Array.prototype.indexOf) {
818
- Array.prototype.indexOf = function(entry) {
819
- for(var i=0, vlen=this.length; i<vlen; i++) {
820
- if (this[i] == entry)
821
- return i;
822
- }
823
- return -1;
824
- }
825
- }
826
-
827
1039
  // Setup a very simple "virtual canvas" to make drawing the few shapes we need easier
828
1040
  // This is accessible as $(foo).simpledraw()
829
1041
 
830
- if ($.browser.msie && !document.namespaces['v']) {
1042
+ if ($.browser.msie && !document.namespaces.v) {
831
1043
  document.namespaces.add('v', 'urn:schemas-microsoft-com:vml', '#default#VML');
832
1044
  }
833
1045
 
834
- if ($.browser.hasCanvas == undefined) {
1046
+ if ($.browser.hasCanvas === undefined) {
835
1047
  var t = document.createElement('canvas');
836
- $.browser.hasCanvas = t.getContext!=undefined;
1048
+ $.browser.hasCanvas = t.getContext!==undefined;
837
1049
  }
838
1050
 
839
- var vcanvas_base = function(width, height, target) {
1051
+ VCanvas_base = function(width, height, target) {
840
1052
  };
841
1053
 
842
- vcanvas_base.prototype = {
1054
+ VCanvas_base.prototype = {
843
1055
  init : function(width, height, target) {
844
1056
  this.width = width;
845
1057
  this.height = height;
846
1058
  this.target = target;
847
- if (target[0]) target=target[0];
848
- target.vcanvas = this;
1059
+ if (target[0]) {
1060
+ target=target[0];
1061
+ }
1062
+ target.VCanvas = this;
849
1063
  },
850
1064
 
851
1065
  drawShape : function(path, lineColor, fillColor, lineWidth) {
@@ -877,18 +1091,20 @@
877
1091
  }
878
1092
  };
879
1093
 
880
- var vcanvas_canvas = function(width, height, target) {
1094
+ VCanvas_canvas = function(width, height, target) {
881
1095
  return this.init(width, height, target);
882
1096
  };
883
1097
 
884
- vcanvas_canvas.prototype = $.extend(new vcanvas_base, {
885
- _super : vcanvas_base.prototype,
1098
+ VCanvas_canvas.prototype = $.extend(new VCanvas_base(), {
1099
+ _super : VCanvas_base.prototype,
886
1100
 
887
1101
  init : function(width, height, target) {
888
1102
  this._super.init(width, height, target);
889
1103
  this.canvas = document.createElement('canvas');
890
- if (target[0]) target=target[0];
891
- target.vcanvas = this;
1104
+ if (target[0]) {
1105
+ target=target[0];
1106
+ }
1107
+ target.VCanvas = this;
892
1108
  $(this.canvas).css({ display:'inline-block', width:width, height:height, verticalAlign:'top' });
893
1109
  this._insert(this.canvas, target);
894
1110
  this.pixel_height = $(this.canvas).height();
@@ -900,11 +1116,13 @@
900
1116
 
901
1117
  _getContext : function(lineColor, fillColor, lineWidth) {
902
1118
  var context = this.canvas.getContext('2d');
903
- if (lineColor != undefined)
1119
+ if (lineColor !== undefined) {
904
1120
  context.strokeStyle = lineColor;
905
- context.lineWidth = lineWidth==undefined ? 1 : lineWidth;
906
- if (fillColor != undefined)
1121
+ }
1122
+ context.lineWidth = lineWidth===undefined ? 1 : lineWidth;
1123
+ if (fillColor !== undefined) {
907
1124
  context.fillStyle = fillColor;
1125
+ }
908
1126
  return context;
909
1127
  },
910
1128
 
@@ -915,10 +1133,10 @@
915
1133
  for(var i=1, plen=path.length; i<plen; i++) {
916
1134
  context.lineTo(path[i][0]+0.5, path[i][1]+0.5); // the 0.5 offset gives us crisp pixel-width lines
917
1135
  }
918
- if (lineColor != undefined) {
1136
+ if (lineColor !== undefined) {
919
1137
  context.stroke();
920
1138
  }
921
- if (fillColor != undefined) {
1139
+ if (fillColor !== undefined) {
922
1140
  context.fill();
923
1141
  }
924
1142
  },
@@ -927,10 +1145,10 @@
927
1145
  var context = this._getContext(lineColor, fillColor);
928
1146
  context.beginPath();
929
1147
  context.arc(x, y, radius, 0, 2*Math.PI, false);
930
- if (lineColor != undefined) {
1148
+ if (lineColor !== undefined) {
931
1149
  context.stroke();
932
1150
  }
933
- if (fillColor != undefined) {
1151
+ if (fillColor !== undefined) {
934
1152
  context.fill();
935
1153
  }
936
1154
  },
@@ -942,7 +1160,7 @@
942
1160
  context.arc(x, y, radius, startAngle, endAngle, false);
943
1161
  context.lineTo(x, y);
944
1162
  context.closePath();
945
- if (lineColor != undefined) {
1163
+ if (lineColor !== undefined) {
946
1164
  context.stroke();
947
1165
  }
948
1166
  if (fillColor) {
@@ -956,26 +1174,28 @@
956
1174
 
957
1175
  });
958
1176
 
959
- var vcanvas_vml = function(width, height, target) {
1177
+ VCanvas_vml = function(width, height, target) {
960
1178
  return this.init(width, height, target);
961
1179
  };
962
1180
 
963
- vcanvas_vml.prototype = $.extend(new vcanvas_base, {
964
- _super : vcanvas_base.prototype,
1181
+ VCanvas_vml.prototype = $.extend(new VCanvas_base(), {
1182
+ _super : VCanvas_base.prototype,
965
1183
 
966
1184
  init : function(width, height, target) {
967
1185
  this._super.init(width, height, target);
968
- if (target[0]) target=target[0];
969
- target.vcanvas = this;
1186
+ if (target[0]) {
1187
+ target=target[0];
1188
+ }
1189
+ target.VCanvas = this;
970
1190
  this.canvas = document.createElement('span');
971
1191
  $(this.canvas).css({ display:'inline-block', position: 'relative', overflow:'hidden', width:width, height:height, margin:'0px', padding:'0px', verticalAlign: 'top'});
972
1192
  this._insert(this.canvas, target);
973
1193
  this.pixel_height = $(this.canvas).height();
974
1194
  this.pixel_width = $(this.canvas).width();
975
1195
  this.canvas.width = this.pixel_width;
976
- this.canvas.height = this.pixel_height;;
977
- var groupel = '<v:group coordorigin="0 0" coordsize="'+this.pixel_width+' '+this.pixel_height+'"'
978
- +' style="position:absolute;top:0;left:0;width:'+this.pixel_width+'px;height='+this.pixel_height+'px;"></v:group>';
1196
+ this.canvas.height = this.pixel_height;
1197
+ var groupel = '<v:group coordorigin="0 0" coordsize="'+this.pixel_width+' '+this.pixel_height+'"' +
1198
+ ' style="position:absolute;top:0;left:0;width:'+this.pixel_width+'px;height='+this.pixel_height+'px;"></v:group>';
979
1199
  this.canvas.insertAdjacentHTML('beforeEnd', groupel);
980
1200
  this.group = $(this.canvas).children()[0];
981
1201
  },
@@ -986,28 +1206,28 @@
986
1206
  vpath[i] = ''+(path[i][0])+','+(path[i][1]);
987
1207
  }
988
1208
  var initial = vpath.splice(0,1);
989
- lineWidth = lineWidth == undefined ? 1 : lineWidth;
990
- var stroke = lineColor == undefined ? ' stroked="false" ' : ' strokeWeight="'+lineWidth+'" strokeColor="'+lineColor+'" ';
991
- var fill = fillColor == undefined ? ' filled="false"' : ' fillColor="'+fillColor+'" filled="true" ';
1209
+ lineWidth = lineWidth === undefined ? 1 : lineWidth;
1210
+ var stroke = lineColor === undefined ? ' stroked="false" ' : ' strokeWeight="'+lineWidth+'" strokeColor="'+lineColor+'" ';
1211
+ var fill = fillColor === undefined ? ' filled="false"' : ' fillColor="'+fillColor+'" filled="true" ';
992
1212
  var closed = vpath[0] == vpath[vpath.length-1] ? 'x ' : '';
993
- var vel = '<v:shape coordorigin="0 0" coordsize="'+this.pixel_width+' '+this.pixel_height+'" '
994
- + stroke
995
- + fill
996
- +' style="position:absolute;left:0px;top:0px;height:'+this.pixel_height+'px;width:'+this.pixel_width+'px;padding:0px;margin:0px;" '
997
- +' path="m '+initial+' l '+vpath.join(', ')+' '+closed+'e">'
998
- +' </v:shape>';
1213
+ var vel = '<v:shape coordorigin="0 0" coordsize="'+this.pixel_width+' '+this.pixel_height+'" ' +
1214
+ stroke +
1215
+ fill +
1216
+ ' style="position:absolute;left:0px;top:0px;height:'+this.pixel_height+'px;width:'+this.pixel_width+'px;padding:0px;margin:0px;" ' +
1217
+ ' path="m '+initial+' l '+vpath.join(', ')+' '+closed+'e">' +
1218
+ ' </v:shape>';
999
1219
  this.group.insertAdjacentHTML('beforeEnd', vel);
1000
1220
  },
1001
1221
 
1002
1222
  drawCircle : function(x, y, radius, lineColor, fillColor) {
1003
1223
  x -= radius+1;
1004
1224
  y -= radius+1;
1005
- var stroke = lineColor == undefined ? ' stroked="false" ' : ' strokeWeight="1" strokeColor="'+lineColor+'" ';
1006
- var fill = fillColor == undefined ? ' filled="false"' : ' fillColor="'+fillColor+'" filled="true" ';
1007
- var vel = '<v:oval '
1008
- + stroke
1009
- + fill
1010
- +' style="position:absolute;top:'+y+'px; left:'+x+'px; width:'+(radius*2)+'px; height:'+(radius*2)+'px"></v:oval>';
1225
+ var stroke = lineColor === undefined ? ' stroked="false" ' : ' strokeWeight="1" strokeColor="'+lineColor+'" ';
1226
+ var fill = fillColor === undefined ? ' filled="false"' : ' fillColor="'+fillColor+'" filled="true" ';
1227
+ var vel = '<v:oval ' +
1228
+ stroke +
1229
+ fill +
1230
+ ' style="position:absolute;top:'+y+'px; left:'+x+'px; width:'+(radius*2)+'px; height:'+(radius*2)+'px"></v:oval>';
1011
1231
  this.group.insertAdjacentHTML('beforeEnd', vel);
1012
1232
 
1013
1233
  },
@@ -1027,18 +1247,19 @@
1027
1247
  var endy = y + Math.round(Math.sin(endAngle) * radius);
1028
1248
 
1029
1249
  // Prevent very small slices from being mistaken as a whole pie
1030
- if (startx==endx && starty==endy && (endAngle-startAngle) < Math.PI)
1250
+ if (startx==endx && starty==endy && (endAngle-startAngle) < Math.PI) {
1031
1251
  return;
1252
+ }
1032
1253
 
1033
1254
  var vpath = [ x-radius, y-radius, x+radius, y+radius, startx, starty, endx, endy ];
1034
- var stroke = lineColor == undefined ? ' stroked="false" ' : ' strokeWeight="1" strokeColor="'+lineColor+'" ';
1035
- var fill = fillColor == undefined ? ' filled="false"' : ' fillColor="'+fillColor+'" filled="true" ';
1036
- var vel = '<v:shape coordorigin="0 0" coordsize="'+this.pixel_width+' '+this.pixel_height+'" '
1037
- + stroke
1038
- + fill
1039
- +' style="position:absolute;left:0px;top:0px;height:'+this.pixel_height+'px;width:'+this.pixel_width+'px;padding:0px;margin:0px;" '
1040
- +' path="m '+x+','+y+' wa '+vpath.join(', ')+' x e">'
1041
- +' </v:shape>';
1255
+ var stroke = lineColor === undefined ? ' stroked="false" ' : ' strokeWeight="1" strokeColor="'+lineColor+'" ';
1256
+ var fill = fillColor === undefined ? ' filled="false"' : ' fillColor="'+fillColor+'" filled="true" ';
1257
+ var vel = '<v:shape coordorigin="0 0" coordsize="'+this.pixel_width+' '+this.pixel_height+'" ' +
1258
+ stroke +
1259
+ fill +
1260
+ ' style="position:absolute;left:0px;top:0px;height:'+this.pixel_height+'px;width:'+this.pixel_width+'px;padding:0px;margin:0px;" ' +
1261
+ ' path="m '+x+','+y+' wa '+vpath.join(', ')+' x e">' +
1262
+ ' </v:shape>';
1042
1263
  this.group.insertAdjacentHTML('beforeEnd', vel);
1043
1264
  },
1044
1265