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.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.semver +2 -2
- data/.travis.yml +8 -0
- data/Gemfile +22 -7
- data/Gemfile.lock +156 -79
- data/README.rdoc +2 -0
- data/Rakefile +4 -4
- data/app/js/dashboard/directives/population_brigade.coffee +33 -15
- data/app/js/dashboard/directives/population_window.coffee +30 -2
- data/app/js/dashboard/services/population_drilldown_service.coffee +18 -0
- data/bower.json +33 -0
- data/bower_components/angular-animate/.bower.json +6 -5
- data/bower_components/angular-animate/README.md +28 -5
- data/bower_components/angular-animate/angular-animate.js +15 -2
- data/bower_components/angular-animate/angular-animate.min.js +23 -23
- data/bower_components/angular-animate/angular-animate.min.js.map +2 -2
- data/bower_components/angular-animate/bower.json +3 -2
- data/bower_components/angular-animate/package.json +26 -0
- data/bower_components/angular-pusher/.bower.json +4 -4
- data/bower_components/angular-pusher/README.md +3 -3
- data/bower_components/angular-pusher/angular-pusher.js +176 -26
- data/bower_components/angular-pusher/angular-pusher.min.js +1 -1
- data/bower_components/angular-pusher/bower.json +1 -1
- data/bower_components/angular-pusher/package.json +3 -3
- data/bower_components/angular-resource/.bower.json +6 -5
- data/bower_components/angular-resource/README.md +27 -4
- data/bower_components/angular-resource/angular-resource.js +11 -3
- data/bower_components/angular-resource/angular-resource.min.js +1 -1
- data/bower_components/angular-resource/angular-resource.min.js.map +1 -1
- data/bower_components/angular-resource/bower.json +3 -2
- data/bower_components/angular-resource/package.json +26 -0
- data/bower_components/angular-route/.bower.json +6 -5
- data/bower_components/angular-route/README.md +27 -4
- data/bower_components/angular-route/angular-route.js +2 -6
- data/bower_components/angular-route/angular-route.min.js +3 -3
- data/bower_components/angular-route/angular-route.min.js.map +1 -1
- data/bower_components/angular-route/bower.json +3 -2
- data/bower_components/angular-route/package.json +26 -0
- data/bower_components/angular-sanitize/.bower.json +6 -5
- data/bower_components/angular-sanitize/README.md +27 -4
- data/bower_components/angular-sanitize/angular-sanitize.js +12 -5
- data/bower_components/angular-sanitize/angular-sanitize.min.js +10 -10
- data/bower_components/angular-sanitize/angular-sanitize.min.js.map +1 -1
- data/bower_components/angular-sanitize/bower.json +3 -2
- data/bower_components/angular-sanitize/package.json +26 -0
- data/bower_components/angular-socket-io/.bower.json +7 -8
- data/bower_components/angular-socket-io/.travis.yml +4 -1
- data/bower_components/angular-socket-io/README.md +8 -1
- data/bower_components/angular-socket-io/bower-install.sh +2 -0
- data/bower_components/angular-socket-io/bower.json +3 -3
- data/bower_components/angular-socket-io/mock/socket-io.js +2 -1
- data/bower_components/angular-socket-io/package.json +2 -4
- data/bower_components/angular-socket-io/socket.js +7 -6
- data/bower_components/angular-socket-io/socket.min.js +2 -2
- data/bower_components/angular-socket-io/socket.min.js.map +1 -1
- data/bower_components/angular-socket-io/socket.spec.js +25 -0
- data/bower_components/angular/.bower.json +8 -6
- data/bower_components/angular/README.md +21 -5
- data/bower_components/angular/angular-csp.css +5 -8
- data/bower_components/angular/angular.js +17855 -11374
- data/bower_components/angular/angular.min.js +286 -210
- data/bower_components/angular/angular.min.js.gzip +0 -0
- data/bower_components/angular/angular.min.js.map +3 -3
- data/bower_components/angular/bower.json +2 -1
- data/bower_components/angular/index.js +2 -0
- data/bower_components/angular/package.json +25 -0
- data/bower_components/animate.css/.bower.json +12 -4
- data/bower_components/animate.css/Gruntfile.js +1 -1
- data/bower_components/animate.css/animate-config.json +18 -4
- data/bower_components/animate.css/animate.css +405 -258
- data/bower_components/animate.css/animate.min.css +1 -6
- data/bower_components/animate.css/bower.json +10 -2
- data/bower_components/animate.css/package.json +5 -1
- data/bower_components/animate.css/source/_base.css +11 -1
- data/bower_components/animate.css/source/attention_seekers/bounce.css +3 -3
- data/bower_components/animate.css/source/attention_seekers/jello.css +36 -0
- data/bower_components/animate.css/source/bouncing_entrances/bounceIn.css +1 -2
- data/bower_components/animate.css/source/bouncing_entrances/bounceInDown.css +1 -1
- data/bower_components/animate.css/source/bouncing_entrances/bounceInLeft.css +1 -1
- data/bower_components/animate.css/source/bouncing_entrances/bounceInRight.css +1 -1
- data/bower_components/animate.css/source/bouncing_entrances/bounceInUp.css +1 -1
- data/bower_components/animate.css/source/bouncing_exits/bounceOut.css +0 -1
- data/bower_components/animate.css/source/flippers/flipInX.css +2 -2
- data/bower_components/animate.css/source/flippers/flipInY.css +2 -2
- data/bower_components/animate.css/source/flippers/flipOutX.css +0 -1
- data/bower_components/animate.css/source/flippers/flipOutY.css +0 -1
- data/bower_components/animate.css/source/rotating_exits/rotateOutDownLeft.css +1 -1
- data/bower_components/animate.css/source/sliding_entrances/slideInDown.css +14 -0
- data/bower_components/animate.css/source/sliding_entrances/slideInLeft.css +14 -0
- data/bower_components/animate.css/source/sliding_entrances/slideInRight.css +14 -0
- data/bower_components/animate.css/source/sliding_entrances/slideInUp.css +14 -0
- data/bower_components/animate.css/source/sliding_exits/slideOutDown.css +14 -0
- data/bower_components/animate.css/source/sliding_exits/slideOutLeft.css +14 -0
- data/bower_components/animate.css/source/sliding_exits/slideOutRight.css +14 -0
- data/bower_components/animate.css/source/sliding_exits/slideOutUp.css +14 -0
- data/bower_components/d3/.bower.json +6 -4
- data/bower_components/d3/.gitattributes +5 -0
- data/bower_components/d3/CONTRIBUTING.md +3 -1
- data/bower_components/d3/LICENSE +1 -1
- data/bower_components/d3/README.md +1 -1
- data/bower_components/d3/bower.json +0 -0
- data/bower_components/d3/d3.js +0 -0
- data/bower_components/d3/d3.min.js +0 -0
- data/bower_components/d3/package.js +0 -0
- data/bower_components/fastclick/.bower.json +4 -4
- data/bower_components/fastclick/README.md +15 -8
- data/bower_components/fastclick/bower.json +0 -1
- data/bower_components/fastclick/lib/fastclick.js +669 -649
- data/bower_components/jquery-placeholder/.bower.json +20 -4
- data/bower_components/jquery-placeholder/bower.json +17 -1
- data/bower_components/jquery-placeholder/jquery.placeholder.js +18 -11
- data/bower_components/jquery-ui/.bower.json +6 -6
- data/bower_components/jquery-ui/.gitignore +1 -0
- data/bower_components/jquery-ui/AUTHORS.txt +29 -5
- data/bower_components/jquery-ui/{MIT-LICENSE.txt → LICENSE.txt} +23 -5
- data/bower_components/jquery-ui/bower.json +3 -1
- data/bower_components/jquery-ui/component.json +1 -1
- data/bower_components/jquery-ui/composer.json +6 -1
- data/bower_components/jquery-ui/jquery-ui.js +12497 -12030
- data/bower_components/jquery-ui/jquery-ui.min.js +11 -11
- data/bower_components/jquery-ui/package.json +8 -3
- data/bower_components/jquery-ui/themes/base/accordion.css +2 -2
- data/bower_components/jquery-ui/themes/base/all.css +2 -2
- data/bower_components/jquery-ui/themes/base/autocomplete.css +2 -2
- data/bower_components/jquery-ui/themes/base/base.css +2 -2
- data/bower_components/jquery-ui/themes/base/button.css +2 -2
- data/bower_components/jquery-ui/themes/base/core.css +3 -3
- data/bower_components/jquery-ui/themes/base/datepicker.css +3 -3
- data/bower_components/jquery-ui/themes/base/dialog.css +2 -2
- data/bower_components/jquery-ui/themes/base/draggable.css +2 -2
- data/bower_components/jquery-ui/themes/base/images/ui-icons_444444_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/base/images/ui-icons_555555_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/base/images/ui-icons_777620_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/base/images/ui-icons_777777_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/base/images/ui-icons_cc0000_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/base/images/ui-icons_ffffff_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/base/jquery-ui.css +1225 -0
- data/bower_components/jquery-ui/themes/base/jquery-ui.min.css +7 -0
- data/bower_components/jquery-ui/themes/base/menu.css +2 -2
- data/bower_components/jquery-ui/themes/base/progressbar.css +4 -4
- data/bower_components/jquery-ui/themes/base/resizable.css +2 -2
- data/bower_components/jquery-ui/themes/base/selectable.css +2 -2
- data/bower_components/jquery-ui/themes/base/selectmenu.css +2 -2
- data/bower_components/jquery-ui/themes/base/slider.css +3 -3
- data/bower_components/jquery-ui/themes/base/sortable.css +2 -2
- data/bower_components/jquery-ui/themes/base/spinner.css +2 -2
- data/bower_components/jquery-ui/themes/base/tabs.css +2 -2
- data/bower_components/jquery-ui/themes/base/theme.css +7 -7
- data/bower_components/jquery-ui/themes/base/tooltip.css +2 -2
- data/bower_components/jquery-ui/themes/black-tie/images/ui-bg_diagonals-thick_8_333333_40x40.png +0 -0
- data/bower_components/jquery-ui/themes/black-tie/images/ui-bg_flat_65_ffffff_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/black-tie/images/ui-bg_glass_40_111111_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/black-tie/images/ui-bg_glass_55_1c1c1c_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/black-tie/images/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/black-tie/images/ui-bg_highlight-hard_40_aaaaaa_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/black-tie/images/ui-bg_highlight-soft_50_aaaaaa_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/black-tie/images/ui-bg_inset-hard_45_cd0a0a_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/black-tie/images/ui-bg_inset-hard_55_ffeb80_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/black-tie/images/ui-icons_222222_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/black-tie/images/ui-icons_4ca300_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/black-tie/images/ui-icons_bbbbbb_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/black-tie/images/ui-icons_ededed_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/black-tie/images/ui-icons_ffcf29_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/black-tie/images/ui-icons_ffffff_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/black-tie/jquery-ui.css +12 -12
- data/bower_components/jquery-ui/themes/black-tie/jquery-ui.min.css +3 -3
- data/bower_components/jquery-ui/themes/black-tie/theme.css +7 -7
- data/bower_components/jquery-ui/themes/blitzer/images/ui-bg_diagonals-thick_75_f3d8d8_40x40.png +0 -0
- data/bower_components/jquery-ui/themes/blitzer/images/ui-bg_dots-small_65_a6a6a6_2x2.png +0 -0
- data/bower_components/jquery-ui/themes/blitzer/images/ui-bg_flat_0_333333_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/blitzer/images/ui-bg_flat_65_ffffff_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/blitzer/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/blitzer/images/ui-bg_glass_55_fbf8ee_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/blitzer/images/ui-bg_highlight-hard_100_eeeeee_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/blitzer/images/ui-bg_highlight-hard_100_f6f6f6_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/blitzer/images/ui-bg_highlight-soft_15_cc0000_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/blitzer/images/ui-icons_004276_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/blitzer/images/ui-icons_cc0000_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/blitzer/images/ui-icons_ffffff_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/blitzer/jquery-ui.css +12 -12
- data/bower_components/jquery-ui/themes/blitzer/jquery-ui.min.css +3 -3
- data/bower_components/jquery-ui/themes/blitzer/theme.css +7 -7
- data/bower_components/jquery-ui/themes/cupertino/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png +0 -0
- data/bower_components/jquery-ui/themes/cupertino/images/ui-bg_flat_15_cd0a0a_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/cupertino/images/ui-bg_glass_100_e4f1fb_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/cupertino/images/ui-bg_glass_50_3baae3_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/cupertino/images/ui-bg_glass_80_d7ebf9_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/cupertino/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/cupertino/images/ui-bg_highlight-hard_70_000000_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/cupertino/images/ui-bg_highlight-soft_100_deedf7_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/cupertino/images/ui-bg_highlight-soft_25_ffef8f_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/cupertino/images/ui-icons_2694e8_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/cupertino/images/ui-icons_2e83ff_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/cupertino/images/ui-icons_3d80b3_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/cupertino/images/ui-icons_72a7cf_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/cupertino/images/ui-icons_ffffff_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/cupertino/jquery-ui.css +12 -12
- data/bower_components/jquery-ui/themes/cupertino/jquery-ui.min.css +3 -3
- data/bower_components/jquery-ui/themes/cupertino/theme.css +7 -7
- data/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-hard_20_0972a5_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-soft_33_003147_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-soft_35_222222_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-soft_44_444444_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_loop_25_000000_21x21.png +0 -0
- data/bower_components/jquery-ui/themes/dark-hive/images/ui-icons_222222_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/dark-hive/images/ui-icons_4b8e0b_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/dark-hive/images/ui-icons_a83300_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/dark-hive/images/ui-icons_cccccc_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/dark-hive/images/ui-icons_ffffff_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/dark-hive/jquery-ui.css +12 -12
- data/bower_components/jquery-ui/themes/dark-hive/jquery-ui.min.css +3 -3
- data/bower_components/jquery-ui/themes/dark-hive/theme.css +7 -7
- data/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_diagonals-thick_15_0b3e6f_40x40.png +0 -0
- data/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_dots-medium_30_0b58a2_4x4.png +0 -0
- data/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_dots-small_20_333333_2x2.png +0 -0
- data/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_dots-small_30_a32d00_2x2.png +0 -0
- data/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_dots-small_40_00498f_2x2.png +0 -0
- data/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_flat_40_292929_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_gloss-wave_20_111111_500x100.png +0 -0
- data/bower_components/jquery-ui/themes/dot-luv/images/ui-icons_00498f_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/dot-luv/images/ui-icons_98d2fb_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/dot-luv/images/ui-icons_9ccdfc_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/dot-luv/images/ui-icons_ffffff_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/dot-luv/jquery-ui.css +12 -12
- data/bower_components/jquery-ui/themes/dot-luv/jquery-ui.min.css +3 -3
- data/bower_components/jquery-ui/themes/dot-luv/theme.css +7 -7
- data/bower_components/jquery-ui/themes/eggplant/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/eggplant/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/eggplant/images/ui-bg_flat_55_994d53_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/eggplant/images/ui-bg_flat_55_fafafa_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/eggplant/images/ui-bg_gloss-wave_30_3d3644_500x100.png +0 -0
- data/bower_components/jquery-ui/themes/eggplant/images/ui-bg_highlight-soft_100_dcd9de_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/eggplant/images/ui-bg_highlight-soft_100_eae6ea_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/eggplant/images/ui-bg_highlight-soft_25_30273a_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/eggplant/images/ui-bg_highlight-soft_45_5f5964_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/eggplant/images/ui-icons_454545_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/eggplant/images/ui-icons_734d99_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/eggplant/images/ui-icons_8d78a5_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/eggplant/images/ui-icons_a8a3ae_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/eggplant/images/ui-icons_ebccce_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/eggplant/images/ui-icons_ffffff_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/eggplant/jquery-ui.css +12 -12
- data/bower_components/jquery-ui/themes/eggplant/jquery-ui.min.css +3 -3
- data/bower_components/jquery-ui/themes/eggplant/theme.css +7 -7
- data/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_diagonals-small_25_c5ddfc_40x40.png +0 -0
- data/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_diagonals-thick_20_e69700_40x40.png +0 -0
- data/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_diagonals-thick_22_1484e6_40x40.png +0 -0
- data/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_diagonals-thick_26_2293f7_40x40.png +0 -0
- data/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_flat_0_e69700_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_flat_0_e6b900_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_highlight-soft_100_f9f9f9_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_inset-hard_100_eeeeee_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/excite-bike/images/ui-icons_0a82eb_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/excite-bike/images/ui-icons_0b54d5_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/excite-bike/images/ui-icons_5fa5e3_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/excite-bike/images/ui-icons_fcdd4a_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/excite-bike/images/ui-icons_ffffff_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/excite-bike/jquery-ui.css +12 -12
- data/bower_components/jquery-ui/themes/excite-bike/jquery-ui.min.css +3 -3
- data/bower_components/jquery-ui/themes/excite-bike/theme.css +7 -7
- data/bower_components/jquery-ui/themes/flick/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/flick/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/flick/images/ui-bg_flat_55_ffffff_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/flick/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/flick/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/flick/images/ui-bg_highlight-soft_100_f6f6f6_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/flick/images/ui-bg_highlight-soft_25_0073ea_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/flick/images/ui-bg_highlight-soft_50_dddddd_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/flick/images/ui-icons_0073ea_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/flick/images/ui-icons_454545_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/flick/images/ui-icons_666666_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/flick/images/ui-icons_ff0084_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/flick/images/ui-icons_ffffff_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/flick/jquery-ui.css +12 -12
- data/bower_components/jquery-ui/themes/flick/jquery-ui.min.css +3 -3
- data/bower_components/jquery-ui/themes/flick/theme.css +7 -7
- data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_diagonals-small_40_db4865_40x40.png +0 -0
- data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_diagonals-small_50_93c3cd_40x40.png +0 -0
- data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_diagonals-small_50_ff3853_40x40.png +0 -0
- data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_diagonals-small_75_ccd232_40x40.png +0 -0
- data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_dots-medium_80_ffff38_4x4.png +0 -0
- data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_dots-small_35_35414f_2x2.png +0 -0
- data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_flat_75_ba9217_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_white-lines_85_f7f7ba_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_454545_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_88a206_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_c02669_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_e1e463_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_ffeb33_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_ffffff_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/hot-sneaks/jquery-ui.css +12 -12
- data/bower_components/jquery-ui/themes/hot-sneaks/jquery-ui.min.css +3 -3
- data/bower_components/jquery-ui/themes/hot-sneaks/theme.css +7 -7
- data/bower_components/jquery-ui/themes/humanity/images/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/humanity/images/ui-bg_glass_100_f5f0e5_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/humanity/images/ui-bg_glass_25_cb842e_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/humanity/images/ui-bg_glass_70_ede4d4_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/humanity/images/ui-bg_highlight-hard_100_f4f0ec_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/humanity/images/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/humanity/images/ui-bg_highlight-hard_75_f5f5b5_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/humanity/images/ui-bg_inset-soft_100_f4f0ec_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/humanity/images/ui-icons_c47a23_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/humanity/images/ui-icons_cb672b_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/humanity/images/ui-icons_f08000_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/humanity/images/ui-icons_f35f07_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/humanity/images/ui-icons_ff7519_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/humanity/images/ui-icons_ffffff_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/humanity/jquery-ui.css +12 -12
- data/bower_components/jquery-ui/themes/humanity/jquery-ui.min.css +3 -3
- data/bower_components/jquery-ui/themes/humanity/theme.css +7 -7
- data/bower_components/jquery-ui/themes/le-frog/images/ui-bg_diagonals-small_0_aaaaaa_40x40.png +0 -0
- data/bower_components/jquery-ui/themes/le-frog/images/ui-bg_diagonals-thick_15_444444_40x40.png +0 -0
- data/bower_components/jquery-ui/themes/le-frog/images/ui-bg_diagonals-thick_95_ffdc2e_40x40.png +0 -0
- data/bower_components/jquery-ui/themes/le-frog/images/ui-bg_glass_55_fbf5d0_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/le-frog/images/ui-bg_highlight-hard_30_285c00_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/le-frog/images/ui-bg_highlight-soft_33_3a8104_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/le-frog/images/ui-bg_highlight-soft_50_4eb305_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/le-frog/images/ui-bg_highlight-soft_60_4ca20b_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/le-frog/images/ui-bg_inset-soft_10_285c00_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/le-frog/images/ui-icons_4eb305_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/le-frog/images/ui-icons_72b42d_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/le-frog/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/le-frog/images/ui-icons_ffffff_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/le-frog/jquery-ui.css +12 -12
- data/bower_components/jquery-ui/themes/le-frog/jquery-ui.min.css +3 -3
- data/bower_components/jquery-ui/themes/le-frog/theme.css +7 -7
- data/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_glass_15_5f391b_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_gloss-wave_20_1c160d_500x100.png +0 -0
- data/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_gloss-wave_25_453326_500x100.png +0 -0
- data/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_gloss-wave_30_44372c_500x100.png +0 -0
- data/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_highlight-soft_20_201913_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_highlight-soft_20_619226_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_inset-soft_10_201913_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_222222_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_9bcc60_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_add978_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_e3ddc9_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_f1fd86_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_ffffff_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/mint-choc/jquery-ui.css +12 -12
- data/bower_components/jquery-ui/themes/mint-choc/jquery-ui.min.css +3 -3
- data/bower_components/jquery-ui/themes/mint-choc/theme.css +7 -7
- data/bower_components/jquery-ui/themes/overcast/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/overcast/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/overcast/images/ui-bg_flat_55_c0402a_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/overcast/images/ui-bg_flat_55_eeeeee_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/overcast/images/ui-bg_glass_100_f8f8f8_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/overcast/images/ui-bg_glass_35_dddddd_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/overcast/images/ui-bg_glass_60_eeeeee_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/overcast/images/ui-bg_inset-hard_75_999999_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/overcast/images/ui-bg_inset-soft_50_c9c9c9_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/overcast/images/ui-icons_3383bb_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/overcast/images/ui-icons_454545_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/overcast/images/ui-icons_70b2e1_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/overcast/images/ui-icons_999999_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/overcast/images/ui-icons_fbc856_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/overcast/jquery-ui.css +12 -12
- data/bower_components/jquery-ui/themes/overcast/jquery-ui.min.css +3 -3
- data/bower_components/jquery-ui/themes/overcast/theme.css +7 -7
- data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_diagonal-maze_20_6e4f1c_10x10.png +0 -0
- data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_diagonal-maze_40_000000_10x10.png +0 -0
- data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_10_eceadf_60x60.png +0 -0
- data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_10_f8f7f6_60x60.png +0 -0
- data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_15_eceadf_60x60.png +0 -0
- data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_15_f7f3de_60x60.png +0 -0
- data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_15_ffffff_60x60.png +0 -0
- data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_65_654b24_60x60.png +0 -0
- data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_68_b83400_60x60.png +0 -0
- data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_222222_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_3572ac_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_8c291d_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_b83400_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_fbdb93_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_ffffff_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/pepper-grinder/jquery-ui.css +12 -12
- data/bower_components/jquery-ui/themes/pepper-grinder/jquery-ui.min.css +3 -3
- data/bower_components/jquery-ui/themes/pepper-grinder/theme.css +7 -7
- data/bower_components/jquery-ui/themes/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
- data/bower_components/jquery-ui/themes/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/redmond/images/ui-icons_217bc0_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/redmond/images/ui-icons_2e83ff_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/redmond/images/ui-icons_469bdd_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/redmond/images/ui-icons_6da8d5_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/redmond/images/ui-icons_d8e7f3_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/redmond/images/ui-icons_f9bd01_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/redmond/jquery-ui.css +12 -12
- data/bower_components/jquery-ui/themes/redmond/jquery-ui.min.css +3 -3
- data/bower_components/jquery-ui/themes/redmond/theme.css +7 -7
- data/bower_components/jquery-ui/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/smoothness/jquery-ui.css +12 -12
- data/bower_components/jquery-ui/themes/smoothness/jquery-ui.min.css +3 -3
- data/bower_components/jquery-ui/themes/smoothness/theme.css +7 -7
- data/bower_components/jquery-ui/themes/south-street/images/ui-bg_glass_55_fcf0ba_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/south-street/images/ui-bg_gloss-wave_100_ece8da_500x100.png +0 -0
- data/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-hard_100_f5f3e5_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-hard_100_fafaf4_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-hard_15_459e00_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-hard_95_cccccc_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-soft_25_67b021_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-soft_95_ffedad_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/south-street/images/ui-bg_inset-soft_15_2b2922_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/south-street/images/ui-icons_808080_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/south-street/images/ui-icons_847e71_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/south-street/images/ui-icons_8DC262_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/south-street/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/south-street/images/ui-icons_eeeeee_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/south-street/images/ui-icons_ffffff_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/south-street/jquery-ui.css +12 -12
- data/bower_components/jquery-ui/themes/south-street/jquery-ui.min.css +3 -3
- data/bower_components/jquery-ui/themes/south-street/theme.css +7 -7
- data/bower_components/jquery-ui/themes/start/images/ui-bg_flat_55_999999_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/start/images/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/start/images/ui-bg_glass_45_0078ae_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/start/images/ui-bg_glass_55_f8da4e_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/start/images/ui-bg_glass_75_79c9ec_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/start/images/ui-bg_gloss-wave_45_e14f1c_500x100.png +0 -0
- data/bower_components/jquery-ui/themes/start/images/ui-bg_gloss-wave_50_6eac2c_500x100.png +0 -0
- data/bower_components/jquery-ui/themes/start/images/ui-bg_gloss-wave_75_2191c0_500x100.png +0 -0
- data/bower_components/jquery-ui/themes/start/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/start/images/ui-icons_0078ae_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/start/images/ui-icons_056b93_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/start/images/ui-icons_d8e7f3_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/start/images/ui-icons_e0fdff_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/start/images/ui-icons_f5e175_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/start/images/ui-icons_f7a50d_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/start/images/ui-icons_fcd113_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/start/jquery-ui.css +12 -12
- data/bower_components/jquery-ui/themes/start/jquery-ui.min.css +3 -3
- data/bower_components/jquery-ui/themes/start/theme.css +7 -7
- data/bower_components/jquery-ui/themes/sunny/images/ui-bg_diagonals-medium_20_d34d17_40x40.png +0 -0
- data/bower_components/jquery-ui/themes/sunny/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/sunny/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/sunny/images/ui-bg_gloss-wave_45_817865_500x100.png +0 -0
- data/bower_components/jquery-ui/themes/sunny/images/ui-bg_gloss-wave_60_fece2f_500x100.png +0 -0
- data/bower_components/jquery-ui/themes/sunny/images/ui-bg_gloss-wave_70_ffdd57_500x100.png +0 -0
- data/bower_components/jquery-ui/themes/sunny/images/ui-bg_gloss-wave_90_fff9e5_500x100.png +0 -0
- data/bower_components/jquery-ui/themes/sunny/images/ui-bg_highlight-soft_100_feeebd_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/sunny/images/ui-bg_inset-soft_30_ffffff_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/sunny/images/ui-icons_3d3d3d_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/sunny/images/ui-icons_bd7b00_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/sunny/images/ui-icons_d19405_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/sunny/images/ui-icons_eb990f_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/sunny/images/ui-icons_ed9f26_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/sunny/images/ui-icons_fadc7a_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/sunny/images/ui-icons_ffe180_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/sunny/jquery-ui.css +12 -12
- data/bower_components/jquery-ui/themes/sunny/jquery-ui.min.css +3 -3
- data/bower_components/jquery-ui/themes/sunny/theme.css +7 -7
- data/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_10_4f4221_10x8.png +0 -0
- data/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_20_372806_10x8.png +0 -0
- data/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_25_675423_10x8.png +0 -0
- data/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_25_d5ac5d_10x8.png +0 -0
- data/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_8_261803_10x8.png +0 -0
- data/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_8_443113_10x8.png +0 -0
- data/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_flat_75_ddd4b0_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_070603_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_e8e2b5_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_e9cd86_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_efec9f_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_f2ec64_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_f9f2bd_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_ff7519_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/swanky-purse/jquery-ui.css +12 -12
- data/bower_components/jquery-ui/themes/swanky-purse/jquery-ui.min.css +3 -3
- data/bower_components/jquery-ui/themes/swanky-purse/theme.css +7 -7
- data/bower_components/jquery-ui/themes/trontastic/images/ui-bg_diagonals-small_50_262626_40x40.png +0 -0
- data/bower_components/jquery-ui/themes/trontastic/images/ui-bg_flat_0_303030_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/trontastic/images/ui-bg_flat_0_4c4c4c_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/trontastic/images/ui-bg_glass_40_0a0a0a_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/trontastic/images/ui-bg_glass_55_f1fbe5_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/trontastic/images/ui-bg_glass_60_000000_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/trontastic/images/ui-bg_gloss-wave_55_000000_500x100.png +0 -0
- data/bower_components/jquery-ui/themes/trontastic/images/ui-bg_gloss-wave_85_9fda58_500x100.png +0 -0
- data/bower_components/jquery-ui/themes/trontastic/images/ui-bg_gloss-wave_95_f6ecd5_500x100.png +0 -0
- data/bower_components/jquery-ui/themes/trontastic/images/ui-icons_000000_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/trontastic/images/ui-icons_1f1f1f_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/trontastic/images/ui-icons_9fda58_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/trontastic/images/ui-icons_b8ec79_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/trontastic/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/trontastic/images/ui-icons_ffffff_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/trontastic/jquery-ui.css +12 -12
- data/bower_components/jquery-ui/themes/trontastic/jquery-ui.min.css +3 -3
- data/bower_components/jquery-ui/themes/trontastic/theme.css +7 -7
- data/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_glass_20_555555_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_glass_40_0078a3_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
- data/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_inset-soft_25_000000_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_inset-soft_30_f58400_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/ui-darkness/images/ui-icons_222222_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/ui-darkness/images/ui-icons_4b8e0b_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/ui-darkness/images/ui-icons_a83300_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/ui-darkness/images/ui-icons_cccccc_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/ui-darkness/images/ui-icons_ffffff_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/ui-darkness/jquery-ui.css +12 -12
- data/bower_components/jquery-ui/themes/ui-darkness/jquery-ui.min.css +3 -3
- data/bower_components/jquery-ui/themes/ui-darkness/theme.css +7 -7
- data/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/ui-lightness/jquery-ui.css +12 -12
- data/bower_components/jquery-ui/themes/ui-lightness/jquery-ui.min.css +3 -3
- data/bower_components/jquery-ui/themes/ui-lightness/theme.css +7 -7
- data/bower_components/jquery-ui/themes/vader/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/bower_components/jquery-ui/themes/vader/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/bower_components/jquery-ui/themes/vader/images/ui-bg_gloss-wave_16_121212_500x100.png +0 -0
- data/bower_components/jquery-ui/themes/vader/images/ui-bg_highlight-hard_15_888888_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/vader/images/ui-bg_highlight-hard_55_555555_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/vader/images/ui-bg_highlight-soft_35_adadad_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/vader/images/ui-bg_highlight-soft_60_dddddd_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/vader/images/ui-bg_inset-soft_15_121212_1x100.png +0 -0
- data/bower_components/jquery-ui/themes/vader/images/ui-icons_666666_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/vader/images/ui-icons_aaaaaa_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/vader/images/ui-icons_bbbbbb_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/vader/images/ui-icons_c98000_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/vader/images/ui-icons_cccccc_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/vader/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/vader/images/ui-icons_f29a00_256x240.png +0 -0
- data/bower_components/jquery-ui/themes/vader/jquery-ui.css +12 -12
- data/bower_components/jquery-ui/themes/vader/jquery-ui.min.css +3 -3
- data/bower_components/jquery-ui/themes/vader/theme.css +7 -7
- data/bower_components/jquery-ui/ui/accordion.js +24 -9
- data/bower_components/jquery-ui/ui/autocomplete.js +7 -5
- data/bower_components/jquery-ui/ui/button.js +4 -4
- data/bower_components/jquery-ui/ui/core.js +8 -7
- data/bower_components/jquery-ui/ui/datepicker.js +30 -19
- data/bower_components/jquery-ui/ui/dialog.js +26 -8
- data/bower_components/jquery-ui/ui/draggable.js +331 -215
- data/bower_components/jquery-ui/ui/droppable.js +10 -13
- data/bower_components/jquery-ui/ui/effect-blind.js +2 -2
- data/bower_components/jquery-ui/ui/effect-bounce.js +2 -2
- data/bower_components/jquery-ui/ui/effect-clip.js +2 -2
- data/bower_components/jquery-ui/ui/effect-drop.js +3 -3
- data/bower_components/jquery-ui/ui/effect-explode.js +2 -2
- data/bower_components/jquery-ui/ui/effect-fade.js +2 -2
- data/bower_components/jquery-ui/ui/effect-fold.js +2 -2
- data/bower_components/jquery-ui/ui/effect-highlight.js +2 -2
- data/bower_components/jquery-ui/ui/effect-puff.js +2 -2
- data/bower_components/jquery-ui/ui/effect-pulsate.js +2 -2
- data/bower_components/jquery-ui/ui/effect-scale.js +2 -2
- data/bower_components/jquery-ui/ui/effect-shake.js +2 -2
- data/bower_components/jquery-ui/ui/effect-size.js +2 -2
- data/bower_components/jquery-ui/ui/effect-slide.js +2 -2
- data/bower_components/jquery-ui/ui/effect-transfer.js +2 -2
- data/bower_components/jquery-ui/ui/effect.js +10 -6
- data/bower_components/jquery-ui/ui/i18n/datepicker-af.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-ar-DZ.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-ar.js +7 -6
- data/bower_components/jquery-ui/ui/i18n/datepicker-az.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-be.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-bg.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-bs.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-ca.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-cs.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-cy-GB.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-da.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-de.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-el.js +1 -1
- data/bower_components/jquery-ui/ui/i18n/datepicker-en-AU.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-en-GB.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-en-NZ.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-eo.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-es.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-et.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-eu.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-fa.js +12 -12
- data/bower_components/jquery-ui/ui/i18n/datepicker-fi.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-fo.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-fr-CA.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-fr-CH.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-fr.js +1 -1
- data/bower_components/jquery-ui/ui/i18n/datepicker-gl.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-he.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-hi.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-hr.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-hu.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-hy.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-id.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-is.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-it-CH.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-it.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-ja.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-ka.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-kk.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-km.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-ko.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-ky.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-lb.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-lt.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-lv.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-mk.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-ml.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-ms.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-nb.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-nl-BE.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-nl.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-nn.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-no.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-pl.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-pt-BR.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-pt.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-rm.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-ro.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-ru.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-sk.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-sl.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-sq.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-sr-SR.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-sr.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-sv.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-ta.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-th.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-tj.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-tr.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-uk.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-vi.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-zh-CN.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-zh-HK.js +0 -0
- data/bower_components/jquery-ui/ui/i18n/datepicker-zh-TW.js +0 -0
- data/bower_components/jquery-ui/ui/menu.js +29 -23
- data/bower_components/jquery-ui/ui/minified/accordion.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/autocomplete.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/button.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/core.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/datepicker.min.js +4 -4
- data/bower_components/jquery-ui/ui/minified/dialog.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/draggable.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/droppable.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/effect-blind.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/effect-bounce.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/effect-clip.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/effect-drop.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/effect-explode.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/effect-fade.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/effect-fold.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/effect-highlight.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/effect-puff.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/effect-pulsate.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/effect-scale.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/effect-shake.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/effect-size.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/effect-slide.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/effect-transfer.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/effect.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-af.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ar-DZ.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ar.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-az.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-be.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-bg.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-bs.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ca.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-cs.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-cy-GB.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-da.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-de.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-el.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-en-AU.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-en-GB.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-en-NZ.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-eo.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-es.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-et.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-eu.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-fa.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-fi.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-fo.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-fr-CA.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-fr-CH.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-fr.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-gl.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-he.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-hi.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-hr.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-hu.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-hy.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-id.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-is.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-it-CH.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-it.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ja.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ka.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-kk.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-km.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ko.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ky.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-lb.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-lt.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-lv.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-mk.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ml.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ms.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-nb.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-nl-BE.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-nl.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-nn.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-no.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-pl.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-pt-BR.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-pt.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-rm.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ro.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ru.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-sk.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-sl.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-sq.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-sr-SR.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-sr.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-sv.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-ta.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-th.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-tj.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-tr.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-uk.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-vi.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-zh-CN.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-zh-HK.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/i18n/datepicker-zh-TW.min.js +2 -2
- data/bower_components/jquery-ui/ui/minified/menu.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/mouse.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/position.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/progressbar.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/resizable.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/selectable.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/selectmenu.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/slider.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/sortable.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/spinner.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/tabs.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/tooltip.min.js +3 -3
- data/bower_components/jquery-ui/ui/minified/widget.min.js +3 -3
- data/bower_components/jquery-ui/ui/mouse.js +21 -9
- data/bower_components/jquery-ui/ui/position.js +9 -6
- data/bower_components/jquery-ui/ui/progressbar.js +3 -3
- data/bower_components/jquery-ui/ui/resizable.js +290 -166
- data/bower_components/jquery-ui/ui/selectable.js +3 -3
- data/bower_components/jquery-ui/ui/selectmenu.js +74 -14
- data/bower_components/jquery-ui/ui/slider.js +34 -5
- data/bower_components/jquery-ui/ui/sortable.js +56 -51
- data/bower_components/jquery-ui/ui/spinner.js +3 -3
- data/bower_components/jquery-ui/ui/tabs.js +57 -37
- data/bower_components/jquery-ui/ui/tooltip.js +58 -29
- data/bower_components/jquery-ui/ui/widget.js +30 -15
- data/bower_components/jquery/.bower.json +7 -6
- data/bower_components/jquery/bower.json +3 -2
- data/bower_components/jquery/dist/jquery.js +283 -263
- data/bower_components/jquery/dist/jquery.min.js +4 -4
- data/bower_components/jquery/dist/jquery.min.map +1 -1
- data/bower_components/jquery/src/ajax.js +11 -31
- data/bower_components/jquery/src/ajax/xhr.js +3 -2
- data/bower_components/jquery/src/attributes/attr.js +0 -2
- data/bower_components/jquery/src/attributes/classes.js +4 -4
- data/bower_components/jquery/src/attributes/prop.js +1 -3
- data/bower_components/jquery/src/attributes/support.js +8 -8
- data/bower_components/jquery/src/attributes/val.js +3 -5
- data/bower_components/jquery/src/core.js +12 -8
- data/bower_components/jquery/src/core/init.js +3 -3
- data/bower_components/jquery/src/core/ready.js +1 -1
- data/bower_components/jquery/src/css.js +28 -29
- data/bower_components/jquery/src/css/addGetHookIf.js +2 -4
- data/bower_components/jquery/src/css/curCSS.js +1 -1
- data/bower_components/jquery/src/css/defaultDisplay.js +1 -1
- data/bower_components/jquery/src/css/support.js +5 -0
- data/bower_components/jquery/src/css/var/getStyles.js +8 -1
- data/bower_components/jquery/src/data.js +10 -11
- data/bower_components/jquery/src/data/Data.js +3 -3
- data/bower_components/jquery/src/deferred.js +2 -2
- data/bower_components/jquery/src/dimensions.js +1 -1
- data/bower_components/jquery/src/effects.js +29 -30
- data/bower_components/jquery/src/effects/Tween.js +7 -7
- data/bower_components/jquery/src/event.js +5 -5
- data/bower_components/jquery/src/event/ajax.js +13 -0
- data/bower_components/jquery/src/exports/global.js +2 -2
- data/bower_components/jquery/src/intro.js +8 -8
- data/bower_components/jquery/src/jquery.js +1 -0
- data/bower_components/jquery/src/manipulation.js +9 -11
- data/bower_components/jquery/src/manipulation/support.js +6 -5
- data/bower_components/jquery/src/offset.js +9 -6
- data/bower_components/jquery/src/queue.js +3 -3
- data/bower_components/jquery/src/sizzle/dist/sizzle.js +83 -60
- data/bower_components/jquery/src/sizzle/dist/sizzle.min.js +3 -3
- data/bower_components/jquery/src/sizzle/dist/sizzle.min.map +1 -1
- data/bower_components/jquery/src/traversing.js +3 -4
- data/bower_components/jquery/src/wrap.js +1 -0
- data/bower_components/underscore/.bower.json +9 -7
- data/bower_components/underscore/LICENSE +1 -1
- data/bower_components/underscore/bower.json +2 -3
- data/bower_components/underscore/underscore-min.js +6 -0
- data/bower_components/underscore/underscore-min.map +1 -0
- data/bower_components/underscore/underscore.js +756 -551
- data/lib/rubyneat_dashboard.rb +27 -4
- data/lib/rubyneat_dashboard/main.rb +15 -10
- data/lib/rubyneat_dashboard/rubyneat_api.rb +9 -0
- data/lib/rubyneat_dashboard/rubyneat_dsl.rb +12 -1
- data/rubyneat_dashboard.gemspec +93 -44
- data/views/home.haml +0 -5
- data/views/json/population.rabl +5 -0
- data/views/json/population/critter/genotype.rabl +9 -0
- data/views/json/population/critter/phenotype.rabl +2 -0
- data/views/layout.haml +1 -1
- data/views/population/home.haml +1 -2
- metadata +201 -42
- data/bower_components/animate.css/.editorconfig +0 -11
- data/bower_components/animate.css/.gitignore +0 -4
- data/bower_components/animate.css/README.md +0 -73
- data/bower_components/d3/.spmignore +0 -4
- data/bower_components/d3/composer.json +0 -19
- data/bower_components/jquery-placeholder/.gitattributes +0 -1
- data/bower_components/jquery-placeholder/.gitignore +0 -1
- data/bower_components/jquery-placeholder/LICENSE-MIT.txt +0 -20
- data/bower_components/jquery-placeholder/README.md +0 -76
- data/bower_components/jquery-placeholder/demo.html +0 -55
- data/bower_components/jquery-placeholder/tests/index.html +0 -32
- data/bower_components/jquery-placeholder/tests/tests.js +0 -134
- data/bower_components/jquery-ui/themes/base/images/animated-overlay.gif +0 -0
- data/bower_components/underscore/.editorconfig +0 -14
- data/bower_components/underscore/.gitignore +0 -2
- data/bower_components/underscore/component.json +0 -10
- 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
|
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
|
-
|
56
|
-
|
57
|
-
|
55
|
+
if ('addEventListener' in document) {
|
56
|
+
document.addEventListener('DOMContentLoaded', function() {
|
57
|
+
FastClick.attach(document.body);
|
58
|
+
}, false);
|
59
|
+
}
|
58
60
|
```
|
59
61
|
|
60
|
-
|
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,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
|
-
*
|
5
|
+
* @preserve FastClick: polyfill to remove click delays on browsers with touch UIs.
|
29
6
|
*
|
30
|
-
* @
|
7
|
+
* @codingstandard ftlabs-jsv2
|
8
|
+
* @copyright The Financial Times Limited [All Rights Reserved]
|
9
|
+
* @license MIT License (see LICENSE.txt)
|
31
10
|
*/
|
32
|
-
|
11
|
+
|
12
|
+
/*jslint browser:true, node:true*/
|
13
|
+
/*global define, Event, Node*/
|
33
14
|
|
34
15
|
|
35
16
|
/**
|
36
|
-
*
|
17
|
+
* Instantiate fast-clicking listeners on the specified layer.
|
37
18
|
*
|
38
|
-
* @
|
19
|
+
* @constructor
|
20
|
+
* @param {Element} layer The layer to listen on
|
21
|
+
* @param {Object} [options={}] The options to override the defaults
|
39
22
|
*/
|
40
|
-
|
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
|
-
*
|
184
|
+
* Android requires exceptions.
|
53
185
|
*
|
54
|
-
* @type
|
186
|
+
* @type boolean
|
55
187
|
*/
|
56
|
-
|
188
|
+
var deviceIsAndroid = navigator.userAgent.indexOf('Android') > 0 && !deviceIsWindowsPhone;
|
57
189
|
|
58
190
|
|
59
191
|
/**
|
60
|
-
*
|
192
|
+
* iOS requires exceptions.
|
61
193
|
*
|
62
|
-
* @type
|
194
|
+
* @type boolean
|
63
195
|
*/
|
64
|
-
|
196
|
+
var deviceIsIOS = /iP(ad|hone|od)/.test(navigator.userAgent) && !deviceIsWindowsPhone;
|
65
197
|
|
66
198
|
|
67
199
|
/**
|
68
|
-
*
|
200
|
+
* iOS 4 requires an exception for select elements.
|
69
201
|
*
|
70
|
-
* @type
|
202
|
+
* @type boolean
|
71
203
|
*/
|
72
|
-
|
204
|
+
var deviceIsIOS4 = deviceIsIOS && (/OS 4_\d(_\d)?/).test(navigator.userAgent);
|
73
205
|
|
74
206
|
|
75
207
|
/**
|
76
|
-
*
|
208
|
+
* iOS 6.0-7.* requires the target element to be manually derived
|
77
209
|
*
|
78
|
-
* @type
|
210
|
+
* @type boolean
|
79
211
|
*/
|
80
|
-
|
81
|
-
|
212
|
+
var deviceIsIOSWithBadTarget = deviceIsIOS && (/OS [6-7]_\d/).test(navigator.userAgent);
|
82
213
|
|
83
214
|
/**
|
84
|
-
*
|
215
|
+
* BlackBerry requires exceptions.
|
85
216
|
*
|
86
|
-
* @type
|
217
|
+
* @type boolean
|
87
218
|
*/
|
88
|
-
|
219
|
+
var deviceIsBlackBerry10 = navigator.userAgent.indexOf('BB10') > 0;
|
89
220
|
|
90
221
|
/**
|
91
|
-
*
|
222
|
+
* Determine whether a given element requires a native click.
|
92
223
|
*
|
93
|
-
* @
|
224
|
+
* @param {EventTarget|Element} target Target DOM element
|
225
|
+
* @returns {boolean} Returns true if the element needs a native click
|
94
226
|
*/
|
95
|
-
|
227
|
+
FastClick.prototype.needsClick = function(target) {
|
228
|
+
switch (target.nodeName.toLowerCase()) {
|
96
229
|
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
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
|
-
|
114
|
-
|
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
|
-
|
121
|
-
|
122
|
-
|
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
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
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
|
-
|
226
|
-
|
253
|
+
return (/\bneedsclick\b/).test(target.className);
|
254
|
+
};
|
255
|
+
|
227
256
|
|
228
|
-
|
229
|
-
|
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
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
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
|
-
|
286
|
-
if (document.activeElement && document.activeElement !== targetElement) {
|
287
|
-
document.activeElement.blur();
|
288
|
-
}
|
311
|
+
FastClick.prototype.determineEventType = function(targetElement) {
|
289
312
|
|
290
|
-
|
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
|
-
|
293
|
-
|
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
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
322
|
+
/**
|
323
|
+
* @param {EventTarget|Element} targetElement
|
324
|
+
*/
|
325
|
+
FastClick.prototype.focus = function(targetElement) {
|
326
|
+
var length;
|
306
327
|
|
307
|
-
|
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
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
351
|
-
|
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
|
-
|
363
|
-
|
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
|
-
|
369
|
-
|
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
|
-
|
379
|
-
|
380
|
-
|
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
|
-
|
388
|
-
|
389
|
-
return true;
|
390
|
-
}
|
399
|
+
targetElement = this.getTargetElementFromEventTarget(event.target);
|
400
|
+
touch = event.targetTouches[0];
|
391
401
|
|
392
|
-
|
393
|
-
touch = event.targetTouches[0];
|
402
|
+
if (deviceIsIOS) {
|
394
403
|
|
395
|
-
|
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
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
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
|
-
|
425
|
+
this.lastTouchIdentifier = touch.identifier;
|
404
426
|
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
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
|
-
|
437
|
+
this.trackingClick = true;
|
438
|
+
this.trackingClickStart = event.timeStamp;
|
439
|
+
this.targetElement = targetElement;
|
419
440
|
|
420
|
-
|
421
|
-
|
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
|
-
|
431
|
-
|
432
|
-
|
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
|
-
|
435
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
488
|
-
|
489
|
-
|
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
|
-
|
496
|
-
|
497
|
-
|
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
|
-
|
501
|
-
|
502
|
-
return
|
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
|
-
|
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
|
-
|
522
|
-
|
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
|
-
|
526
|
-
|
527
|
-
|
528
|
-
return true;
|
529
|
-
}
|
534
|
+
if ((event.timeStamp - this.trackingClickStart) > this.tapTimeout) {
|
535
|
+
return true;
|
536
|
+
}
|
530
537
|
|
531
|
-
|
532
|
-
|
538
|
+
// Reset to prevent wrong click cancel on input (issue #156).
|
539
|
+
this.cancelNextClick = false;
|
533
540
|
|
534
|
-
|
541
|
+
this.lastClickTime = event.timeStamp;
|
535
542
|
|
536
|
-
|
537
|
-
|
538
|
-
|
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
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
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
|
-
|
548
|
-
|
549
|
-
|
550
|
-
}
|
568
|
+
targetElement = forElement;
|
569
|
+
}
|
570
|
+
} else if (this.needsFocus(targetElement)) {
|
551
571
|
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
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
|
562
|
-
|
563
|
-
|
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
|
-
|
573
|
-
this.sendClick(targetElement, event);
|
592
|
+
if (deviceIsIOS && !deviceIsIOS4) {
|
574
593
|
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
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
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
641
|
+
// Programmatically generated events targeting a specific element should be permitted
|
642
|
+
if (!event.cancelable) {
|
643
|
+
return true;
|
644
|
+
}
|
631
645
|
|
632
|
-
|
633
|
-
|
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
|
-
|
637
|
-
|
638
|
-
|
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
|
-
|
642
|
-
|
643
|
-
|
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
|
-
|
647
|
-
|
648
|
-
event.
|
649
|
-
} else {
|
660
|
+
// Cancel the event
|
661
|
+
event.stopPropagation();
|
662
|
+
event.preventDefault();
|
650
663
|
|
651
|
-
|
652
|
-
event.propagationStopped = true;
|
664
|
+
return false;
|
653
665
|
}
|
654
666
|
|
655
|
-
//
|
656
|
-
|
657
|
-
|
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
|
-
|
663
|
-
|
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
|
-
|
669
|
-
|
670
|
-
|
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
|
-
|
680
|
-
if (this.trackingClick) {
|
681
|
-
this.targetElement = null;
|
682
|
-
this.trackingClick = false;
|
683
|
-
return true;
|
684
|
-
}
|
695
|
+
permitted = this.onMouse(event);
|
685
696
|
|
686
|
-
|
687
|
-
|
688
|
-
|
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
|
-
|
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
|
-
|
699
|
-
|
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
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
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
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
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
|
-
|
738
|
-
|
739
|
-
return true;
|
740
|
-
}
|
750
|
+
if (deviceIsAndroid) {
|
751
|
+
metaViewport = document.querySelector('meta[name=viewport]');
|
741
752
|
|
742
|
-
|
743
|
-
|
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
|
-
|
764
|
+
// Chrome desktop doesn't need FastClick (issue #15)
|
765
|
+
} else {
|
766
|
+
return true;
|
767
|
+
}
|
768
|
+
}
|
746
769
|
|
747
|
-
if (
|
748
|
-
|
770
|
+
if (deviceIsBlackBerry10) {
|
771
|
+
blackberryVersion = navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/);
|
749
772
|
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
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
|
-
//
|
762
|
-
|
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
|
-
|
768
|
-
|
796
|
+
// Firefox version - zero for other browsers
|
797
|
+
firefoxVersion = +(/Firefox\/([0-9]+)/.exec(navigator.userAgent) || [,0])[1];
|
769
798
|
|
770
|
-
|
771
|
-
|
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
|
-
|
776
|
-
|
777
|
-
|
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
|
-
|
789
|
-
|
790
|
-
|
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
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
'
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
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
|
+
}());
|