rubyneat_dashboard 0.4.0.alpha.6 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (861) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-version +1 -1
  3. data/.semver +2 -2
  4. data/.travis.yml +8 -0
  5. data/Gemfile +22 -7
  6. data/Gemfile.lock +156 -79
  7. data/README.rdoc +2 -0
  8. data/Rakefile +4 -4
  9. data/app/js/dashboard/directives/population_brigade.coffee +33 -15
  10. data/app/js/dashboard/directives/population_window.coffee +30 -2
  11. data/app/js/dashboard/services/population_drilldown_service.coffee +18 -0
  12. data/bower.json +33 -0
  13. data/bower_components/angular-animate/.bower.json +6 -5
  14. data/bower_components/angular-animate/README.md +28 -5
  15. data/bower_components/angular-animate/angular-animate.js +15 -2
  16. data/bower_components/angular-animate/angular-animate.min.js +23 -23
  17. data/bower_components/angular-animate/angular-animate.min.js.map +2 -2
  18. data/bower_components/angular-animate/bower.json +3 -2
  19. data/bower_components/angular-animate/package.json +26 -0
  20. data/bower_components/angular-pusher/.bower.json +4 -4
  21. data/bower_components/angular-pusher/README.md +3 -3
  22. data/bower_components/angular-pusher/angular-pusher.js +176 -26
  23. data/bower_components/angular-pusher/angular-pusher.min.js +1 -1
  24. data/bower_components/angular-pusher/bower.json +1 -1
  25. data/bower_components/angular-pusher/package.json +3 -3
  26. data/bower_components/angular-resource/.bower.json +6 -5
  27. data/bower_components/angular-resource/README.md +27 -4
  28. data/bower_components/angular-resource/angular-resource.js +11 -3
  29. data/bower_components/angular-resource/angular-resource.min.js +1 -1
  30. data/bower_components/angular-resource/angular-resource.min.js.map +1 -1
  31. data/bower_components/angular-resource/bower.json +3 -2
  32. data/bower_components/angular-resource/package.json +26 -0
  33. data/bower_components/angular-route/.bower.json +6 -5
  34. data/bower_components/angular-route/README.md +27 -4
  35. data/bower_components/angular-route/angular-route.js +2 -6
  36. data/bower_components/angular-route/angular-route.min.js +3 -3
  37. data/bower_components/angular-route/angular-route.min.js.map +1 -1
  38. data/bower_components/angular-route/bower.json +3 -2
  39. data/bower_components/angular-route/package.json +26 -0
  40. data/bower_components/angular-sanitize/.bower.json +6 -5
  41. data/bower_components/angular-sanitize/README.md +27 -4
  42. data/bower_components/angular-sanitize/angular-sanitize.js +12 -5
  43. data/bower_components/angular-sanitize/angular-sanitize.min.js +10 -10
  44. data/bower_components/angular-sanitize/angular-sanitize.min.js.map +1 -1
  45. data/bower_components/angular-sanitize/bower.json +3 -2
  46. data/bower_components/angular-sanitize/package.json +26 -0
  47. data/bower_components/angular-socket-io/.bower.json +7 -8
  48. data/bower_components/angular-socket-io/.travis.yml +4 -1
  49. data/bower_components/angular-socket-io/README.md +8 -1
  50. data/bower_components/angular-socket-io/bower-install.sh +2 -0
  51. data/bower_components/angular-socket-io/bower.json +3 -3
  52. data/bower_components/angular-socket-io/mock/socket-io.js +2 -1
  53. data/bower_components/angular-socket-io/package.json +2 -4
  54. data/bower_components/angular-socket-io/socket.js +7 -6
  55. data/bower_components/angular-socket-io/socket.min.js +2 -2
  56. data/bower_components/angular-socket-io/socket.min.js.map +1 -1
  57. data/bower_components/angular-socket-io/socket.spec.js +25 -0
  58. data/bower_components/angular/.bower.json +8 -6
  59. data/bower_components/angular/README.md +21 -5
  60. data/bower_components/angular/angular-csp.css +5 -8
  61. data/bower_components/angular/angular.js +17855 -11374
  62. data/bower_components/angular/angular.min.js +286 -210
  63. data/bower_components/angular/angular.min.js.gzip +0 -0
  64. data/bower_components/angular/angular.min.js.map +3 -3
  65. data/bower_components/angular/bower.json +2 -1
  66. data/bower_components/angular/index.js +2 -0
  67. data/bower_components/angular/package.json +25 -0
  68. data/bower_components/animate.css/.bower.json +12 -4
  69. data/bower_components/animate.css/Gruntfile.js +1 -1
  70. data/bower_components/animate.css/animate-config.json +18 -4
  71. data/bower_components/animate.css/animate.css +405 -258
  72. data/bower_components/animate.css/animate.min.css +1 -6
  73. data/bower_components/animate.css/bower.json +10 -2
  74. data/bower_components/animate.css/package.json +5 -1
  75. data/bower_components/animate.css/source/_base.css +11 -1
  76. data/bower_components/animate.css/source/attention_seekers/bounce.css +3 -3
  77. data/bower_components/animate.css/source/attention_seekers/jello.css +36 -0
  78. data/bower_components/animate.css/source/bouncing_entrances/bounceIn.css +1 -2
  79. data/bower_components/animate.css/source/bouncing_entrances/bounceInDown.css +1 -1
  80. data/bower_components/animate.css/source/bouncing_entrances/bounceInLeft.css +1 -1
  81. data/bower_components/animate.css/source/bouncing_entrances/bounceInRight.css +1 -1
  82. data/bower_components/animate.css/source/bouncing_entrances/bounceInUp.css +1 -1
  83. data/bower_components/animate.css/source/bouncing_exits/bounceOut.css +0 -1
  84. data/bower_components/animate.css/source/flippers/flipInX.css +2 -2
  85. data/bower_components/animate.css/source/flippers/flipInY.css +2 -2
  86. data/bower_components/animate.css/source/flippers/flipOutX.css +0 -1
  87. data/bower_components/animate.css/source/flippers/flipOutY.css +0 -1
  88. data/bower_components/animate.css/source/rotating_exits/rotateOutDownLeft.css +1 -1
  89. data/bower_components/animate.css/source/sliding_entrances/slideInDown.css +14 -0
  90. data/bower_components/animate.css/source/sliding_entrances/slideInLeft.css +14 -0
  91. data/bower_components/animate.css/source/sliding_entrances/slideInRight.css +14 -0
  92. data/bower_components/animate.css/source/sliding_entrances/slideInUp.css +14 -0
  93. data/bower_components/animate.css/source/sliding_exits/slideOutDown.css +14 -0
  94. data/bower_components/animate.css/source/sliding_exits/slideOutLeft.css +14 -0
  95. data/bower_components/animate.css/source/sliding_exits/slideOutRight.css +14 -0
  96. data/bower_components/animate.css/source/sliding_exits/slideOutUp.css +14 -0
  97. data/bower_components/d3/.bower.json +6 -4
  98. data/bower_components/d3/.gitattributes +5 -0
  99. data/bower_components/d3/CONTRIBUTING.md +3 -1
  100. data/bower_components/d3/LICENSE +1 -1
  101. data/bower_components/d3/README.md +1 -1
  102. data/bower_components/d3/bower.json +0 -0
  103. data/bower_components/d3/d3.js +0 -0
  104. data/bower_components/d3/d3.min.js +0 -0
  105. data/bower_components/d3/package.js +0 -0
  106. data/bower_components/fastclick/.bower.json +4 -4
  107. data/bower_components/fastclick/README.md +15 -8
  108. data/bower_components/fastclick/bower.json +0 -1
  109. data/bower_components/fastclick/lib/fastclick.js +669 -649
  110. data/bower_components/jquery-placeholder/.bower.json +20 -4
  111. data/bower_components/jquery-placeholder/bower.json +17 -1
  112. data/bower_components/jquery-placeholder/jquery.placeholder.js +18 -11
  113. data/bower_components/jquery-ui/.bower.json +6 -6
  114. data/bower_components/jquery-ui/.gitignore +1 -0
  115. data/bower_components/jquery-ui/AUTHORS.txt +29 -5
  116. data/bower_components/jquery-ui/{MIT-LICENSE.txt → LICENSE.txt} +23 -5
  117. data/bower_components/jquery-ui/bower.json +3 -1
  118. data/bower_components/jquery-ui/component.json +1 -1
  119. data/bower_components/jquery-ui/composer.json +6 -1
  120. data/bower_components/jquery-ui/jquery-ui.js +12497 -12030
  121. data/bower_components/jquery-ui/jquery-ui.min.js +11 -11
  122. data/bower_components/jquery-ui/package.json +8 -3
  123. data/bower_components/jquery-ui/themes/base/accordion.css +2 -2
  124. data/bower_components/jquery-ui/themes/base/all.css +2 -2
  125. data/bower_components/jquery-ui/themes/base/autocomplete.css +2 -2
  126. data/bower_components/jquery-ui/themes/base/base.css +2 -2
  127. data/bower_components/jquery-ui/themes/base/button.css +2 -2
  128. data/bower_components/jquery-ui/themes/base/core.css +3 -3
  129. data/bower_components/jquery-ui/themes/base/datepicker.css +3 -3
  130. data/bower_components/jquery-ui/themes/base/dialog.css +2 -2
  131. data/bower_components/jquery-ui/themes/base/draggable.css +2 -2
  132. data/bower_components/jquery-ui/themes/base/images/ui-icons_444444_256x240.png +0 -0
  133. data/bower_components/jquery-ui/themes/base/images/ui-icons_555555_256x240.png +0 -0
  134. data/bower_components/jquery-ui/themes/base/images/ui-icons_777620_256x240.png +0 -0
  135. data/bower_components/jquery-ui/themes/base/images/ui-icons_777777_256x240.png +0 -0
  136. data/bower_components/jquery-ui/themes/base/images/ui-icons_cc0000_256x240.png +0 -0
  137. data/bower_components/jquery-ui/themes/base/images/ui-icons_ffffff_256x240.png +0 -0
  138. data/bower_components/jquery-ui/themes/base/jquery-ui.css +1225 -0
  139. data/bower_components/jquery-ui/themes/base/jquery-ui.min.css +7 -0
  140. data/bower_components/jquery-ui/themes/base/menu.css +2 -2
  141. data/bower_components/jquery-ui/themes/base/progressbar.css +4 -4
  142. data/bower_components/jquery-ui/themes/base/resizable.css +2 -2
  143. data/bower_components/jquery-ui/themes/base/selectable.css +2 -2
  144. data/bower_components/jquery-ui/themes/base/selectmenu.css +2 -2
  145. data/bower_components/jquery-ui/themes/base/slider.css +3 -3
  146. data/bower_components/jquery-ui/themes/base/sortable.css +2 -2
  147. data/bower_components/jquery-ui/themes/base/spinner.css +2 -2
  148. data/bower_components/jquery-ui/themes/base/tabs.css +2 -2
  149. data/bower_components/jquery-ui/themes/base/theme.css +7 -7
  150. data/bower_components/jquery-ui/themes/base/tooltip.css +2 -2
  151. data/bower_components/jquery-ui/themes/black-tie/images/ui-bg_diagonals-thick_8_333333_40x40.png +0 -0
  152. data/bower_components/jquery-ui/themes/black-tie/images/ui-bg_flat_65_ffffff_40x100.png +0 -0
  153. data/bower_components/jquery-ui/themes/black-tie/images/ui-bg_glass_40_111111_1x400.png +0 -0
  154. data/bower_components/jquery-ui/themes/black-tie/images/ui-bg_glass_55_1c1c1c_1x400.png +0 -0
  155. data/bower_components/jquery-ui/themes/black-tie/images/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
  156. data/bower_components/jquery-ui/themes/black-tie/images/ui-bg_highlight-hard_40_aaaaaa_1x100.png +0 -0
  157. data/bower_components/jquery-ui/themes/black-tie/images/ui-bg_highlight-soft_50_aaaaaa_1x100.png +0 -0
  158. data/bower_components/jquery-ui/themes/black-tie/images/ui-bg_inset-hard_45_cd0a0a_1x100.png +0 -0
  159. data/bower_components/jquery-ui/themes/black-tie/images/ui-bg_inset-hard_55_ffeb80_1x100.png +0 -0
  160. data/bower_components/jquery-ui/themes/black-tie/images/ui-icons_222222_256x240.png +0 -0
  161. data/bower_components/jquery-ui/themes/black-tie/images/ui-icons_4ca300_256x240.png +0 -0
  162. data/bower_components/jquery-ui/themes/black-tie/images/ui-icons_bbbbbb_256x240.png +0 -0
  163. data/bower_components/jquery-ui/themes/black-tie/images/ui-icons_ededed_256x240.png +0 -0
  164. data/bower_components/jquery-ui/themes/black-tie/images/ui-icons_ffcf29_256x240.png +0 -0
  165. data/bower_components/jquery-ui/themes/black-tie/images/ui-icons_ffffff_256x240.png +0 -0
  166. data/bower_components/jquery-ui/themes/black-tie/jquery-ui.css +12 -12
  167. data/bower_components/jquery-ui/themes/black-tie/jquery-ui.min.css +3 -3
  168. data/bower_components/jquery-ui/themes/black-tie/theme.css +7 -7
  169. data/bower_components/jquery-ui/themes/blitzer/images/ui-bg_diagonals-thick_75_f3d8d8_40x40.png +0 -0
  170. data/bower_components/jquery-ui/themes/blitzer/images/ui-bg_dots-small_65_a6a6a6_2x2.png +0 -0
  171. data/bower_components/jquery-ui/themes/blitzer/images/ui-bg_flat_0_333333_40x100.png +0 -0
  172. data/bower_components/jquery-ui/themes/blitzer/images/ui-bg_flat_65_ffffff_40x100.png +0 -0
  173. data/bower_components/jquery-ui/themes/blitzer/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  174. data/bower_components/jquery-ui/themes/blitzer/images/ui-bg_glass_55_fbf8ee_1x400.png +0 -0
  175. data/bower_components/jquery-ui/themes/blitzer/images/ui-bg_highlight-hard_100_eeeeee_1x100.png +0 -0
  176. data/bower_components/jquery-ui/themes/blitzer/images/ui-bg_highlight-hard_100_f6f6f6_1x100.png +0 -0
  177. data/bower_components/jquery-ui/themes/blitzer/images/ui-bg_highlight-soft_15_cc0000_1x100.png +0 -0
  178. data/bower_components/jquery-ui/themes/blitzer/images/ui-icons_004276_256x240.png +0 -0
  179. data/bower_components/jquery-ui/themes/blitzer/images/ui-icons_cc0000_256x240.png +0 -0
  180. data/bower_components/jquery-ui/themes/blitzer/images/ui-icons_ffffff_256x240.png +0 -0
  181. data/bower_components/jquery-ui/themes/blitzer/jquery-ui.css +12 -12
  182. data/bower_components/jquery-ui/themes/blitzer/jquery-ui.min.css +3 -3
  183. data/bower_components/jquery-ui/themes/blitzer/theme.css +7 -7
  184. data/bower_components/jquery-ui/themes/cupertino/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png +0 -0
  185. data/bower_components/jquery-ui/themes/cupertino/images/ui-bg_flat_15_cd0a0a_40x100.png +0 -0
  186. data/bower_components/jquery-ui/themes/cupertino/images/ui-bg_glass_100_e4f1fb_1x400.png +0 -0
  187. data/bower_components/jquery-ui/themes/cupertino/images/ui-bg_glass_50_3baae3_1x400.png +0 -0
  188. data/bower_components/jquery-ui/themes/cupertino/images/ui-bg_glass_80_d7ebf9_1x400.png +0 -0
  189. data/bower_components/jquery-ui/themes/cupertino/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png +0 -0
  190. data/bower_components/jquery-ui/themes/cupertino/images/ui-bg_highlight-hard_70_000000_1x100.png +0 -0
  191. data/bower_components/jquery-ui/themes/cupertino/images/ui-bg_highlight-soft_100_deedf7_1x100.png +0 -0
  192. data/bower_components/jquery-ui/themes/cupertino/images/ui-bg_highlight-soft_25_ffef8f_1x100.png +0 -0
  193. data/bower_components/jquery-ui/themes/cupertino/images/ui-icons_2694e8_256x240.png +0 -0
  194. data/bower_components/jquery-ui/themes/cupertino/images/ui-icons_2e83ff_256x240.png +0 -0
  195. data/bower_components/jquery-ui/themes/cupertino/images/ui-icons_3d80b3_256x240.png +0 -0
  196. data/bower_components/jquery-ui/themes/cupertino/images/ui-icons_72a7cf_256x240.png +0 -0
  197. data/bower_components/jquery-ui/themes/cupertino/images/ui-icons_ffffff_256x240.png +0 -0
  198. data/bower_components/jquery-ui/themes/cupertino/jquery-ui.css +12 -12
  199. data/bower_components/jquery-ui/themes/cupertino/jquery-ui.min.css +3 -3
  200. data/bower_components/jquery-ui/themes/cupertino/theme.css +7 -7
  201. data/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  202. data/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  203. data/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  204. data/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-hard_20_0972a5_1x100.png +0 -0
  205. data/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-soft_33_003147_1x100.png +0 -0
  206. data/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-soft_35_222222_1x100.png +0 -0
  207. data/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-soft_44_444444_1x100.png +0 -0
  208. data/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  209. data/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_loop_25_000000_21x21.png +0 -0
  210. data/bower_components/jquery-ui/themes/dark-hive/images/ui-icons_222222_256x240.png +0 -0
  211. data/bower_components/jquery-ui/themes/dark-hive/images/ui-icons_4b8e0b_256x240.png +0 -0
  212. data/bower_components/jquery-ui/themes/dark-hive/images/ui-icons_a83300_256x240.png +0 -0
  213. data/bower_components/jquery-ui/themes/dark-hive/images/ui-icons_cccccc_256x240.png +0 -0
  214. data/bower_components/jquery-ui/themes/dark-hive/images/ui-icons_ffffff_256x240.png +0 -0
  215. data/bower_components/jquery-ui/themes/dark-hive/jquery-ui.css +12 -12
  216. data/bower_components/jquery-ui/themes/dark-hive/jquery-ui.min.css +3 -3
  217. data/bower_components/jquery-ui/themes/dark-hive/theme.css +7 -7
  218. data/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_diagonals-thick_15_0b3e6f_40x40.png +0 -0
  219. data/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_dots-medium_30_0b58a2_4x4.png +0 -0
  220. data/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_dots-small_20_333333_2x2.png +0 -0
  221. data/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_dots-small_30_a32d00_2x2.png +0 -0
  222. data/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_dots-small_40_00498f_2x2.png +0 -0
  223. data/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  224. data/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_flat_40_292929_40x100.png +0 -0
  225. data/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_gloss-wave_20_111111_500x100.png +0 -0
  226. data/bower_components/jquery-ui/themes/dot-luv/images/ui-icons_00498f_256x240.png +0 -0
  227. data/bower_components/jquery-ui/themes/dot-luv/images/ui-icons_98d2fb_256x240.png +0 -0
  228. data/bower_components/jquery-ui/themes/dot-luv/images/ui-icons_9ccdfc_256x240.png +0 -0
  229. data/bower_components/jquery-ui/themes/dot-luv/images/ui-icons_ffffff_256x240.png +0 -0
  230. data/bower_components/jquery-ui/themes/dot-luv/jquery-ui.css +12 -12
  231. data/bower_components/jquery-ui/themes/dot-luv/jquery-ui.min.css +3 -3
  232. data/bower_components/jquery-ui/themes/dot-luv/theme.css +7 -7
  233. data/bower_components/jquery-ui/themes/eggplant/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  234. data/bower_components/jquery-ui/themes/eggplant/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  235. data/bower_components/jquery-ui/themes/eggplant/images/ui-bg_flat_55_994d53_40x100.png +0 -0
  236. data/bower_components/jquery-ui/themes/eggplant/images/ui-bg_flat_55_fafafa_40x100.png +0 -0
  237. data/bower_components/jquery-ui/themes/eggplant/images/ui-bg_gloss-wave_30_3d3644_500x100.png +0 -0
  238. data/bower_components/jquery-ui/themes/eggplant/images/ui-bg_highlight-soft_100_dcd9de_1x100.png +0 -0
  239. data/bower_components/jquery-ui/themes/eggplant/images/ui-bg_highlight-soft_100_eae6ea_1x100.png +0 -0
  240. data/bower_components/jquery-ui/themes/eggplant/images/ui-bg_highlight-soft_25_30273a_1x100.png +0 -0
  241. data/bower_components/jquery-ui/themes/eggplant/images/ui-bg_highlight-soft_45_5f5964_1x100.png +0 -0
  242. data/bower_components/jquery-ui/themes/eggplant/images/ui-icons_454545_256x240.png +0 -0
  243. data/bower_components/jquery-ui/themes/eggplant/images/ui-icons_734d99_256x240.png +0 -0
  244. data/bower_components/jquery-ui/themes/eggplant/images/ui-icons_8d78a5_256x240.png +0 -0
  245. data/bower_components/jquery-ui/themes/eggplant/images/ui-icons_a8a3ae_256x240.png +0 -0
  246. data/bower_components/jquery-ui/themes/eggplant/images/ui-icons_ebccce_256x240.png +0 -0
  247. data/bower_components/jquery-ui/themes/eggplant/images/ui-icons_ffffff_256x240.png +0 -0
  248. data/bower_components/jquery-ui/themes/eggplant/jquery-ui.css +12 -12
  249. data/bower_components/jquery-ui/themes/eggplant/jquery-ui.min.css +3 -3
  250. data/bower_components/jquery-ui/themes/eggplant/theme.css +7 -7
  251. data/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_diagonals-small_25_c5ddfc_40x40.png +0 -0
  252. data/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_diagonals-thick_20_e69700_40x40.png +0 -0
  253. data/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_diagonals-thick_22_1484e6_40x40.png +0 -0
  254. data/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_diagonals-thick_26_2293f7_40x40.png +0 -0
  255. data/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_flat_0_e69700_40x100.png +0 -0
  256. data/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_flat_0_e6b900_40x100.png +0 -0
  257. data/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_highlight-soft_100_f9f9f9_1x100.png +0 -0
  258. data/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_inset-hard_100_eeeeee_1x100.png +0 -0
  259. data/bower_components/jquery-ui/themes/excite-bike/images/ui-icons_0a82eb_256x240.png +0 -0
  260. data/bower_components/jquery-ui/themes/excite-bike/images/ui-icons_0b54d5_256x240.png +0 -0
  261. data/bower_components/jquery-ui/themes/excite-bike/images/ui-icons_5fa5e3_256x240.png +0 -0
  262. data/bower_components/jquery-ui/themes/excite-bike/images/ui-icons_fcdd4a_256x240.png +0 -0
  263. data/bower_components/jquery-ui/themes/excite-bike/images/ui-icons_ffffff_256x240.png +0 -0
  264. data/bower_components/jquery-ui/themes/excite-bike/jquery-ui.css +12 -12
  265. data/bower_components/jquery-ui/themes/excite-bike/jquery-ui.min.css +3 -3
  266. data/bower_components/jquery-ui/themes/excite-bike/theme.css +7 -7
  267. data/bower_components/jquery-ui/themes/flick/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  268. data/bower_components/jquery-ui/themes/flick/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  269. data/bower_components/jquery-ui/themes/flick/images/ui-bg_flat_55_ffffff_40x100.png +0 -0
  270. data/bower_components/jquery-ui/themes/flick/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  271. data/bower_components/jquery-ui/themes/flick/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  272. data/bower_components/jquery-ui/themes/flick/images/ui-bg_highlight-soft_100_f6f6f6_1x100.png +0 -0
  273. data/bower_components/jquery-ui/themes/flick/images/ui-bg_highlight-soft_25_0073ea_1x100.png +0 -0
  274. data/bower_components/jquery-ui/themes/flick/images/ui-bg_highlight-soft_50_dddddd_1x100.png +0 -0
  275. data/bower_components/jquery-ui/themes/flick/images/ui-icons_0073ea_256x240.png +0 -0
  276. data/bower_components/jquery-ui/themes/flick/images/ui-icons_454545_256x240.png +0 -0
  277. data/bower_components/jquery-ui/themes/flick/images/ui-icons_666666_256x240.png +0 -0
  278. data/bower_components/jquery-ui/themes/flick/images/ui-icons_ff0084_256x240.png +0 -0
  279. data/bower_components/jquery-ui/themes/flick/images/ui-icons_ffffff_256x240.png +0 -0
  280. data/bower_components/jquery-ui/themes/flick/jquery-ui.css +12 -12
  281. data/bower_components/jquery-ui/themes/flick/jquery-ui.min.css +3 -3
  282. data/bower_components/jquery-ui/themes/flick/theme.css +7 -7
  283. data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_diagonals-small_40_db4865_40x40.png +0 -0
  284. data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_diagonals-small_50_93c3cd_40x40.png +0 -0
  285. data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_diagonals-small_50_ff3853_40x40.png +0 -0
  286. data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_diagonals-small_75_ccd232_40x40.png +0 -0
  287. data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_dots-medium_80_ffff38_4x4.png +0 -0
  288. data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_dots-small_35_35414f_2x2.png +0 -0
  289. data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_flat_75_ba9217_40x100.png +0 -0
  290. data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  291. data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_white-lines_85_f7f7ba_40x100.png +0 -0
  292. data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_454545_256x240.png +0 -0
  293. data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_88a206_256x240.png +0 -0
  294. data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_c02669_256x240.png +0 -0
  295. data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_e1e463_256x240.png +0 -0
  296. data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_ffeb33_256x240.png +0 -0
  297. data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_ffffff_256x240.png +0 -0
  298. data/bower_components/jquery-ui/themes/hot-sneaks/jquery-ui.css +12 -12
  299. data/bower_components/jquery-ui/themes/hot-sneaks/jquery-ui.min.css +3 -3
  300. data/bower_components/jquery-ui/themes/hot-sneaks/theme.css +7 -7
  301. data/bower_components/jquery-ui/themes/humanity/images/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
  302. data/bower_components/jquery-ui/themes/humanity/images/ui-bg_glass_100_f5f0e5_1x400.png +0 -0
  303. data/bower_components/jquery-ui/themes/humanity/images/ui-bg_glass_25_cb842e_1x400.png +0 -0
  304. data/bower_components/jquery-ui/themes/humanity/images/ui-bg_glass_70_ede4d4_1x400.png +0 -0
  305. data/bower_components/jquery-ui/themes/humanity/images/ui-bg_highlight-hard_100_f4f0ec_1x100.png +0 -0
  306. data/bower_components/jquery-ui/themes/humanity/images/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
  307. data/bower_components/jquery-ui/themes/humanity/images/ui-bg_highlight-hard_75_f5f5b5_1x100.png +0 -0
  308. data/bower_components/jquery-ui/themes/humanity/images/ui-bg_inset-soft_100_f4f0ec_1x100.png +0 -0
  309. data/bower_components/jquery-ui/themes/humanity/images/ui-icons_c47a23_256x240.png +0 -0
  310. data/bower_components/jquery-ui/themes/humanity/images/ui-icons_cb672b_256x240.png +0 -0
  311. data/bower_components/jquery-ui/themes/humanity/images/ui-icons_f08000_256x240.png +0 -0
  312. data/bower_components/jquery-ui/themes/humanity/images/ui-icons_f35f07_256x240.png +0 -0
  313. data/bower_components/jquery-ui/themes/humanity/images/ui-icons_ff7519_256x240.png +0 -0
  314. data/bower_components/jquery-ui/themes/humanity/images/ui-icons_ffffff_256x240.png +0 -0
  315. data/bower_components/jquery-ui/themes/humanity/jquery-ui.css +12 -12
  316. data/bower_components/jquery-ui/themes/humanity/jquery-ui.min.css +3 -3
  317. data/bower_components/jquery-ui/themes/humanity/theme.css +7 -7
  318. data/bower_components/jquery-ui/themes/le-frog/images/ui-bg_diagonals-small_0_aaaaaa_40x40.png +0 -0
  319. data/bower_components/jquery-ui/themes/le-frog/images/ui-bg_diagonals-thick_15_444444_40x40.png +0 -0
  320. data/bower_components/jquery-ui/themes/le-frog/images/ui-bg_diagonals-thick_95_ffdc2e_40x40.png +0 -0
  321. data/bower_components/jquery-ui/themes/le-frog/images/ui-bg_glass_55_fbf5d0_1x400.png +0 -0
  322. data/bower_components/jquery-ui/themes/le-frog/images/ui-bg_highlight-hard_30_285c00_1x100.png +0 -0
  323. data/bower_components/jquery-ui/themes/le-frog/images/ui-bg_highlight-soft_33_3a8104_1x100.png +0 -0
  324. data/bower_components/jquery-ui/themes/le-frog/images/ui-bg_highlight-soft_50_4eb305_1x100.png +0 -0
  325. data/bower_components/jquery-ui/themes/le-frog/images/ui-bg_highlight-soft_60_4ca20b_1x100.png +0 -0
  326. data/bower_components/jquery-ui/themes/le-frog/images/ui-bg_inset-soft_10_285c00_1x100.png +0 -0
  327. data/bower_components/jquery-ui/themes/le-frog/images/ui-icons_4eb305_256x240.png +0 -0
  328. data/bower_components/jquery-ui/themes/le-frog/images/ui-icons_72b42d_256x240.png +0 -0
  329. data/bower_components/jquery-ui/themes/le-frog/images/ui-icons_cd0a0a_256x240.png +0 -0
  330. data/bower_components/jquery-ui/themes/le-frog/images/ui-icons_ffffff_256x240.png +0 -0
  331. data/bower_components/jquery-ui/themes/le-frog/jquery-ui.css +12 -12
  332. data/bower_components/jquery-ui/themes/le-frog/jquery-ui.min.css +3 -3
  333. data/bower_components/jquery-ui/themes/le-frog/theme.css +7 -7
  334. data/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  335. data/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_glass_15_5f391b_1x400.png +0 -0
  336. data/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_gloss-wave_20_1c160d_500x100.png +0 -0
  337. data/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_gloss-wave_25_453326_500x100.png +0 -0
  338. data/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_gloss-wave_30_44372c_500x100.png +0 -0
  339. data/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_highlight-soft_20_201913_1x100.png +0 -0
  340. data/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_highlight-soft_20_619226_1x100.png +0 -0
  341. data/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_inset-soft_10_201913_1x100.png +0 -0
  342. data/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_222222_256x240.png +0 -0
  343. data/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_9bcc60_256x240.png +0 -0
  344. data/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_add978_256x240.png +0 -0
  345. data/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_e3ddc9_256x240.png +0 -0
  346. data/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_f1fd86_256x240.png +0 -0
  347. data/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_ffffff_256x240.png +0 -0
  348. data/bower_components/jquery-ui/themes/mint-choc/jquery-ui.css +12 -12
  349. data/bower_components/jquery-ui/themes/mint-choc/jquery-ui.min.css +3 -3
  350. data/bower_components/jquery-ui/themes/mint-choc/theme.css +7 -7
  351. data/bower_components/jquery-ui/themes/overcast/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  352. data/bower_components/jquery-ui/themes/overcast/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  353. data/bower_components/jquery-ui/themes/overcast/images/ui-bg_flat_55_c0402a_40x100.png +0 -0
  354. data/bower_components/jquery-ui/themes/overcast/images/ui-bg_flat_55_eeeeee_40x100.png +0 -0
  355. data/bower_components/jquery-ui/themes/overcast/images/ui-bg_glass_100_f8f8f8_1x400.png +0 -0
  356. data/bower_components/jquery-ui/themes/overcast/images/ui-bg_glass_35_dddddd_1x400.png +0 -0
  357. data/bower_components/jquery-ui/themes/overcast/images/ui-bg_glass_60_eeeeee_1x400.png +0 -0
  358. data/bower_components/jquery-ui/themes/overcast/images/ui-bg_inset-hard_75_999999_1x100.png +0 -0
  359. data/bower_components/jquery-ui/themes/overcast/images/ui-bg_inset-soft_50_c9c9c9_1x100.png +0 -0
  360. data/bower_components/jquery-ui/themes/overcast/images/ui-icons_3383bb_256x240.png +0 -0
  361. data/bower_components/jquery-ui/themes/overcast/images/ui-icons_454545_256x240.png +0 -0
  362. data/bower_components/jquery-ui/themes/overcast/images/ui-icons_70b2e1_256x240.png +0 -0
  363. data/bower_components/jquery-ui/themes/overcast/images/ui-icons_999999_256x240.png +0 -0
  364. data/bower_components/jquery-ui/themes/overcast/images/ui-icons_fbc856_256x240.png +0 -0
  365. data/bower_components/jquery-ui/themes/overcast/jquery-ui.css +12 -12
  366. data/bower_components/jquery-ui/themes/overcast/jquery-ui.min.css +3 -3
  367. data/bower_components/jquery-ui/themes/overcast/theme.css +7 -7
  368. data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_diagonal-maze_20_6e4f1c_10x10.png +0 -0
  369. data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_diagonal-maze_40_000000_10x10.png +0 -0
  370. data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_10_eceadf_60x60.png +0 -0
  371. data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_10_f8f7f6_60x60.png +0 -0
  372. data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_15_eceadf_60x60.png +0 -0
  373. data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_15_f7f3de_60x60.png +0 -0
  374. data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_15_ffffff_60x60.png +0 -0
  375. data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_65_654b24_60x60.png +0 -0
  376. data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_68_b83400_60x60.png +0 -0
  377. data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_222222_256x240.png +0 -0
  378. data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_3572ac_256x240.png +0 -0
  379. data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_8c291d_256x240.png +0 -0
  380. data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_b83400_256x240.png +0 -0
  381. data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_fbdb93_256x240.png +0 -0
  382. data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_ffffff_256x240.png +0 -0
  383. data/bower_components/jquery-ui/themes/pepper-grinder/jquery-ui.css +12 -12
  384. data/bower_components/jquery-ui/themes/pepper-grinder/jquery-ui.min.css +3 -3
  385. data/bower_components/jquery-ui/themes/pepper-grinder/theme.css +7 -7
  386. data/bower_components/jquery-ui/themes/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  387. data/bower_components/jquery-ui/themes/redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
  388. data/bower_components/jquery-ui/themes/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  389. data/bower_components/jquery-ui/themes/redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  390. data/bower_components/jquery-ui/themes/redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  391. data/bower_components/jquery-ui/themes/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  392. data/bower_components/jquery-ui/themes/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  393. data/bower_components/jquery-ui/themes/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  394. data/bower_components/jquery-ui/themes/redmond/images/ui-icons_217bc0_256x240.png +0 -0
  395. data/bower_components/jquery-ui/themes/redmond/images/ui-icons_2e83ff_256x240.png +0 -0
  396. data/bower_components/jquery-ui/themes/redmond/images/ui-icons_469bdd_256x240.png +0 -0
  397. data/bower_components/jquery-ui/themes/redmond/images/ui-icons_6da8d5_256x240.png +0 -0
  398. data/bower_components/jquery-ui/themes/redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
  399. data/bower_components/jquery-ui/themes/redmond/images/ui-icons_d8e7f3_256x240.png +0 -0
  400. data/bower_components/jquery-ui/themes/redmond/images/ui-icons_f9bd01_256x240.png +0 -0
  401. data/bower_components/jquery-ui/themes/redmond/jquery-ui.css +12 -12
  402. data/bower_components/jquery-ui/themes/redmond/jquery-ui.min.css +3 -3
  403. data/bower_components/jquery-ui/themes/redmond/theme.css +7 -7
  404. data/bower_components/jquery-ui/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  405. data/bower_components/jquery-ui/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  406. data/bower_components/jquery-ui/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  407. data/bower_components/jquery-ui/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  408. data/bower_components/jquery-ui/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  409. data/bower_components/jquery-ui/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  410. data/bower_components/jquery-ui/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  411. data/bower_components/jquery-ui/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  412. data/bower_components/jquery-ui/themes/smoothness/images/ui-icons_222222_256x240.png +0 -0
  413. data/bower_components/jquery-ui/themes/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  414. data/bower_components/jquery-ui/themes/smoothness/images/ui-icons_454545_256x240.png +0 -0
  415. data/bower_components/jquery-ui/themes/smoothness/images/ui-icons_888888_256x240.png +0 -0
  416. data/bower_components/jquery-ui/themes/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  417. data/bower_components/jquery-ui/themes/smoothness/jquery-ui.css +12 -12
  418. data/bower_components/jquery-ui/themes/smoothness/jquery-ui.min.css +3 -3
  419. data/bower_components/jquery-ui/themes/smoothness/theme.css +7 -7
  420. data/bower_components/jquery-ui/themes/south-street/images/ui-bg_glass_55_fcf0ba_1x400.png +0 -0
  421. data/bower_components/jquery-ui/themes/south-street/images/ui-bg_gloss-wave_100_ece8da_500x100.png +0 -0
  422. data/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-hard_100_f5f3e5_1x100.png +0 -0
  423. data/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-hard_100_fafaf4_1x100.png +0 -0
  424. data/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-hard_15_459e00_1x100.png +0 -0
  425. data/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-hard_95_cccccc_1x100.png +0 -0
  426. data/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-soft_25_67b021_1x100.png +0 -0
  427. data/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-soft_95_ffedad_1x100.png +0 -0
  428. data/bower_components/jquery-ui/themes/south-street/images/ui-bg_inset-soft_15_2b2922_1x100.png +0 -0
  429. data/bower_components/jquery-ui/themes/south-street/images/ui-icons_808080_256x240.png +0 -0
  430. data/bower_components/jquery-ui/themes/south-street/images/ui-icons_847e71_256x240.png +0 -0
  431. data/bower_components/jquery-ui/themes/south-street/images/ui-icons_8DC262_256x240.png +0 -0
  432. data/bower_components/jquery-ui/themes/south-street/images/ui-icons_cd0a0a_256x240.png +0 -0
  433. data/bower_components/jquery-ui/themes/south-street/images/ui-icons_eeeeee_256x240.png +0 -0
  434. data/bower_components/jquery-ui/themes/south-street/images/ui-icons_ffffff_256x240.png +0 -0
  435. data/bower_components/jquery-ui/themes/south-street/jquery-ui.css +12 -12
  436. data/bower_components/jquery-ui/themes/south-street/jquery-ui.min.css +3 -3
  437. data/bower_components/jquery-ui/themes/south-street/theme.css +7 -7
  438. data/bower_components/jquery-ui/themes/start/images/ui-bg_flat_55_999999_40x100.png +0 -0
  439. data/bower_components/jquery-ui/themes/start/images/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
  440. data/bower_components/jquery-ui/themes/start/images/ui-bg_glass_45_0078ae_1x400.png +0 -0
  441. data/bower_components/jquery-ui/themes/start/images/ui-bg_glass_55_f8da4e_1x400.png +0 -0
  442. data/bower_components/jquery-ui/themes/start/images/ui-bg_glass_75_79c9ec_1x400.png +0 -0
  443. data/bower_components/jquery-ui/themes/start/images/ui-bg_gloss-wave_45_e14f1c_500x100.png +0 -0
  444. data/bower_components/jquery-ui/themes/start/images/ui-bg_gloss-wave_50_6eac2c_500x100.png +0 -0
  445. data/bower_components/jquery-ui/themes/start/images/ui-bg_gloss-wave_75_2191c0_500x100.png +0 -0
  446. data/bower_components/jquery-ui/themes/start/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  447. data/bower_components/jquery-ui/themes/start/images/ui-icons_0078ae_256x240.png +0 -0
  448. data/bower_components/jquery-ui/themes/start/images/ui-icons_056b93_256x240.png +0 -0
  449. data/bower_components/jquery-ui/themes/start/images/ui-icons_d8e7f3_256x240.png +0 -0
  450. data/bower_components/jquery-ui/themes/start/images/ui-icons_e0fdff_256x240.png +0 -0
  451. data/bower_components/jquery-ui/themes/start/images/ui-icons_f5e175_256x240.png +0 -0
  452. data/bower_components/jquery-ui/themes/start/images/ui-icons_f7a50d_256x240.png +0 -0
  453. data/bower_components/jquery-ui/themes/start/images/ui-icons_fcd113_256x240.png +0 -0
  454. data/bower_components/jquery-ui/themes/start/jquery-ui.css +12 -12
  455. data/bower_components/jquery-ui/themes/start/jquery-ui.min.css +3 -3
  456. data/bower_components/jquery-ui/themes/start/theme.css +7 -7
  457. data/bower_components/jquery-ui/themes/sunny/images/ui-bg_diagonals-medium_20_d34d17_40x40.png +0 -0
  458. data/bower_components/jquery-ui/themes/sunny/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  459. data/bower_components/jquery-ui/themes/sunny/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  460. data/bower_components/jquery-ui/themes/sunny/images/ui-bg_gloss-wave_45_817865_500x100.png +0 -0
  461. data/bower_components/jquery-ui/themes/sunny/images/ui-bg_gloss-wave_60_fece2f_500x100.png +0 -0
  462. data/bower_components/jquery-ui/themes/sunny/images/ui-bg_gloss-wave_70_ffdd57_500x100.png +0 -0
  463. data/bower_components/jquery-ui/themes/sunny/images/ui-bg_gloss-wave_90_fff9e5_500x100.png +0 -0
  464. data/bower_components/jquery-ui/themes/sunny/images/ui-bg_highlight-soft_100_feeebd_1x100.png +0 -0
  465. data/bower_components/jquery-ui/themes/sunny/images/ui-bg_inset-soft_30_ffffff_1x100.png +0 -0
  466. data/bower_components/jquery-ui/themes/sunny/images/ui-icons_3d3d3d_256x240.png +0 -0
  467. data/bower_components/jquery-ui/themes/sunny/images/ui-icons_bd7b00_256x240.png +0 -0
  468. data/bower_components/jquery-ui/themes/sunny/images/ui-icons_d19405_256x240.png +0 -0
  469. data/bower_components/jquery-ui/themes/sunny/images/ui-icons_eb990f_256x240.png +0 -0
  470. data/bower_components/jquery-ui/themes/sunny/images/ui-icons_ed9f26_256x240.png +0 -0
  471. data/bower_components/jquery-ui/themes/sunny/images/ui-icons_fadc7a_256x240.png +0 -0
  472. data/bower_components/jquery-ui/themes/sunny/images/ui-icons_ffe180_256x240.png +0 -0
  473. data/bower_components/jquery-ui/themes/sunny/jquery-ui.css +12 -12
  474. data/bower_components/jquery-ui/themes/sunny/jquery-ui.min.css +3 -3
  475. data/bower_components/jquery-ui/themes/sunny/theme.css +7 -7
  476. data/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_10_4f4221_10x8.png +0 -0
  477. data/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_20_372806_10x8.png +0 -0
  478. data/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_25_675423_10x8.png +0 -0
  479. data/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_25_d5ac5d_10x8.png +0 -0
  480. data/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_8_261803_10x8.png +0 -0
  481. data/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_8_443113_10x8.png +0 -0
  482. data/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_flat_75_ddd4b0_40x100.png +0 -0
  483. data/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
  484. data/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_070603_256x240.png +0 -0
  485. data/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_e8e2b5_256x240.png +0 -0
  486. data/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_e9cd86_256x240.png +0 -0
  487. data/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_efec9f_256x240.png +0 -0
  488. data/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_f2ec64_256x240.png +0 -0
  489. data/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_f9f2bd_256x240.png +0 -0
  490. data/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_ff7519_256x240.png +0 -0
  491. data/bower_components/jquery-ui/themes/swanky-purse/jquery-ui.css +12 -12
  492. data/bower_components/jquery-ui/themes/swanky-purse/jquery-ui.min.css +3 -3
  493. data/bower_components/jquery-ui/themes/swanky-purse/theme.css +7 -7
  494. data/bower_components/jquery-ui/themes/trontastic/images/ui-bg_diagonals-small_50_262626_40x40.png +0 -0
  495. data/bower_components/jquery-ui/themes/trontastic/images/ui-bg_flat_0_303030_40x100.png +0 -0
  496. data/bower_components/jquery-ui/themes/trontastic/images/ui-bg_flat_0_4c4c4c_40x100.png +0 -0
  497. data/bower_components/jquery-ui/themes/trontastic/images/ui-bg_glass_40_0a0a0a_1x400.png +0 -0
  498. data/bower_components/jquery-ui/themes/trontastic/images/ui-bg_glass_55_f1fbe5_1x400.png +0 -0
  499. data/bower_components/jquery-ui/themes/trontastic/images/ui-bg_glass_60_000000_1x400.png +0 -0
  500. data/bower_components/jquery-ui/themes/trontastic/images/ui-bg_gloss-wave_55_000000_500x100.png +0 -0
  501. data/bower_components/jquery-ui/themes/trontastic/images/ui-bg_gloss-wave_85_9fda58_500x100.png +0 -0
  502. data/bower_components/jquery-ui/themes/trontastic/images/ui-bg_gloss-wave_95_f6ecd5_500x100.png +0 -0
  503. data/bower_components/jquery-ui/themes/trontastic/images/ui-icons_000000_256x240.png +0 -0
  504. data/bower_components/jquery-ui/themes/trontastic/images/ui-icons_1f1f1f_256x240.png +0 -0
  505. data/bower_components/jquery-ui/themes/trontastic/images/ui-icons_9fda58_256x240.png +0 -0
  506. data/bower_components/jquery-ui/themes/trontastic/images/ui-icons_b8ec79_256x240.png +0 -0
  507. data/bower_components/jquery-ui/themes/trontastic/images/ui-icons_cd0a0a_256x240.png +0 -0
  508. data/bower_components/jquery-ui/themes/trontastic/images/ui-icons_ffffff_256x240.png +0 -0
  509. data/bower_components/jquery-ui/themes/trontastic/jquery-ui.css +12 -12
  510. data/bower_components/jquery-ui/themes/trontastic/jquery-ui.min.css +3 -3
  511. data/bower_components/jquery-ui/themes/trontastic/theme.css +7 -7
  512. data/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  513. data/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  514. data/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_glass_20_555555_1x400.png +0 -0
  515. data/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_glass_40_0078a3_1x400.png +0 -0
  516. data/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  517. data/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
  518. data/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  519. data/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_inset-soft_25_000000_1x100.png +0 -0
  520. data/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_inset-soft_30_f58400_1x100.png +0 -0
  521. data/bower_components/jquery-ui/themes/ui-darkness/images/ui-icons_222222_256x240.png +0 -0
  522. data/bower_components/jquery-ui/themes/ui-darkness/images/ui-icons_4b8e0b_256x240.png +0 -0
  523. data/bower_components/jquery-ui/themes/ui-darkness/images/ui-icons_a83300_256x240.png +0 -0
  524. data/bower_components/jquery-ui/themes/ui-darkness/images/ui-icons_cccccc_256x240.png +0 -0
  525. data/bower_components/jquery-ui/themes/ui-darkness/images/ui-icons_ffffff_256x240.png +0 -0
  526. data/bower_components/jquery-ui/themes/ui-darkness/jquery-ui.css +12 -12
  527. data/bower_components/jquery-ui/themes/ui-darkness/jquery-ui.min.css +3 -3
  528. data/bower_components/jquery-ui/themes/ui-darkness/theme.css +7 -7
  529. data/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  530. data/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  531. data/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
  532. data/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  533. data/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  534. data/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  535. data/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  536. data/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  537. data/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  538. data/bower_components/jquery-ui/themes/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
  539. data/bower_components/jquery-ui/themes/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
  540. data/bower_components/jquery-ui/themes/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
  541. data/bower_components/jquery-ui/themes/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
  542. data/bower_components/jquery-ui/themes/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
  543. data/bower_components/jquery-ui/themes/ui-lightness/jquery-ui.css +12 -12
  544. data/bower_components/jquery-ui/themes/ui-lightness/jquery-ui.min.css +3 -3
  545. data/bower_components/jquery-ui/themes/ui-lightness/theme.css +7 -7
  546. data/bower_components/jquery-ui/themes/vader/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  547. data/bower_components/jquery-ui/themes/vader/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  548. data/bower_components/jquery-ui/themes/vader/images/ui-bg_gloss-wave_16_121212_500x100.png +0 -0
  549. data/bower_components/jquery-ui/themes/vader/images/ui-bg_highlight-hard_15_888888_1x100.png +0 -0
  550. data/bower_components/jquery-ui/themes/vader/images/ui-bg_highlight-hard_55_555555_1x100.png +0 -0
  551. data/bower_components/jquery-ui/themes/vader/images/ui-bg_highlight-soft_35_adadad_1x100.png +0 -0
  552. data/bower_components/jquery-ui/themes/vader/images/ui-bg_highlight-soft_60_dddddd_1x100.png +0 -0
  553. data/bower_components/jquery-ui/themes/vader/images/ui-bg_inset-soft_15_121212_1x100.png +0 -0
  554. data/bower_components/jquery-ui/themes/vader/images/ui-icons_666666_256x240.png +0 -0
  555. data/bower_components/jquery-ui/themes/vader/images/ui-icons_aaaaaa_256x240.png +0 -0
  556. data/bower_components/jquery-ui/themes/vader/images/ui-icons_bbbbbb_256x240.png +0 -0
  557. data/bower_components/jquery-ui/themes/vader/images/ui-icons_c98000_256x240.png +0 -0
  558. data/bower_components/jquery-ui/themes/vader/images/ui-icons_cccccc_256x240.png +0 -0
  559. data/bower_components/jquery-ui/themes/vader/images/ui-icons_cd0a0a_256x240.png +0 -0
  560. data/bower_components/jquery-ui/themes/vader/images/ui-icons_f29a00_256x240.png +0 -0
  561. data/bower_components/jquery-ui/themes/vader/jquery-ui.css +12 -12
  562. data/bower_components/jquery-ui/themes/vader/jquery-ui.min.css +3 -3
  563. data/bower_components/jquery-ui/themes/vader/theme.css +7 -7
  564. data/bower_components/jquery-ui/ui/accordion.js +24 -9
  565. data/bower_components/jquery-ui/ui/autocomplete.js +7 -5
  566. data/bower_components/jquery-ui/ui/button.js +4 -4
  567. data/bower_components/jquery-ui/ui/core.js +8 -7
  568. data/bower_components/jquery-ui/ui/datepicker.js +30 -19
  569. data/bower_components/jquery-ui/ui/dialog.js +26 -8
  570. data/bower_components/jquery-ui/ui/draggable.js +331 -215
  571. data/bower_components/jquery-ui/ui/droppable.js +10 -13
  572. data/bower_components/jquery-ui/ui/effect-blind.js +2 -2
  573. data/bower_components/jquery-ui/ui/effect-bounce.js +2 -2
  574. data/bower_components/jquery-ui/ui/effect-clip.js +2 -2
  575. data/bower_components/jquery-ui/ui/effect-drop.js +3 -3
  576. data/bower_components/jquery-ui/ui/effect-explode.js +2 -2
  577. data/bower_components/jquery-ui/ui/effect-fade.js +2 -2
  578. data/bower_components/jquery-ui/ui/effect-fold.js +2 -2
  579. data/bower_components/jquery-ui/ui/effect-highlight.js +2 -2
  580. data/bower_components/jquery-ui/ui/effect-puff.js +2 -2
  581. data/bower_components/jquery-ui/ui/effect-pulsate.js +2 -2
  582. data/bower_components/jquery-ui/ui/effect-scale.js +2 -2
  583. data/bower_components/jquery-ui/ui/effect-shake.js +2 -2
  584. data/bower_components/jquery-ui/ui/effect-size.js +2 -2
  585. data/bower_components/jquery-ui/ui/effect-slide.js +2 -2
  586. data/bower_components/jquery-ui/ui/effect-transfer.js +2 -2
  587. data/bower_components/jquery-ui/ui/effect.js +10 -6
  588. data/bower_components/jquery-ui/ui/i18n/datepicker-af.js +0 -0
  589. data/bower_components/jquery-ui/ui/i18n/datepicker-ar-DZ.js +0 -0
  590. data/bower_components/jquery-ui/ui/i18n/datepicker-ar.js +7 -6
  591. data/bower_components/jquery-ui/ui/i18n/datepicker-az.js +0 -0
  592. data/bower_components/jquery-ui/ui/i18n/datepicker-be.js +0 -0
  593. data/bower_components/jquery-ui/ui/i18n/datepicker-bg.js +0 -0
  594. data/bower_components/jquery-ui/ui/i18n/datepicker-bs.js +0 -0
  595. data/bower_components/jquery-ui/ui/i18n/datepicker-ca.js +0 -0
  596. data/bower_components/jquery-ui/ui/i18n/datepicker-cs.js +0 -0
  597. data/bower_components/jquery-ui/ui/i18n/datepicker-cy-GB.js +0 -0
  598. data/bower_components/jquery-ui/ui/i18n/datepicker-da.js +0 -0
  599. data/bower_components/jquery-ui/ui/i18n/datepicker-de.js +0 -0
  600. data/bower_components/jquery-ui/ui/i18n/datepicker-el.js +1 -1
  601. data/bower_components/jquery-ui/ui/i18n/datepicker-en-AU.js +0 -0
  602. data/bower_components/jquery-ui/ui/i18n/datepicker-en-GB.js +0 -0
  603. data/bower_components/jquery-ui/ui/i18n/datepicker-en-NZ.js +0 -0
  604. data/bower_components/jquery-ui/ui/i18n/datepicker-eo.js +0 -0
  605. data/bower_components/jquery-ui/ui/i18n/datepicker-es.js +0 -0
  606. data/bower_components/jquery-ui/ui/i18n/datepicker-et.js +0 -0
  607. data/bower_components/jquery-ui/ui/i18n/datepicker-eu.js +0 -0
  608. data/bower_components/jquery-ui/ui/i18n/datepicker-fa.js +12 -12
  609. data/bower_components/jquery-ui/ui/i18n/datepicker-fi.js +0 -0
  610. data/bower_components/jquery-ui/ui/i18n/datepicker-fo.js +0 -0
  611. data/bower_components/jquery-ui/ui/i18n/datepicker-fr-CA.js +0 -0
  612. data/bower_components/jquery-ui/ui/i18n/datepicker-fr-CH.js +0 -0
  613. data/bower_components/jquery-ui/ui/i18n/datepicker-fr.js +1 -1
  614. data/bower_components/jquery-ui/ui/i18n/datepicker-gl.js +0 -0
  615. data/bower_components/jquery-ui/ui/i18n/datepicker-he.js +0 -0
  616. data/bower_components/jquery-ui/ui/i18n/datepicker-hi.js +0 -0
  617. data/bower_components/jquery-ui/ui/i18n/datepicker-hr.js +0 -0
  618. data/bower_components/jquery-ui/ui/i18n/datepicker-hu.js +0 -0
  619. data/bower_components/jquery-ui/ui/i18n/datepicker-hy.js +0 -0
  620. data/bower_components/jquery-ui/ui/i18n/datepicker-id.js +0 -0
  621. data/bower_components/jquery-ui/ui/i18n/datepicker-is.js +0 -0
  622. data/bower_components/jquery-ui/ui/i18n/datepicker-it-CH.js +0 -0
  623. data/bower_components/jquery-ui/ui/i18n/datepicker-it.js +0 -0
  624. data/bower_components/jquery-ui/ui/i18n/datepicker-ja.js +0 -0
  625. data/bower_components/jquery-ui/ui/i18n/datepicker-ka.js +0 -0
  626. data/bower_components/jquery-ui/ui/i18n/datepicker-kk.js +0 -0
  627. data/bower_components/jquery-ui/ui/i18n/datepicker-km.js +0 -0
  628. data/bower_components/jquery-ui/ui/i18n/datepicker-ko.js +0 -0
  629. data/bower_components/jquery-ui/ui/i18n/datepicker-ky.js +0 -0
  630. data/bower_components/jquery-ui/ui/i18n/datepicker-lb.js +0 -0
  631. data/bower_components/jquery-ui/ui/i18n/datepicker-lt.js +0 -0
  632. data/bower_components/jquery-ui/ui/i18n/datepicker-lv.js +0 -0
  633. data/bower_components/jquery-ui/ui/i18n/datepicker-mk.js +0 -0
  634. data/bower_components/jquery-ui/ui/i18n/datepicker-ml.js +0 -0
  635. data/bower_components/jquery-ui/ui/i18n/datepicker-ms.js +0 -0
  636. data/bower_components/jquery-ui/ui/i18n/datepicker-nb.js +0 -0
  637. data/bower_components/jquery-ui/ui/i18n/datepicker-nl-BE.js +0 -0
  638. data/bower_components/jquery-ui/ui/i18n/datepicker-nl.js +0 -0
  639. data/bower_components/jquery-ui/ui/i18n/datepicker-nn.js +0 -0
  640. data/bower_components/jquery-ui/ui/i18n/datepicker-no.js +0 -0
  641. data/bower_components/jquery-ui/ui/i18n/datepicker-pl.js +0 -0
  642. data/bower_components/jquery-ui/ui/i18n/datepicker-pt-BR.js +0 -0
  643. data/bower_components/jquery-ui/ui/i18n/datepicker-pt.js +0 -0
  644. data/bower_components/jquery-ui/ui/i18n/datepicker-rm.js +0 -0
  645. data/bower_components/jquery-ui/ui/i18n/datepicker-ro.js +0 -0
  646. data/bower_components/jquery-ui/ui/i18n/datepicker-ru.js +0 -0
  647. data/bower_components/jquery-ui/ui/i18n/datepicker-sk.js +0 -0
  648. data/bower_components/jquery-ui/ui/i18n/datepicker-sl.js +0 -0
  649. data/bower_components/jquery-ui/ui/i18n/datepicker-sq.js +0 -0
  650. data/bower_components/jquery-ui/ui/i18n/datepicker-sr-SR.js +0 -0
  651. data/bower_components/jquery-ui/ui/i18n/datepicker-sr.js +0 -0
  652. data/bower_components/jquery-ui/ui/i18n/datepicker-sv.js +0 -0
  653. data/bower_components/jquery-ui/ui/i18n/datepicker-ta.js +0 -0
  654. data/bower_components/jquery-ui/ui/i18n/datepicker-th.js +0 -0
  655. data/bower_components/jquery-ui/ui/i18n/datepicker-tj.js +0 -0
  656. data/bower_components/jquery-ui/ui/i18n/datepicker-tr.js +0 -0
  657. data/bower_components/jquery-ui/ui/i18n/datepicker-uk.js +0 -0
  658. data/bower_components/jquery-ui/ui/i18n/datepicker-vi.js +0 -0
  659. data/bower_components/jquery-ui/ui/i18n/datepicker-zh-CN.js +0 -0
  660. data/bower_components/jquery-ui/ui/i18n/datepicker-zh-HK.js +0 -0
  661. data/bower_components/jquery-ui/ui/i18n/datepicker-zh-TW.js +0 -0
  662. data/bower_components/jquery-ui/ui/menu.js +29 -23
  663. data/bower_components/jquery-ui/ui/minified/accordion.min.js +3 -3
  664. data/bower_components/jquery-ui/ui/minified/autocomplete.min.js +3 -3
  665. data/bower_components/jquery-ui/ui/minified/button.min.js +3 -3
  666. data/bower_components/jquery-ui/ui/minified/core.min.js +3 -3
  667. data/bower_components/jquery-ui/ui/minified/datepicker.min.js +4 -4
  668. data/bower_components/jquery-ui/ui/minified/dialog.min.js +3 -3
  669. data/bower_components/jquery-ui/ui/minified/draggable.min.js +3 -3
  670. data/bower_components/jquery-ui/ui/minified/droppable.min.js +3 -3
  671. data/bower_components/jquery-ui/ui/minified/effect-blind.min.js +3 -3
  672. data/bower_components/jquery-ui/ui/minified/effect-bounce.min.js +3 -3
  673. data/bower_components/jquery-ui/ui/minified/effect-clip.min.js +3 -3
  674. data/bower_components/jquery-ui/ui/minified/effect-drop.min.js +3 -3
  675. data/bower_components/jquery-ui/ui/minified/effect-explode.min.js +3 -3
  676. data/bower_components/jquery-ui/ui/minified/effect-fade.min.js +3 -3
  677. data/bower_components/jquery-ui/ui/minified/effect-fold.min.js +3 -3
  678. data/bower_components/jquery-ui/ui/minified/effect-highlight.min.js +3 -3
  679. data/bower_components/jquery-ui/ui/minified/effect-puff.min.js +3 -3
  680. data/bower_components/jquery-ui/ui/minified/effect-pulsate.min.js +3 -3
  681. data/bower_components/jquery-ui/ui/minified/effect-scale.min.js +3 -3
  682. data/bower_components/jquery-ui/ui/minified/effect-shake.min.js +3 -3
  683. data/bower_components/jquery-ui/ui/minified/effect-size.min.js +3 -3
  684. data/bower_components/jquery-ui/ui/minified/effect-slide.min.js +3 -3
  685. data/bower_components/jquery-ui/ui/minified/effect-transfer.min.js +3 -3
  686. data/bower_components/jquery-ui/ui/minified/effect.min.js +3 -3
  687. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-af.min.js +3 -3
  688. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ar-DZ.min.js +3 -3
  689. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ar.min.js +3 -3
  690. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-az.min.js +3 -3
  691. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-be.min.js +3 -3
  692. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-bg.min.js +3 -3
  693. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-bs.min.js +3 -3
  694. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ca.min.js +3 -3
  695. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-cs.min.js +3 -3
  696. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-cy-GB.min.js +3 -3
  697. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-da.min.js +3 -3
  698. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-de.min.js +3 -3
  699. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-el.min.js +3 -3
  700. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-en-AU.min.js +3 -3
  701. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-en-GB.min.js +3 -3
  702. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-en-NZ.min.js +3 -3
  703. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-eo.min.js +3 -3
  704. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-es.min.js +3 -3
  705. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-et.min.js +3 -3
  706. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-eu.min.js +3 -3
  707. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-fa.min.js +3 -3
  708. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-fi.min.js +3 -3
  709. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-fo.min.js +3 -3
  710. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-fr-CA.min.js +3 -3
  711. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-fr-CH.min.js +3 -3
  712. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-fr.min.js +3 -3
  713. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-gl.min.js +3 -3
  714. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-he.min.js +3 -3
  715. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-hi.min.js +3 -3
  716. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-hr.min.js +2 -2
  717. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-hu.min.js +2 -2
  718. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-hy.min.js +2 -2
  719. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-id.min.js +2 -2
  720. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-is.min.js +2 -2
  721. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-it-CH.min.js +2 -2
  722. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-it.min.js +2 -2
  723. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ja.min.js +2 -2
  724. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ka.min.js +2 -2
  725. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-kk.min.js +2 -2
  726. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-km.min.js +2 -2
  727. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ko.min.js +2 -2
  728. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ky.min.js +2 -2
  729. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-lb.min.js +2 -2
  730. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-lt.min.js +2 -2
  731. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-lv.min.js +2 -2
  732. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-mk.min.js +2 -2
  733. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ml.min.js +2 -2
  734. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ms.min.js +2 -2
  735. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-nb.min.js +2 -2
  736. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-nl-BE.min.js +2 -2
  737. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-nl.min.js +2 -2
  738. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-nn.min.js +2 -2
  739. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-no.min.js +2 -2
  740. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-pl.min.js +2 -2
  741. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-pt-BR.min.js +2 -2
  742. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-pt.min.js +2 -2
  743. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-rm.min.js +2 -2
  744. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ro.min.js +2 -2
  745. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ru.min.js +2 -2
  746. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-sk.min.js +2 -2
  747. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-sl.min.js +2 -2
  748. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-sq.min.js +2 -2
  749. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-sr-SR.min.js +2 -2
  750. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-sr.min.js +2 -2
  751. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-sv.min.js +2 -2
  752. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ta.min.js +2 -2
  753. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-th.min.js +2 -2
  754. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-tj.min.js +2 -2
  755. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-tr.min.js +2 -2
  756. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-uk.min.js +2 -2
  757. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-vi.min.js +2 -2
  758. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-zh-CN.min.js +2 -2
  759. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-zh-HK.min.js +2 -2
  760. data/bower_components/jquery-ui/ui/minified/i18n/datepicker-zh-TW.min.js +2 -2
  761. data/bower_components/jquery-ui/ui/minified/menu.min.js +3 -3
  762. data/bower_components/jquery-ui/ui/minified/mouse.min.js +3 -3
  763. data/bower_components/jquery-ui/ui/minified/position.min.js +3 -3
  764. data/bower_components/jquery-ui/ui/minified/progressbar.min.js +3 -3
  765. data/bower_components/jquery-ui/ui/minified/resizable.min.js +3 -3
  766. data/bower_components/jquery-ui/ui/minified/selectable.min.js +3 -3
  767. data/bower_components/jquery-ui/ui/minified/selectmenu.min.js +3 -3
  768. data/bower_components/jquery-ui/ui/minified/slider.min.js +3 -3
  769. data/bower_components/jquery-ui/ui/minified/sortable.min.js +3 -3
  770. data/bower_components/jquery-ui/ui/minified/spinner.min.js +3 -3
  771. data/bower_components/jquery-ui/ui/minified/tabs.min.js +3 -3
  772. data/bower_components/jquery-ui/ui/minified/tooltip.min.js +3 -3
  773. data/bower_components/jquery-ui/ui/minified/widget.min.js +3 -3
  774. data/bower_components/jquery-ui/ui/mouse.js +21 -9
  775. data/bower_components/jquery-ui/ui/position.js +9 -6
  776. data/bower_components/jquery-ui/ui/progressbar.js +3 -3
  777. data/bower_components/jquery-ui/ui/resizable.js +290 -166
  778. data/bower_components/jquery-ui/ui/selectable.js +3 -3
  779. data/bower_components/jquery-ui/ui/selectmenu.js +74 -14
  780. data/bower_components/jquery-ui/ui/slider.js +34 -5
  781. data/bower_components/jquery-ui/ui/sortable.js +56 -51
  782. data/bower_components/jquery-ui/ui/spinner.js +3 -3
  783. data/bower_components/jquery-ui/ui/tabs.js +57 -37
  784. data/bower_components/jquery-ui/ui/tooltip.js +58 -29
  785. data/bower_components/jquery-ui/ui/widget.js +30 -15
  786. data/bower_components/jquery/.bower.json +7 -6
  787. data/bower_components/jquery/bower.json +3 -2
  788. data/bower_components/jquery/dist/jquery.js +283 -263
  789. data/bower_components/jquery/dist/jquery.min.js +4 -4
  790. data/bower_components/jquery/dist/jquery.min.map +1 -1
  791. data/bower_components/jquery/src/ajax.js +11 -31
  792. data/bower_components/jquery/src/ajax/xhr.js +3 -2
  793. data/bower_components/jquery/src/attributes/attr.js +0 -2
  794. data/bower_components/jquery/src/attributes/classes.js +4 -4
  795. data/bower_components/jquery/src/attributes/prop.js +1 -3
  796. data/bower_components/jquery/src/attributes/support.js +8 -8
  797. data/bower_components/jquery/src/attributes/val.js +3 -5
  798. data/bower_components/jquery/src/core.js +12 -8
  799. data/bower_components/jquery/src/core/init.js +3 -3
  800. data/bower_components/jquery/src/core/ready.js +1 -1
  801. data/bower_components/jquery/src/css.js +28 -29
  802. data/bower_components/jquery/src/css/addGetHookIf.js +2 -4
  803. data/bower_components/jquery/src/css/curCSS.js +1 -1
  804. data/bower_components/jquery/src/css/defaultDisplay.js +1 -1
  805. data/bower_components/jquery/src/css/support.js +5 -0
  806. data/bower_components/jquery/src/css/var/getStyles.js +8 -1
  807. data/bower_components/jquery/src/data.js +10 -11
  808. data/bower_components/jquery/src/data/Data.js +3 -3
  809. data/bower_components/jquery/src/deferred.js +2 -2
  810. data/bower_components/jquery/src/dimensions.js +1 -1
  811. data/bower_components/jquery/src/effects.js +29 -30
  812. data/bower_components/jquery/src/effects/Tween.js +7 -7
  813. data/bower_components/jquery/src/event.js +5 -5
  814. data/bower_components/jquery/src/event/ajax.js +13 -0
  815. data/bower_components/jquery/src/exports/global.js +2 -2
  816. data/bower_components/jquery/src/intro.js +8 -8
  817. data/bower_components/jquery/src/jquery.js +1 -0
  818. data/bower_components/jquery/src/manipulation.js +9 -11
  819. data/bower_components/jquery/src/manipulation/support.js +6 -5
  820. data/bower_components/jquery/src/offset.js +9 -6
  821. data/bower_components/jquery/src/queue.js +3 -3
  822. data/bower_components/jquery/src/sizzle/dist/sizzle.js +83 -60
  823. data/bower_components/jquery/src/sizzle/dist/sizzle.min.js +3 -3
  824. data/bower_components/jquery/src/sizzle/dist/sizzle.min.map +1 -1
  825. data/bower_components/jquery/src/traversing.js +3 -4
  826. data/bower_components/jquery/src/wrap.js +1 -0
  827. data/bower_components/underscore/.bower.json +9 -7
  828. data/bower_components/underscore/LICENSE +1 -1
  829. data/bower_components/underscore/bower.json +2 -3
  830. data/bower_components/underscore/underscore-min.js +6 -0
  831. data/bower_components/underscore/underscore-min.map +1 -0
  832. data/bower_components/underscore/underscore.js +756 -551
  833. data/lib/rubyneat_dashboard.rb +27 -4
  834. data/lib/rubyneat_dashboard/main.rb +15 -10
  835. data/lib/rubyneat_dashboard/rubyneat_api.rb +9 -0
  836. data/lib/rubyneat_dashboard/rubyneat_dsl.rb +12 -1
  837. data/rubyneat_dashboard.gemspec +93 -44
  838. data/views/home.haml +0 -5
  839. data/views/json/population.rabl +5 -0
  840. data/views/json/population/critter/genotype.rabl +9 -0
  841. data/views/json/population/critter/phenotype.rabl +2 -0
  842. data/views/layout.haml +1 -1
  843. data/views/population/home.haml +1 -2
  844. metadata +201 -42
  845. data/bower_components/animate.css/.editorconfig +0 -11
  846. data/bower_components/animate.css/.gitignore +0 -4
  847. data/bower_components/animate.css/README.md +0 -73
  848. data/bower_components/d3/.spmignore +0 -4
  849. data/bower_components/d3/composer.json +0 -19
  850. data/bower_components/jquery-placeholder/.gitattributes +0 -1
  851. data/bower_components/jquery-placeholder/.gitignore +0 -1
  852. data/bower_components/jquery-placeholder/LICENSE-MIT.txt +0 -20
  853. data/bower_components/jquery-placeholder/README.md +0 -76
  854. data/bower_components/jquery-placeholder/demo.html +0 -55
  855. data/bower_components/jquery-placeholder/tests/index.html +0 -32
  856. data/bower_components/jquery-placeholder/tests/tests.js +0 -134
  857. data/bower_components/jquery-ui/themes/base/images/animated-overlay.gif +0 -0
  858. data/bower_components/underscore/.editorconfig +0 -14
  859. data/bower_components/underscore/.gitignore +0 -2
  860. data/bower_components/underscore/component.json +0 -10
  861. data/bower_components/underscore/package.json +0 -27
@@ -37,7 +37,7 @@ Chrome 32+ on Android with `width=device-width` in the [viewport meta tag](https
37
37
 
38
38
  Same goes for Chrome on Android (all versions) with `user-scalable=no` in the viewport meta tag. But be aware that `user-scalable=no` also disables pinch zooming, which may be an accessibility concern.
39
39
 
40
- For IE10, you can use `-ms-touch-action: none` to disable double-tap-to-zoom on certain elements (like links and buttons) as described in [this MSDN blog post](http://blogs.msdn.com/b/askie/archive/2013/01/06/how-to-implement-the-ms-touch-action-none-property-to-disable-double-tap-zoom-on-touch-devices.aspx).
40
+ For IE11+, you can use `touch-action: manipulation;` to disable double-tap-to-zoom on certain elements (like links and buttons). For IE10 use `-ms-touch-action: manipulation`.
41
41
 
42
42
  ## Usage ##
43
43
 
@@ -52,14 +52,14 @@ The script must be loaded prior to instantiating FastClick on any element of the
52
52
  To instantiate FastClick on the `body`, which is the recommended method of use:
53
53
 
54
54
  ```js
55
- window.addEventListener('load', function() {
56
- FastClick.attach(document.body);
57
- }, false);
55
+ if ('addEventListener' in document) {
56
+ document.addEventListener('DOMContentLoaded', function() {
57
+ FastClick.attach(document.body);
58
+ }, false);
59
+ }
58
60
  ```
59
61
 
60
- Don't forget to add a [shim](https://developer.mozilla.org/en-US/docs/DOM/EventTarget.removeEventListener#Compatibility) for `addEventListener` if you want to support IE8 and below.
61
-
62
- Otherwise, if you're using jQuery:
62
+ Or, if you're using jQuery:
63
63
 
64
64
  ```js
65
65
  $(function() {
@@ -78,13 +78,20 @@ attachFastClick(document.body);
78
78
 
79
79
  Run `make` to build a minified version of FastClick using the Closure Compiler REST API. The minified file is saved to `build/fastclick.min.js` or you can [download a pre-minified version](http://build.origami.ft.com/bundles/js?modules=fastclick).
80
80
 
81
+ Note: the pre-minified version is built using [our build service](http://origami.ft.com/docs/developer-guide/build-service/) which exposes the `FastClick` object through `Origami.fastclick` and will have the Browserify/CommonJS API (see above).
82
+
83
+ ```js
84
+ var attachFastClick = Origami.fastclick;
85
+ attachFastClick(document.body);
86
+ ```
87
+
81
88
  ### AMD ###
82
89
 
83
90
  FastClick has AMD (Asynchronous Module Definition) support. This allows it to be lazy-loaded with an AMD loader, such as [RequireJS](http://requirejs.org/). Note that when using the AMD style require, the full `FastClick` object will be returned, _not_ `FastClick.attach`
84
91
 
85
92
  ```js
86
93
  var FastClick = require('fastclick');
87
- FastClick.attach(document.body);
94
+ FastClick.attach(document.body, options);
88
95
  ```
89
96
 
90
97
  ### Package managers ###
@@ -1,6 +1,5 @@
1
1
  {
2
2
  "name": "fastclick",
3
- "version": "1.0.3",
4
3
  "main": "lib/fastclick.js",
5
4
  "ignore": [
6
5
  "**/.*",
@@ -1,821 +1,841 @@
1
- /**
2
- * @preserve FastClick: polyfill to remove click delays on browsers with touch UIs.
3
- *
4
- * @version 1.0.3
5
- * @codingstandard ftlabs-jsv2
6
- * @copyright The Financial Times Limited [All Rights Reserved]
7
- * @license MIT License (see LICENSE.txt)
8
- */
9
-
10
- /*jslint browser:true, node:true*/
11
- /*global define, Event, Node*/
12
-
13
-
14
- /**
15
- * Instantiate fast-clicking listeners on the specified layer.
16
- *
17
- * @constructor
18
- * @param {Element} layer The layer to listen on
19
- * @param {Object} options The options to override the defaults
20
- */
21
- function FastClick(layer, options) {
1
+ ;(function () {
22
2
  'use strict';
23
- var oldOnClick;
24
-
25
- options = options || {};
26
3
 
27
4
  /**
28
- * Whether a click is currently being tracked.
5
+ * @preserve FastClick: polyfill to remove click delays on browsers with touch UIs.
29
6
  *
30
- * @type boolean
7
+ * @codingstandard ftlabs-jsv2
8
+ * @copyright The Financial Times Limited [All Rights Reserved]
9
+ * @license MIT License (see LICENSE.txt)
31
10
  */
32
- this.trackingClick = false;
11
+
12
+ /*jslint browser:true, node:true*/
13
+ /*global define, Event, Node*/
33
14
 
34
15
 
35
16
  /**
36
- * Timestamp for when click tracking started.
17
+ * Instantiate fast-clicking listeners on the specified layer.
37
18
  *
38
- * @type number
19
+ * @constructor
20
+ * @param {Element} layer The layer to listen on
21
+ * @param {Object} [options={}] The options to override the defaults
39
22
  */
40
- this.trackingClickStart = 0;
23
+ function FastClick(layer, options) {
24
+ var oldOnClick;
41
25
 
26
+ options = options || {};
27
+
28
+ /**
29
+ * Whether a click is currently being tracked.
30
+ *
31
+ * @type boolean
32
+ */
33
+ this.trackingClick = false;
34
+
35
+
36
+ /**
37
+ * Timestamp for when click tracking started.
38
+ *
39
+ * @type number
40
+ */
41
+ this.trackingClickStart = 0;
42
42
 
43
- /**
44
- * The element being tracked for a click.
45
- *
46
- * @type EventTarget
47
- */
48
- this.targetElement = null;
49
43
 
44
+ /**
45
+ * The element being tracked for a click.
46
+ *
47
+ * @type EventTarget
48
+ */
49
+ this.targetElement = null;
50
+
51
+
52
+ /**
53
+ * X-coordinate of touch start event.
54
+ *
55
+ * @type number
56
+ */
57
+ this.touchStartX = 0;
58
+
59
+
60
+ /**
61
+ * Y-coordinate of touch start event.
62
+ *
63
+ * @type number
64
+ */
65
+ this.touchStartY = 0;
66
+
67
+
68
+ /**
69
+ * ID of the last touch, retrieved from Touch.identifier.
70
+ *
71
+ * @type number
72
+ */
73
+ this.lastTouchIdentifier = 0;
74
+
75
+
76
+ /**
77
+ * Touchmove boundary, beyond which a click will be cancelled.
78
+ *
79
+ * @type number
80
+ */
81
+ this.touchBoundary = options.touchBoundary || 10;
82
+
83
+
84
+ /**
85
+ * The FastClick layer.
86
+ *
87
+ * @type Element
88
+ */
89
+ this.layer = layer;
90
+
91
+ /**
92
+ * The minimum time between tap(touchstart and touchend) events
93
+ *
94
+ * @type number
95
+ */
96
+ this.tapDelay = options.tapDelay || 200;
97
+
98
+ /**
99
+ * The maximum time for a tap
100
+ *
101
+ * @type number
102
+ */
103
+ this.tapTimeout = options.tapTimeout || 700;
104
+
105
+ if (FastClick.notNeeded(layer)) {
106
+ return;
107
+ }
108
+
109
+ // Some old versions of Android don't have Function.prototype.bind
110
+ function bind(method, context) {
111
+ return function() { return method.apply(context, arguments); };
112
+ }
113
+
114
+
115
+ var methods = ['onMouse', 'onClick', 'onTouchStart', 'onTouchMove', 'onTouchEnd', 'onTouchCancel'];
116
+ var context = this;
117
+ for (var i = 0, l = methods.length; i < l; i++) {
118
+ context[methods[i]] = bind(context[methods[i]], context);
119
+ }
120
+
121
+ // Set up event handlers as required
122
+ if (deviceIsAndroid) {
123
+ layer.addEventListener('mouseover', this.onMouse, true);
124
+ layer.addEventListener('mousedown', this.onMouse, true);
125
+ layer.addEventListener('mouseup', this.onMouse, true);
126
+ }
127
+
128
+ layer.addEventListener('click', this.onClick, true);
129
+ layer.addEventListener('touchstart', this.onTouchStart, false);
130
+ layer.addEventListener('touchmove', this.onTouchMove, false);
131
+ layer.addEventListener('touchend', this.onTouchEnd, false);
132
+ layer.addEventListener('touchcancel', this.onTouchCancel, false);
133
+
134
+ // Hack is required for browsers that don't support Event#stopImmediatePropagation (e.g. Android 2)
135
+ // which is how FastClick normally stops click events bubbling to callbacks registered on the FastClick
136
+ // layer when they are cancelled.
137
+ if (!Event.prototype.stopImmediatePropagation) {
138
+ layer.removeEventListener = function(type, callback, capture) {
139
+ var rmv = Node.prototype.removeEventListener;
140
+ if (type === 'click') {
141
+ rmv.call(layer, type, callback.hijacked || callback, capture);
142
+ } else {
143
+ rmv.call(layer, type, callback, capture);
144
+ }
145
+ };
146
+
147
+ layer.addEventListener = function(type, callback, capture) {
148
+ var adv = Node.prototype.addEventListener;
149
+ if (type === 'click') {
150
+ adv.call(layer, type, callback.hijacked || (callback.hijacked = function(event) {
151
+ if (!event.propagationStopped) {
152
+ callback(event);
153
+ }
154
+ }), capture);
155
+ } else {
156
+ adv.call(layer, type, callback, capture);
157
+ }
158
+ };
159
+ }
160
+
161
+ // If a handler is already declared in the element's onclick attribute, it will be fired before
162
+ // FastClick's onClick handler. Fix this by pulling out the user-defined handler function and
163
+ // adding it as listener.
164
+ if (typeof layer.onclick === 'function') {
165
+
166
+ // Android browser on at least 3.2 requires a new reference to the function in layer.onclick
167
+ // - the old one won't work if passed to addEventListener directly.
168
+ oldOnClick = layer.onclick;
169
+ layer.addEventListener('click', function(event) {
170
+ oldOnClick(event);
171
+ }, false);
172
+ layer.onclick = null;
173
+ }
174
+ }
175
+
176
+ /**
177
+ * Windows Phone 8.1 fakes user agent string to look like Android and iPhone.
178
+ *
179
+ * @type boolean
180
+ */
181
+ var deviceIsWindowsPhone = navigator.userAgent.indexOf("Windows Phone") >= 0;
50
182
 
51
183
  /**
52
- * X-coordinate of touch start event.
184
+ * Android requires exceptions.
53
185
  *
54
- * @type number
186
+ * @type boolean
55
187
  */
56
- this.touchStartX = 0;
188
+ var deviceIsAndroid = navigator.userAgent.indexOf('Android') > 0 && !deviceIsWindowsPhone;
57
189
 
58
190
 
59
191
  /**
60
- * Y-coordinate of touch start event.
192
+ * iOS requires exceptions.
61
193
  *
62
- * @type number
194
+ * @type boolean
63
195
  */
64
- this.touchStartY = 0;
196
+ var deviceIsIOS = /iP(ad|hone|od)/.test(navigator.userAgent) && !deviceIsWindowsPhone;
65
197
 
66
198
 
67
199
  /**
68
- * ID of the last touch, retrieved from Touch.identifier.
200
+ * iOS 4 requires an exception for select elements.
69
201
  *
70
- * @type number
202
+ * @type boolean
71
203
  */
72
- this.lastTouchIdentifier = 0;
204
+ var deviceIsIOS4 = deviceIsIOS && (/OS 4_\d(_\d)?/).test(navigator.userAgent);
73
205
 
74
206
 
75
207
  /**
76
- * Touchmove boundary, beyond which a click will be cancelled.
208
+ * iOS 6.0-7.* requires the target element to be manually derived
77
209
  *
78
- * @type number
210
+ * @type boolean
79
211
  */
80
- this.touchBoundary = options.touchBoundary || 10;
81
-
212
+ var deviceIsIOSWithBadTarget = deviceIsIOS && (/OS [6-7]_\d/).test(navigator.userAgent);
82
213
 
83
214
  /**
84
- * The FastClick layer.
215
+ * BlackBerry requires exceptions.
85
216
  *
86
- * @type Element
217
+ * @type boolean
87
218
  */
88
- this.layer = layer;
219
+ var deviceIsBlackBerry10 = navigator.userAgent.indexOf('BB10') > 0;
89
220
 
90
221
  /**
91
- * The minimum time between tap(touchstart and touchend) events
222
+ * Determine whether a given element requires a native click.
92
223
  *
93
- * @type number
224
+ * @param {EventTarget|Element} target Target DOM element
225
+ * @returns {boolean} Returns true if the element needs a native click
94
226
  */
95
- this.tapDelay = options.tapDelay || 200;
227
+ FastClick.prototype.needsClick = function(target) {
228
+ switch (target.nodeName.toLowerCase()) {
96
229
 
97
- if (FastClick.notNeeded(layer)) {
98
- return;
99
- }
100
-
101
- // Some old versions of Android don't have Function.prototype.bind
102
- function bind(method, context) {
103
- return function() { return method.apply(context, arguments); };
104
- }
105
-
106
-
107
- var methods = ['onMouse', 'onClick', 'onTouchStart', 'onTouchMove', 'onTouchEnd', 'onTouchCancel'];
108
- var context = this;
109
- for (var i = 0, l = methods.length; i < l; i++) {
110
- context[methods[i]] = bind(context[methods[i]], context);
111
- }
230
+ // Don't send a synthetic click to disabled inputs (issue #62)
231
+ case 'button':
232
+ case 'select':
233
+ case 'textarea':
234
+ if (target.disabled) {
235
+ return true;
236
+ }
112
237
 
113
- // Set up event handlers as required
114
- if (deviceIsAndroid) {
115
- layer.addEventListener('mouseover', this.onMouse, true);
116
- layer.addEventListener('mousedown', this.onMouse, true);
117
- layer.addEventListener('mouseup', this.onMouse, true);
118
- }
238
+ break;
239
+ case 'input':
119
240
 
120
- layer.addEventListener('click', this.onClick, true);
121
- layer.addEventListener('touchstart', this.onTouchStart, false);
122
- layer.addEventListener('touchmove', this.onTouchMove, false);
123
- layer.addEventListener('touchend', this.onTouchEnd, false);
124
- layer.addEventListener('touchcancel', this.onTouchCancel, false);
125
-
126
- // Hack is required for browsers that don't support Event#stopImmediatePropagation (e.g. Android 2)
127
- // which is how FastClick normally stops click events bubbling to callbacks registered on the FastClick
128
- // layer when they are cancelled.
129
- if (!Event.prototype.stopImmediatePropagation) {
130
- layer.removeEventListener = function(type, callback, capture) {
131
- var rmv = Node.prototype.removeEventListener;
132
- if (type === 'click') {
133
- rmv.call(layer, type, callback.hijacked || callback, capture);
134
- } else {
135
- rmv.call(layer, type, callback, capture);
241
+ // File inputs need real clicks on iOS 6 due to a browser bug (issue #68)
242
+ if ((deviceIsIOS && target.type === 'file') || target.disabled) {
243
+ return true;
136
244
  }
137
- };
138
-
139
- layer.addEventListener = function(type, callback, capture) {
140
- var adv = Node.prototype.addEventListener;
141
- if (type === 'click') {
142
- adv.call(layer, type, callback.hijacked || (callback.hijacked = function(event) {
143
- if (!event.propagationStopped) {
144
- callback(event);
145
- }
146
- }), capture);
147
- } else {
148
- adv.call(layer, type, callback, capture);
149
- }
150
- };
151
- }
152
245
 
153
- // If a handler is already declared in the element's onclick attribute, it will be fired before
154
- // FastClick's onClick handler. Fix this by pulling out the user-defined handler function and
155
- // adding it as listener.
156
- if (typeof layer.onclick === 'function') {
157
-
158
- // Android browser on at least 3.2 requires a new reference to the function in layer.onclick
159
- // - the old one won't work if passed to addEventListener directly.
160
- oldOnClick = layer.onclick;
161
- layer.addEventListener('click', function(event) {
162
- oldOnClick(event);
163
- }, false);
164
- layer.onclick = null;
165
- }
166
- }
167
-
168
-
169
- /**
170
- * Android requires exceptions.
171
- *
172
- * @type boolean
173
- */
174
- var deviceIsAndroid = navigator.userAgent.indexOf('Android') > 0;
175
-
176
-
177
- /**
178
- * iOS requires exceptions.
179
- *
180
- * @type boolean
181
- */
182
- var deviceIsIOS = /iP(ad|hone|od)/.test(navigator.userAgent);
183
-
184
-
185
- /**
186
- * iOS 4 requires an exception for select elements.
187
- *
188
- * @type boolean
189
- */
190
- var deviceIsIOS4 = deviceIsIOS && (/OS 4_\d(_\d)?/).test(navigator.userAgent);
191
-
192
-
193
- /**
194
- * iOS 6.0(+?) requires the target element to be manually derived
195
- *
196
- * @type boolean
197
- */
198
- var deviceIsIOSWithBadTarget = deviceIsIOS && (/OS ([6-9]|\d{2})_\d/).test(navigator.userAgent);
199
-
200
- /**
201
- * BlackBerry requires exceptions.
202
- *
203
- * @type boolean
204
- */
205
- var deviceIsBlackBerry10 = navigator.userAgent.indexOf('BB10') > 0;
206
-
207
- /**
208
- * Determine whether a given element requires a native click.
209
- *
210
- * @param {EventTarget|Element} target Target DOM element
211
- * @returns {boolean} Returns true if the element needs a native click
212
- */
213
- FastClick.prototype.needsClick = function(target) {
214
- 'use strict';
215
- switch (target.nodeName.toLowerCase()) {
216
-
217
- // Don't send a synthetic click to disabled inputs (issue #62)
218
- case 'button':
219
- case 'select':
220
- case 'textarea':
221
- if (target.disabled) {
246
+ break;
247
+ case 'label':
248
+ case 'iframe': // iOS8 homescreen apps can prevent events bubbling into frames
249
+ case 'video':
222
250
  return true;
223
251
  }
224
252
 
225
- break;
226
- case 'input':
253
+ return (/\bneedsclick\b/).test(target.className);
254
+ };
255
+
227
256
 
228
- // File inputs need real clicks on iOS 6 due to a browser bug (issue #68)
229
- if ((deviceIsIOS && target.type === 'file') || target.disabled) {
257
+ /**
258
+ * Determine whether a given element requires a call to focus to simulate click into element.
259
+ *
260
+ * @param {EventTarget|Element} target Target DOM element
261
+ * @returns {boolean} Returns true if the element requires a call to focus to simulate native click.
262
+ */
263
+ FastClick.prototype.needsFocus = function(target) {
264
+ switch (target.nodeName.toLowerCase()) {
265
+ case 'textarea':
230
266
  return true;
231
- }
267
+ case 'select':
268
+ return !deviceIsAndroid;
269
+ case 'input':
270
+ switch (target.type) {
271
+ case 'button':
272
+ case 'checkbox':
273
+ case 'file':
274
+ case 'image':
275
+ case 'radio':
276
+ case 'submit':
277
+ return false;
278
+ }
232
279
 
233
- break;
234
- case 'label':
235
- case 'video':
236
- return true;
237
- }
280
+ // No point in attempting to focus disabled inputs
281
+ return !target.disabled && !target.readOnly;
282
+ default:
283
+ return (/\bneedsfocus\b/).test(target.className);
284
+ }
285
+ };
238
286
 
239
- return (/\bneedsclick\b/).test(target.className);
240
- };
241
287
 
288
+ /**
289
+ * Send a click event to the specified element.
290
+ *
291
+ * @param {EventTarget|Element} targetElement
292
+ * @param {Event} event
293
+ */
294
+ FastClick.prototype.sendClick = function(targetElement, event) {
295
+ var clickEvent, touch;
242
296
 
243
- /**
244
- * Determine whether a given element requires a call to focus to simulate click into element.
245
- *
246
- * @param {EventTarget|Element} target Target DOM element
247
- * @returns {boolean} Returns true if the element requires a call to focus to simulate native click.
248
- */
249
- FastClick.prototype.needsFocus = function(target) {
250
- 'use strict';
251
- switch (target.nodeName.toLowerCase()) {
252
- case 'textarea':
253
- return true;
254
- case 'select':
255
- return !deviceIsAndroid;
256
- case 'input':
257
- switch (target.type) {
258
- case 'button':
259
- case 'checkbox':
260
- case 'file':
261
- case 'image':
262
- case 'radio':
263
- case 'submit':
264
- return false;
297
+ // On some Android devices activeElement needs to be blurred otherwise the synthetic click will have no effect (#24)
298
+ if (document.activeElement && document.activeElement !== targetElement) {
299
+ document.activeElement.blur();
265
300
  }
266
301
 
267
- // No point in attempting to focus disabled inputs
268
- return !target.disabled && !target.readOnly;
269
- default:
270
- return (/\bneedsfocus\b/).test(target.className);
271
- }
272
- };
273
-
302
+ touch = event.changedTouches[0];
274
303
 
275
- /**
276
- * Send a click event to the specified element.
277
- *
278
- * @param {EventTarget|Element} targetElement
279
- * @param {Event} event
280
- */
281
- FastClick.prototype.sendClick = function(targetElement, event) {
282
- 'use strict';
283
- var clickEvent, touch;
304
+ // Synthesise a click event, with an extra attribute so it can be tracked
305
+ clickEvent = document.createEvent('MouseEvents');
306
+ clickEvent.initMouseEvent(this.determineEventType(targetElement), true, true, window, 1, touch.screenX, touch.screenY, touch.clientX, touch.clientY, false, false, false, false, 0, null);
307
+ clickEvent.forwardedTouchEvent = true;
308
+ targetElement.dispatchEvent(clickEvent);
309
+ };
284
310
 
285
- // On some Android devices activeElement needs to be blurred otherwise the synthetic click will have no effect (#24)
286
- if (document.activeElement && document.activeElement !== targetElement) {
287
- document.activeElement.blur();
288
- }
311
+ FastClick.prototype.determineEventType = function(targetElement) {
289
312
 
290
- touch = event.changedTouches[0];
313
+ //Issue #159: Android Chrome Select Box does not open with a synthetic click event
314
+ if (deviceIsAndroid && targetElement.tagName.toLowerCase() === 'select') {
315
+ return 'mousedown';
316
+ }
291
317
 
292
- // Synthesise a click event, with an extra attribute so it can be tracked
293
- clickEvent = document.createEvent('MouseEvents');
294
- clickEvent.initMouseEvent(this.determineEventType(targetElement), true, true, window, 1, touch.screenX, touch.screenY, touch.clientX, touch.clientY, false, false, false, false, 0, null);
295
- clickEvent.forwardedTouchEvent = true;
296
- targetElement.dispatchEvent(clickEvent);
297
- };
318
+ return 'click';
319
+ };
298
320
 
299
- FastClick.prototype.determineEventType = function(targetElement) {
300
- 'use strict';
301
321
 
302
- //Issue #159: Android Chrome Select Box does not open with a synthetic click event
303
- if (deviceIsAndroid && targetElement.tagName.toLowerCase() === 'select') {
304
- return 'mousedown';
305
- }
322
+ /**
323
+ * @param {EventTarget|Element} targetElement
324
+ */
325
+ FastClick.prototype.focus = function(targetElement) {
326
+ var length;
306
327
 
307
- return 'click';
308
- };
328
+ // Issue #160: on iOS 7, some input elements (e.g. date datetime month) throw a vague TypeError on setSelectionRange. These elements don't have an integer value for the selectionStart and selectionEnd properties, but unfortunately that can't be used for detection because accessing the properties also throws a TypeError. Just check the type instead. Filed as Apple bug #15122724.
329
+ if (deviceIsIOS && targetElement.setSelectionRange && targetElement.type.indexOf('date') !== 0 && targetElement.type !== 'time' && targetElement.type !== 'month') {
330
+ length = targetElement.value.length;
331
+ targetElement.setSelectionRange(length, length);
332
+ } else {
333
+ targetElement.focus();
334
+ }
335
+ };
309
336
 
310
337
 
311
- /**
312
- * @param {EventTarget|Element} targetElement
313
- */
314
- FastClick.prototype.focus = function(targetElement) {
315
- 'use strict';
316
- var length;
338
+ /**
339
+ * Check whether the given target element is a child of a scrollable layer and if so, set a flag on it.
340
+ *
341
+ * @param {EventTarget|Element} targetElement
342
+ */
343
+ FastClick.prototype.updateScrollParent = function(targetElement) {
344
+ var scrollParent, parentElement;
317
345
 
318
- // Issue #160: on iOS 7, some input elements (e.g. date datetime) throw a vague TypeError on setSelectionRange. These elements don't have an integer value for the selectionStart and selectionEnd properties, but unfortunately that can't be used for detection because accessing the properties also throws a TypeError. Just check the type instead. Filed as Apple bug #15122724.
319
- if (deviceIsIOS && targetElement.setSelectionRange && targetElement.type.indexOf('date') !== 0 && targetElement.type !== 'time') {
320
- length = targetElement.value.length;
321
- targetElement.setSelectionRange(length, length);
322
- } else {
323
- targetElement.focus();
324
- }
325
- };
346
+ scrollParent = targetElement.fastClickScrollParent;
326
347
 
348
+ // Attempt to discover whether the target element is contained within a scrollable layer. Re-check if the
349
+ // target element was moved to another parent.
350
+ if (!scrollParent || !scrollParent.contains(targetElement)) {
351
+ parentElement = targetElement;
352
+ do {
353
+ if (parentElement.scrollHeight > parentElement.offsetHeight) {
354
+ scrollParent = parentElement;
355
+ targetElement.fastClickScrollParent = parentElement;
356
+ break;
357
+ }
327
358
 
328
- /**
329
- * Check whether the given target element is a child of a scrollable layer and if so, set a flag on it.
330
- *
331
- * @param {EventTarget|Element} targetElement
332
- */
333
- FastClick.prototype.updateScrollParent = function(targetElement) {
334
- 'use strict';
335
- var scrollParent, parentElement;
336
-
337
- scrollParent = targetElement.fastClickScrollParent;
338
-
339
- // Attempt to discover whether the target element is contained within a scrollable layer. Re-check if the
340
- // target element was moved to another parent.
341
- if (!scrollParent || !scrollParent.contains(targetElement)) {
342
- parentElement = targetElement;
343
- do {
344
- if (parentElement.scrollHeight > parentElement.offsetHeight) {
345
- scrollParent = parentElement;
346
- targetElement.fastClickScrollParent = parentElement;
347
- break;
348
- }
359
+ parentElement = parentElement.parentElement;
360
+ } while (parentElement);
361
+ }
349
362
 
350
- parentElement = parentElement.parentElement;
351
- } while (parentElement);
352
- }
363
+ // Always update the scroll top tracker if possible.
364
+ if (scrollParent) {
365
+ scrollParent.fastClickLastScrollTop = scrollParent.scrollTop;
366
+ }
367
+ };
353
368
 
354
- // Always update the scroll top tracker if possible.
355
- if (scrollParent) {
356
- scrollParent.fastClickLastScrollTop = scrollParent.scrollTop;
357
- }
358
- };
359
369
 
370
+ /**
371
+ * @param {EventTarget} targetElement
372
+ * @returns {Element|EventTarget}
373
+ */
374
+ FastClick.prototype.getTargetElementFromEventTarget = function(eventTarget) {
360
375
 
361
- /**
362
- * @param {EventTarget} targetElement
363
- * @returns {Element|EventTarget}
364
- */
365
- FastClick.prototype.getTargetElementFromEventTarget = function(eventTarget) {
366
- 'use strict';
376
+ // On some older browsers (notably Safari on iOS 4.1 - see issue #56) the event target may be a text node.
377
+ if (eventTarget.nodeType === Node.TEXT_NODE) {
378
+ return eventTarget.parentNode;
379
+ }
367
380
 
368
- // On some older browsers (notably Safari on iOS 4.1 - see issue #56) the event target may be a text node.
369
- if (eventTarget.nodeType === Node.TEXT_NODE) {
370
- return eventTarget.parentNode;
371
- }
381
+ return eventTarget;
382
+ };
372
383
 
373
- return eventTarget;
374
- };
375
384
 
385
+ /**
386
+ * On touch start, record the position and scroll offset.
387
+ *
388
+ * @param {Event} event
389
+ * @returns {boolean}
390
+ */
391
+ FastClick.prototype.onTouchStart = function(event) {
392
+ var targetElement, touch, selection;
376
393
 
377
- /**
378
- * On touch start, record the position and scroll offset.
379
- *
380
- * @param {Event} event
381
- * @returns {boolean}
382
- */
383
- FastClick.prototype.onTouchStart = function(event) {
384
- 'use strict';
385
- var targetElement, touch, selection;
394
+ // Ignore multiple touches, otherwise pinch-to-zoom is prevented if both fingers are on the FastClick element (issue #111).
395
+ if (event.targetTouches.length > 1) {
396
+ return true;
397
+ }
386
398
 
387
- // Ignore multiple touches, otherwise pinch-to-zoom is prevented if both fingers are on the FastClick element (issue #111).
388
- if (event.targetTouches.length > 1) {
389
- return true;
390
- }
399
+ targetElement = this.getTargetElementFromEventTarget(event.target);
400
+ touch = event.targetTouches[0];
391
401
 
392
- targetElement = this.getTargetElementFromEventTarget(event.target);
393
- touch = event.targetTouches[0];
402
+ if (deviceIsIOS) {
394
403
 
395
- if (deviceIsIOS) {
404
+ // Only trusted events will deselect text on iOS (issue #49)
405
+ selection = window.getSelection();
406
+ if (selection.rangeCount && !selection.isCollapsed) {
407
+ return true;
408
+ }
396
409
 
397
- // Only trusted events will deselect text on iOS (issue #49)
398
- selection = window.getSelection();
399
- if (selection.rangeCount && !selection.isCollapsed) {
400
- return true;
401
- }
410
+ if (!deviceIsIOS4) {
411
+
412
+ // Weird things happen on iOS when an alert or confirm dialog is opened from a click event callback (issue #23):
413
+ // when the user next taps anywhere else on the page, new touchstart and touchend events are dispatched
414
+ // with the same identifier as the touch event that previously triggered the click that triggered the alert.
415
+ // Sadly, there is an issue on iOS 4 that causes some normal touch events to have the same identifier as an
416
+ // immediately preceeding touch event (issue #52), so this fix is unavailable on that platform.
417
+ // Issue 120: touch.identifier is 0 when Chrome dev tools 'Emulate touch events' is set with an iOS device UA string,
418
+ // which causes all touch events to be ignored. As this block only applies to iOS, and iOS identifiers are always long,
419
+ // random integers, it's safe to to continue if the identifier is 0 here.
420
+ if (touch.identifier && touch.identifier === this.lastTouchIdentifier) {
421
+ event.preventDefault();
422
+ return false;
423
+ }
402
424
 
403
- if (!deviceIsIOS4) {
425
+ this.lastTouchIdentifier = touch.identifier;
404
426
 
405
- // Weird things happen on iOS when an alert or confirm dialog is opened from a click event callback (issue #23):
406
- // when the user next taps anywhere else on the page, new touchstart and touchend events are dispatched
407
- // with the same identifier as the touch event that previously triggered the click that triggered the alert.
408
- // Sadly, there is an issue on iOS 4 that causes some normal touch events to have the same identifier as an
409
- // immediately preceeding touch event (issue #52), so this fix is unavailable on that platform.
410
- // Issue 120: touch.identifier is 0 when Chrome dev tools 'Emulate touch events' is set with an iOS device UA string,
411
- // which causes all touch events to be ignored. As this block only applies to iOS, and iOS identifiers are always long,
412
- // random integers, it's safe to to continue if the identifier is 0 here.
413
- if (touch.identifier && touch.identifier === this.lastTouchIdentifier) {
414
- event.preventDefault();
415
- return false;
427
+ // If the target element is a child of a scrollable layer (using -webkit-overflow-scrolling: touch) and:
428
+ // 1) the user does a fling scroll on the scrollable layer
429
+ // 2) the user stops the fling scroll with another tap
430
+ // then the event.target of the last 'touchend' event will be the element that was under the user's finger
431
+ // when the fling scroll was started, causing FastClick to send a click event to that layer - unless a check
432
+ // is made to ensure that a parent layer was not scrolled before sending a synthetic click (issue #42).
433
+ this.updateScrollParent(targetElement);
416
434
  }
435
+ }
417
436
 
418
- this.lastTouchIdentifier = touch.identifier;
437
+ this.trackingClick = true;
438
+ this.trackingClickStart = event.timeStamp;
439
+ this.targetElement = targetElement;
419
440
 
420
- // If the target element is a child of a scrollable layer (using -webkit-overflow-scrolling: touch) and:
421
- // 1) the user does a fling scroll on the scrollable layer
422
- // 2) the user stops the fling scroll with another tap
423
- // then the event.target of the last 'touchend' event will be the element that was under the user's finger
424
- // when the fling scroll was started, causing FastClick to send a click event to that layer - unless a check
425
- // is made to ensure that a parent layer was not scrolled before sending a synthetic click (issue #42).
426
- this.updateScrollParent(targetElement);
427
- }
428
- }
441
+ this.touchStartX = touch.pageX;
442
+ this.touchStartY = touch.pageY;
429
443
 
430
- this.trackingClick = true;
431
- this.trackingClickStart = event.timeStamp;
432
- this.targetElement = targetElement;
444
+ // Prevent phantom clicks on fast double-tap (issue #36)
445
+ if ((event.timeStamp - this.lastClickTime) < this.tapDelay) {
446
+ event.preventDefault();
447
+ }
433
448
 
434
- this.touchStartX = touch.pageX;
435
- this.touchStartY = touch.pageY;
449
+ return true;
450
+ };
436
451
 
437
- // Prevent phantom clicks on fast double-tap (issue #36)
438
- if ((event.timeStamp - this.lastClickTime) < this.tapDelay) {
439
- event.preventDefault();
440
- }
441
452
 
442
- return true;
443
- };
453
+ /**
454
+ * Based on a touchmove event object, check whether the touch has moved past a boundary since it started.
455
+ *
456
+ * @param {Event} event
457
+ * @returns {boolean}
458
+ */
459
+ FastClick.prototype.touchHasMoved = function(event) {
460
+ var touch = event.changedTouches[0], boundary = this.touchBoundary;
444
461
 
462
+ if (Math.abs(touch.pageX - this.touchStartX) > boundary || Math.abs(touch.pageY - this.touchStartY) > boundary) {
463
+ return true;
464
+ }
445
465
 
446
- /**
447
- * Based on a touchmove event object, check whether the touch has moved past a boundary since it started.
448
- *
449
- * @param {Event} event
450
- * @returns {boolean}
451
- */
452
- FastClick.prototype.touchHasMoved = function(event) {
453
- 'use strict';
454
- var touch = event.changedTouches[0], boundary = this.touchBoundary;
466
+ return false;
467
+ };
455
468
 
456
- if (Math.abs(touch.pageX - this.touchStartX) > boundary || Math.abs(touch.pageY - this.touchStartY) > boundary) {
457
- return true;
458
- }
459
469
 
460
- return false;
461
- };
470
+ /**
471
+ * Update the last position.
472
+ *
473
+ * @param {Event} event
474
+ * @returns {boolean}
475
+ */
476
+ FastClick.prototype.onTouchMove = function(event) {
477
+ if (!this.trackingClick) {
478
+ return true;
479
+ }
462
480
 
481
+ // If the touch has moved, cancel the click tracking
482
+ if (this.targetElement !== this.getTargetElementFromEventTarget(event.target) || this.touchHasMoved(event)) {
483
+ this.trackingClick = false;
484
+ this.targetElement = null;
485
+ }
463
486
 
464
- /**
465
- * Update the last position.
466
- *
467
- * @param {Event} event
468
- * @returns {boolean}
469
- */
470
- FastClick.prototype.onTouchMove = function(event) {
471
- 'use strict';
472
- if (!this.trackingClick) {
473
487
  return true;
474
- }
475
-
476
- // If the touch has moved, cancel the click tracking
477
- if (this.targetElement !== this.getTargetElementFromEventTarget(event.target) || this.touchHasMoved(event)) {
478
- this.trackingClick = false;
479
- this.targetElement = null;
480
- }
488
+ };
481
489
 
482
- return true;
483
- };
484
490
 
491
+ /**
492
+ * Attempt to find the labelled control for the given label element.
493
+ *
494
+ * @param {EventTarget|HTMLLabelElement} labelElement
495
+ * @returns {Element|null}
496
+ */
497
+ FastClick.prototype.findControl = function(labelElement) {
485
498
 
486
- /**
487
- * Attempt to find the labelled control for the given label element.
488
- *
489
- * @param {EventTarget|HTMLLabelElement} labelElement
490
- * @returns {Element|null}
491
- */
492
- FastClick.prototype.findControl = function(labelElement) {
493
- 'use strict';
499
+ // Fast path for newer browsers supporting the HTML5 control attribute
500
+ if (labelElement.control !== undefined) {
501
+ return labelElement.control;
502
+ }
494
503
 
495
- // Fast path for newer browsers supporting the HTML5 control attribute
496
- if (labelElement.control !== undefined) {
497
- return labelElement.control;
498
- }
504
+ // All browsers under test that support touch events also support the HTML5 htmlFor attribute
505
+ if (labelElement.htmlFor) {
506
+ return document.getElementById(labelElement.htmlFor);
507
+ }
499
508
 
500
- // All browsers under test that support touch events also support the HTML5 htmlFor attribute
501
- if (labelElement.htmlFor) {
502
- return document.getElementById(labelElement.htmlFor);
503
- }
509
+ // If no for attribute exists, attempt to retrieve the first labellable descendant element
510
+ // the list of which is defined here: http://www.w3.org/TR/html5/forms.html#category-label
511
+ return labelElement.querySelector('button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea');
512
+ };
504
513
 
505
- // If no for attribute exists, attempt to retrieve the first labellable descendant element
506
- // the list of which is defined here: http://www.w3.org/TR/html5/forms.html#category-label
507
- return labelElement.querySelector('button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea');
508
- };
509
514
 
515
+ /**
516
+ * On touch end, determine whether to send a click event at once.
517
+ *
518
+ * @param {Event} event
519
+ * @returns {boolean}
520
+ */
521
+ FastClick.prototype.onTouchEnd = function(event) {
522
+ var forElement, trackingClickStart, targetTagName, scrollParent, touch, targetElement = this.targetElement;
510
523
 
511
- /**
512
- * On touch end, determine whether to send a click event at once.
513
- *
514
- * @param {Event} event
515
- * @returns {boolean}
516
- */
517
- FastClick.prototype.onTouchEnd = function(event) {
518
- 'use strict';
519
- var forElement, trackingClickStart, targetTagName, scrollParent, touch, targetElement = this.targetElement;
524
+ if (!this.trackingClick) {
525
+ return true;
526
+ }
520
527
 
521
- if (!this.trackingClick) {
522
- return true;
523
- }
528
+ // Prevent phantom clicks on fast double-tap (issue #36)
529
+ if ((event.timeStamp - this.lastClickTime) < this.tapDelay) {
530
+ this.cancelNextClick = true;
531
+ return true;
532
+ }
524
533
 
525
- // Prevent phantom clicks on fast double-tap (issue #36)
526
- if ((event.timeStamp - this.lastClickTime) < this.tapDelay) {
527
- this.cancelNextClick = true;
528
- return true;
529
- }
534
+ if ((event.timeStamp - this.trackingClickStart) > this.tapTimeout) {
535
+ return true;
536
+ }
530
537
 
531
- // Reset to prevent wrong click cancel on input (issue #156).
532
- this.cancelNextClick = false;
538
+ // Reset to prevent wrong click cancel on input (issue #156).
539
+ this.cancelNextClick = false;
533
540
 
534
- this.lastClickTime = event.timeStamp;
541
+ this.lastClickTime = event.timeStamp;
535
542
 
536
- trackingClickStart = this.trackingClickStart;
537
- this.trackingClick = false;
538
- this.trackingClickStart = 0;
543
+ trackingClickStart = this.trackingClickStart;
544
+ this.trackingClick = false;
545
+ this.trackingClickStart = 0;
546
+
547
+ // On some iOS devices, the targetElement supplied with the event is invalid if the layer
548
+ // is performing a transition or scroll, and has to be re-detected manually. Note that
549
+ // for this to function correctly, it must be called *after* the event target is checked!
550
+ // See issue #57; also filed as rdar://13048589 .
551
+ if (deviceIsIOSWithBadTarget) {
552
+ touch = event.changedTouches[0];
553
+
554
+ // In certain cases arguments of elementFromPoint can be negative, so prevent setting targetElement to null
555
+ targetElement = document.elementFromPoint(touch.pageX - window.pageXOffset, touch.pageY - window.pageYOffset) || targetElement;
556
+ targetElement.fastClickScrollParent = this.targetElement.fastClickScrollParent;
557
+ }
539
558
 
540
- // On some iOS devices, the targetElement supplied with the event is invalid if the layer
541
- // is performing a transition or scroll, and has to be re-detected manually. Note that
542
- // for this to function correctly, it must be called *after* the event target is checked!
543
- // See issue #57; also filed as rdar://13048589 .
544
- if (deviceIsIOSWithBadTarget) {
545
- touch = event.changedTouches[0];
559
+ targetTagName = targetElement.tagName.toLowerCase();
560
+ if (targetTagName === 'label') {
561
+ forElement = this.findControl(targetElement);
562
+ if (forElement) {
563
+ this.focus(targetElement);
564
+ if (deviceIsAndroid) {
565
+ return false;
566
+ }
546
567
 
547
- // In certain cases arguments of elementFromPoint can be negative, so prevent setting targetElement to null
548
- targetElement = document.elementFromPoint(touch.pageX - window.pageXOffset, touch.pageY - window.pageYOffset) || targetElement;
549
- targetElement.fastClickScrollParent = this.targetElement.fastClickScrollParent;
550
- }
568
+ targetElement = forElement;
569
+ }
570
+ } else if (this.needsFocus(targetElement)) {
551
571
 
552
- targetTagName = targetElement.tagName.toLowerCase();
553
- if (targetTagName === 'label') {
554
- forElement = this.findControl(targetElement);
555
- if (forElement) {
556
- this.focus(targetElement);
557
- if (deviceIsAndroid) {
572
+ // Case 1: If the touch started a while ago (best guess is 100ms based on tests for issue #36) then focus will be triggered anyway. Return early and unset the target element reference so that the subsequent click will be allowed through.
573
+ // Case 2: Without this exception for input elements tapped when the document is contained in an iframe, then any inputted text won't be visible even though the value attribute is updated as the user types (issue #37).
574
+ if ((event.timeStamp - trackingClickStart) > 100 || (deviceIsIOS && window.top !== window && targetTagName === 'input')) {
575
+ this.targetElement = null;
558
576
  return false;
559
577
  }
560
578
 
561
- targetElement = forElement;
562
- }
563
- } else if (this.needsFocus(targetElement)) {
579
+ this.focus(targetElement);
580
+ this.sendClick(targetElement, event);
581
+
582
+ // Select elements need the event to go through on iOS 4, otherwise the selector menu won't open.
583
+ // Also this breaks opening selects when VoiceOver is active on iOS6, iOS7 (and possibly others)
584
+ if (!deviceIsIOS || targetTagName !== 'select') {
585
+ this.targetElement = null;
586
+ event.preventDefault();
587
+ }
564
588
 
565
- // Case 1: If the touch started a while ago (best guess is 100ms based on tests for issue #36) then focus will be triggered anyway. Return early and unset the target element reference so that the subsequent click will be allowed through.
566
- // Case 2: Without this exception for input elements tapped when the document is contained in an iframe, then any inputted text won't be visible even though the value attribute is updated as the user types (issue #37).
567
- if ((event.timeStamp - trackingClickStart) > 100 || (deviceIsIOS && window.top !== window && targetTagName === 'input')) {
568
- this.targetElement = null;
569
589
  return false;
570
590
  }
571
591
 
572
- this.focus(targetElement);
573
- this.sendClick(targetElement, event);
592
+ if (deviceIsIOS && !deviceIsIOS4) {
574
593
 
575
- // Select elements need the event to go through on iOS 4, otherwise the selector menu won't open.
576
- // Also this breaks opening selects when VoiceOver is active on iOS6, iOS7 (and possibly others)
577
- if (!deviceIsIOS || targetTagName !== 'select') {
578
- this.targetElement = null;
594
+ // Don't send a synthetic click event if the target element is contained within a parent layer that was scrolled
595
+ // and this tap is being used to stop the scrolling (usually initiated by a fling - issue #42).
596
+ scrollParent = targetElement.fastClickScrollParent;
597
+ if (scrollParent && scrollParent.fastClickLastScrollTop !== scrollParent.scrollTop) {
598
+ return true;
599
+ }
600
+ }
601
+
602
+ // Prevent the actual click from going though - unless the target node is marked as requiring
603
+ // real clicks or if it is in the whitelist in which case only non-programmatic clicks are permitted.
604
+ if (!this.needsClick(targetElement)) {
579
605
  event.preventDefault();
606
+ this.sendClick(targetElement, event);
580
607
  }
581
608
 
582
609
  return false;
583
- }
610
+ };
584
611
 
585
- if (deviceIsIOS && !deviceIsIOS4) {
586
612
 
587
- // Don't send a synthetic click event if the target element is contained within a parent layer that was scrolled
588
- // and this tap is being used to stop the scrolling (usually initiated by a fling - issue #42).
589
- scrollParent = targetElement.fastClickScrollParent;
590
- if (scrollParent && scrollParent.fastClickLastScrollTop !== scrollParent.scrollTop) {
591
- return true;
592
- }
593
- }
613
+ /**
614
+ * On touch cancel, stop tracking the click.
615
+ *
616
+ * @returns {void}
617
+ */
618
+ FastClick.prototype.onTouchCancel = function() {
619
+ this.trackingClick = false;
620
+ this.targetElement = null;
621
+ };
594
622
 
595
- // Prevent the actual click from going though - unless the target node is marked as requiring
596
- // real clicks or if it is in the whitelist in which case only non-programmatic clicks are permitted.
597
- if (!this.needsClick(targetElement)) {
598
- event.preventDefault();
599
- this.sendClick(targetElement, event);
600
- }
601
623
 
602
- return false;
603
- };
624
+ /**
625
+ * Determine mouse events which should be permitted.
626
+ *
627
+ * @param {Event} event
628
+ * @returns {boolean}
629
+ */
630
+ FastClick.prototype.onMouse = function(event) {
604
631
 
632
+ // If a target element was never set (because a touch event was never fired) allow the event
633
+ if (!this.targetElement) {
634
+ return true;
635
+ }
605
636
 
606
- /**
607
- * On touch cancel, stop tracking the click.
608
- *
609
- * @returns {void}
610
- */
611
- FastClick.prototype.onTouchCancel = function() {
612
- 'use strict';
613
- this.trackingClick = false;
614
- this.targetElement = null;
615
- };
616
-
617
-
618
- /**
619
- * Determine mouse events which should be permitted.
620
- *
621
- * @param {Event} event
622
- * @returns {boolean}
623
- */
624
- FastClick.prototype.onMouse = function(event) {
625
- 'use strict';
637
+ if (event.forwardedTouchEvent) {
638
+ return true;
639
+ }
626
640
 
627
- // If a target element was never set (because a touch event was never fired) allow the event
628
- if (!this.targetElement) {
629
- return true;
630
- }
641
+ // Programmatically generated events targeting a specific element should be permitted
642
+ if (!event.cancelable) {
643
+ return true;
644
+ }
631
645
 
632
- if (event.forwardedTouchEvent) {
633
- return true;
634
- }
646
+ // Derive and check the target element to see whether the mouse event needs to be permitted;
647
+ // unless explicitly enabled, prevent non-touch click events from triggering actions,
648
+ // to prevent ghost/doubleclicks.
649
+ if (!this.needsClick(this.targetElement) || this.cancelNextClick) {
635
650
 
636
- // Programmatically generated events targeting a specific element should be permitted
637
- if (!event.cancelable) {
638
- return true;
639
- }
651
+ // Prevent any user-added listeners declared on FastClick element from being fired.
652
+ if (event.stopImmediatePropagation) {
653
+ event.stopImmediatePropagation();
654
+ } else {
640
655
 
641
- // Derive and check the target element to see whether the mouse event needs to be permitted;
642
- // unless explicitly enabled, prevent non-touch click events from triggering actions,
643
- // to prevent ghost/doubleclicks.
644
- if (!this.needsClick(this.targetElement) || this.cancelNextClick) {
656
+ // Part of the hack for browsers that don't support Event#stopImmediatePropagation (e.g. Android 2)
657
+ event.propagationStopped = true;
658
+ }
645
659
 
646
- // Prevent any user-added listeners declared on FastClick element from being fired.
647
- if (event.stopImmediatePropagation) {
648
- event.stopImmediatePropagation();
649
- } else {
660
+ // Cancel the event
661
+ event.stopPropagation();
662
+ event.preventDefault();
650
663
 
651
- // Part of the hack for browsers that don't support Event#stopImmediatePropagation (e.g. Android 2)
652
- event.propagationStopped = true;
664
+ return false;
653
665
  }
654
666
 
655
- // Cancel the event
656
- event.stopPropagation();
657
- event.preventDefault();
667
+ // If the mouse event is permitted, return true for the action to go through.
668
+ return true;
669
+ };
658
670
 
659
- return false;
660
- }
661
671
 
662
- // If the mouse event is permitted, return true for the action to go through.
663
- return true;
664
- };
672
+ /**
673
+ * On actual clicks, determine whether this is a touch-generated click, a click action occurring
674
+ * naturally after a delay after a touch (which needs to be cancelled to avoid duplication), or
675
+ * an actual click which should be permitted.
676
+ *
677
+ * @param {Event} event
678
+ * @returns {boolean}
679
+ */
680
+ FastClick.prototype.onClick = function(event) {
681
+ var permitted;
665
682
 
683
+ // It's possible for another FastClick-like library delivered with third-party code to fire a click event before FastClick does (issue #44). In that case, set the click-tracking flag back to false and return early. This will cause onTouchEnd to return early.
684
+ if (this.trackingClick) {
685
+ this.targetElement = null;
686
+ this.trackingClick = false;
687
+ return true;
688
+ }
666
689
 
667
- /**
668
- * On actual clicks, determine whether this is a touch-generated click, a click action occurring
669
- * naturally after a delay after a touch (which needs to be cancelled to avoid duplication), or
670
- * an actual click which should be permitted.
671
- *
672
- * @param {Event} event
673
- * @returns {boolean}
674
- */
675
- FastClick.prototype.onClick = function(event) {
676
- 'use strict';
677
- var permitted;
690
+ // Very odd behaviour on iOS (issue #18): if a submit element is present inside a form and the user hits enter in the iOS simulator or clicks the Go button on the pop-up OS keyboard the a kind of 'fake' click event will be triggered with the submit-type input element as the target.
691
+ if (event.target.type === 'submit' && event.detail === 0) {
692
+ return true;
693
+ }
678
694
 
679
- // It's possible for another FastClick-like library delivered with third-party code to fire a click event before FastClick does (issue #44). In that case, set the click-tracking flag back to false and return early. This will cause onTouchEnd to return early.
680
- if (this.trackingClick) {
681
- this.targetElement = null;
682
- this.trackingClick = false;
683
- return true;
684
- }
695
+ permitted = this.onMouse(event);
685
696
 
686
- // Very odd behaviour on iOS (issue #18): if a submit element is present inside a form and the user hits enter in the iOS simulator or clicks the Go button on the pop-up OS keyboard the a kind of 'fake' click event will be triggered with the submit-type input element as the target.
687
- if (event.target.type === 'submit' && event.detail === 0) {
688
- return true;
689
- }
697
+ // Only unset targetElement if the click is not permitted. This will ensure that the check for !targetElement in onMouse fails and the browser's click doesn't go through.
698
+ if (!permitted) {
699
+ this.targetElement = null;
700
+ }
690
701
 
691
- permitted = this.onMouse(event);
702
+ // If clicks are permitted, return true for the action to go through.
703
+ return permitted;
704
+ };
692
705
 
693
- // Only unset targetElement if the click is not permitted. This will ensure that the check for !targetElement in onMouse fails and the browser's click doesn't go through.
694
- if (!permitted) {
695
- this.targetElement = null;
696
- }
697
706
 
698
- // If clicks are permitted, return true for the action to go through.
699
- return permitted;
700
- };
707
+ /**
708
+ * Remove all FastClick's event listeners.
709
+ *
710
+ * @returns {void}
711
+ */
712
+ FastClick.prototype.destroy = function() {
713
+ var layer = this.layer;
701
714
 
715
+ if (deviceIsAndroid) {
716
+ layer.removeEventListener('mouseover', this.onMouse, true);
717
+ layer.removeEventListener('mousedown', this.onMouse, true);
718
+ layer.removeEventListener('mouseup', this.onMouse, true);
719
+ }
702
720
 
703
- /**
704
- * Remove all FastClick's event listeners.
705
- *
706
- * @returns {void}
707
- */
708
- FastClick.prototype.destroy = function() {
709
- 'use strict';
710
- var layer = this.layer;
721
+ layer.removeEventListener('click', this.onClick, true);
722
+ layer.removeEventListener('touchstart', this.onTouchStart, false);
723
+ layer.removeEventListener('touchmove', this.onTouchMove, false);
724
+ layer.removeEventListener('touchend', this.onTouchEnd, false);
725
+ layer.removeEventListener('touchcancel', this.onTouchCancel, false);
726
+ };
711
727
 
712
- if (deviceIsAndroid) {
713
- layer.removeEventListener('mouseover', this.onMouse, true);
714
- layer.removeEventListener('mousedown', this.onMouse, true);
715
- layer.removeEventListener('mouseup', this.onMouse, true);
716
- }
717
728
 
718
- layer.removeEventListener('click', this.onClick, true);
719
- layer.removeEventListener('touchstart', this.onTouchStart, false);
720
- layer.removeEventListener('touchmove', this.onTouchMove, false);
721
- layer.removeEventListener('touchend', this.onTouchEnd, false);
722
- layer.removeEventListener('touchcancel', this.onTouchCancel, false);
723
- };
729
+ /**
730
+ * Check whether FastClick is needed.
731
+ *
732
+ * @param {Element} layer The layer to listen on
733
+ */
734
+ FastClick.notNeeded = function(layer) {
735
+ var metaViewport;
736
+ var chromeVersion;
737
+ var blackberryVersion;
738
+ var firefoxVersion;
739
+
740
+ // Devices that don't support touch don't need FastClick
741
+ if (typeof window.ontouchstart === 'undefined') {
742
+ return true;
743
+ }
724
744
 
745
+ // Chrome version - zero for other browsers
746
+ chromeVersion = +(/Chrome\/([0-9]+)/.exec(navigator.userAgent) || [,0])[1];
725
747
 
726
- /**
727
- * Check whether FastClick is needed.
728
- *
729
- * @param {Element} layer The layer to listen on
730
- */
731
- FastClick.notNeeded = function(layer) {
732
- 'use strict';
733
- var metaViewport;
734
- var chromeVersion;
735
- var blackberryVersion;
748
+ if (chromeVersion) {
736
749
 
737
- // Devices that don't support touch don't need FastClick
738
- if (typeof window.ontouchstart === 'undefined') {
739
- return true;
740
- }
750
+ if (deviceIsAndroid) {
751
+ metaViewport = document.querySelector('meta[name=viewport]');
741
752
 
742
- // Chrome version - zero for other browsers
743
- chromeVersion = +(/Chrome\/([0-9]+)/.exec(navigator.userAgent) || [,0])[1];
753
+ if (metaViewport) {
754
+ // Chrome on Android with user-scalable="no" doesn't need FastClick (issue #89)
755
+ if (metaViewport.content.indexOf('user-scalable=no') !== -1) {
756
+ return true;
757
+ }
758
+ // Chrome 32 and above with width=device-width or less don't need FastClick
759
+ if (chromeVersion > 31 && document.documentElement.scrollWidth <= window.outerWidth) {
760
+ return true;
761
+ }
762
+ }
744
763
 
745
- if (chromeVersion) {
764
+ // Chrome desktop doesn't need FastClick (issue #15)
765
+ } else {
766
+ return true;
767
+ }
768
+ }
746
769
 
747
- if (deviceIsAndroid) {
748
- metaViewport = document.querySelector('meta[name=viewport]');
770
+ if (deviceIsBlackBerry10) {
771
+ blackberryVersion = navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/);
749
772
 
750
- if (metaViewport) {
751
- // Chrome on Android with user-scalable="no" doesn't need FastClick (issue #89)
752
- if (metaViewport.content.indexOf('user-scalable=no') !== -1) {
753
- return true;
754
- }
755
- // Chrome 32 and above with width=device-width or less don't need FastClick
756
- if (chromeVersion > 31 && document.documentElement.scrollWidth <= window.outerWidth) {
757
- return true;
773
+ // BlackBerry 10.3+ does not require Fastclick library.
774
+ // https://github.com/ftlabs/fastclick/issues/251
775
+ if (blackberryVersion[1] >= 10 && blackberryVersion[2] >= 3) {
776
+ metaViewport = document.querySelector('meta[name=viewport]');
777
+
778
+ if (metaViewport) {
779
+ // user-scalable=no eliminates click delay.
780
+ if (metaViewport.content.indexOf('user-scalable=no') !== -1) {
781
+ return true;
782
+ }
783
+ // width=device-width (or less than device-width) eliminates click delay.
784
+ if (document.documentElement.scrollWidth <= window.outerWidth) {
785
+ return true;
786
+ }
758
787
  }
759
788
  }
789
+ }
760
790
 
761
- // Chrome desktop doesn't need FastClick (issue #15)
762
- } else {
791
+ // IE10 with -ms-touch-action: none or manipulation, which disables double-tap-to-zoom (issue #97)
792
+ if (layer.style.msTouchAction === 'none' || layer.style.touchAction === 'manipulation') {
763
793
  return true;
764
794
  }
765
- }
766
795
 
767
- if (deviceIsBlackBerry10) {
768
- blackberryVersion = navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/);
796
+ // Firefox version - zero for other browsers
797
+ firefoxVersion = +(/Firefox\/([0-9]+)/.exec(navigator.userAgent) || [,0])[1];
769
798
 
770
- // BlackBerry 10.3+ does not require Fastclick library.
771
- // https://github.com/ftlabs/fastclick/issues/251
772
- if (blackberryVersion[1] >= 10 && blackberryVersion[2] >= 3) {
773
- metaViewport = document.querySelector('meta[name=viewport]');
799
+ if (firefoxVersion >= 27) {
800
+ // Firefox 27+ does not have tap delay if the content is not zoomable - https://bugzilla.mozilla.org/show_bug.cgi?id=922896
774
801
 
775
- if (metaViewport) {
776
- // user-scalable=no eliminates click delay.
777
- if (metaViewport.content.indexOf('user-scalable=no') !== -1) {
778
- return true;
779
- }
780
- // width=device-width (or less than device-width) eliminates click delay.
781
- if (document.documentElement.scrollWidth <= window.outerWidth) {
782
- return true;
783
- }
802
+ metaViewport = document.querySelector('meta[name=viewport]');
803
+ if (metaViewport && (metaViewport.content.indexOf('user-scalable=no') !== -1 || document.documentElement.scrollWidth <= window.outerWidth)) {
804
+ return true;
784
805
  }
785
806
  }
786
- }
787
807
 
788
- // IE10 with -ms-touch-action: none, which disables double-tap-to-zoom (issue #97)
789
- if (layer.style.msTouchAction === 'none') {
790
- return true;
791
- }
808
+ // IE11: prefixed -ms-touch-action is no longer supported and it's recomended to use non-prefixed version
809
+ // http://msdn.microsoft.com/en-us/library/windows/apps/Hh767313.aspx
810
+ if (layer.style.touchAction === 'none' || layer.style.touchAction === 'manipulation') {
811
+ return true;
812
+ }
813
+
814
+ return false;
815
+ };
792
816
 
793
- return false;
794
- };
795
817
 
818
+ /**
819
+ * Factory method for creating a FastClick object
820
+ *
821
+ * @param {Element} layer The layer to listen on
822
+ * @param {Object} [options={}] The options to override the defaults
823
+ */
824
+ FastClick.attach = function(layer, options) {
825
+ return new FastClick(layer, options);
826
+ };
796
827
 
797
- /**
798
- * Factory method for creating a FastClick object
799
- *
800
- * @param {Element} layer The layer to listen on
801
- * @param {Object} options The options to override the defaults
802
- */
803
- FastClick.attach = function(layer, options) {
804
- 'use strict';
805
- return new FastClick(layer, options);
806
- };
807
-
808
-
809
- if (typeof define == 'function' && typeof define.amd == 'object' && define.amd) {
810
-
811
- // AMD. Register as an anonymous module.
812
- define(function() {
813
- 'use strict';
814
- return FastClick;
815
- });
816
- } else if (typeof module !== 'undefined' && module.exports) {
817
- module.exports = FastClick.attach;
818
- module.exports.FastClick = FastClick;
819
- } else {
820
- window.FastClick = FastClick;
821
- }
828
+
829
+ if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {
830
+
831
+ // AMD. Register as an anonymous module.
832
+ define(function() {
833
+ return FastClick;
834
+ });
835
+ } else if (typeof module !== 'undefined' && module.exports) {
836
+ module.exports = FastClick.attach;
837
+ module.exports.FastClick = FastClick;
838
+ } else {
839
+ window.FastClick = FastClick;
840
+ }
841
+ }());