assets-rails 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +14 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +65 -0
- data/Rakefile +2 -0
- data/assets-rails.gemspec +25 -0
- data/lib/assets-rails.rb +7 -0
- data/lib/assets-rails/engine.rb +9 -0
- data/lib/assets-rails/version.rb +5 -0
- data/vendor/assets/fonts/bootstrap/v3.2.0/glyphicons-halflings-regular.eot +0 -0
- data/vendor/assets/fonts/bootstrap/v3.2.0/glyphicons-halflings-regular.svg +229 -0
- data/vendor/assets/fonts/bootstrap/v3.2.0/glyphicons-halflings-regular.ttf +0 -0
- data/vendor/assets/fonts/bootstrap/v3.2.0/glyphicons-halflings-regular.woff +0 -0
- data/vendor/assets/fonts/bootstrap/v3.3.0/glyphicons-halflings-regular.eot +0 -0
- data/vendor/assets/fonts/bootstrap/v3.3.0/glyphicons-halflings-regular.svg +229 -0
- data/vendor/assets/fonts/bootstrap/v3.3.0/glyphicons-halflings-regular.ttf +0 -0
- data/vendor/assets/fonts/bootstrap/v3.3.0/glyphicons-halflings-regular.woff +0 -0
- data/vendor/assets/fonts/font-awesome/v4.2.0/FontAwesome.otf +0 -0
- data/vendor/assets/fonts/font-awesome/v4.2.0/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/font-awesome/v4.2.0/fontawesome-webfont.svg +520 -0
- data/vendor/assets/fonts/font-awesome/v4.2.0/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/fonts/font-awesome/v4.2.0/fontawesome-webfont.woff +0 -0
- data/vendor/assets/fonts/jquery.flexslider/flexslider-icon.eot +0 -0
- data/vendor/assets/fonts/jquery.flexslider/flexslider-icon.svg +19 -0
- data/vendor/assets/fonts/jquery.flexslider/flexslider-icon.ttf +0 -0
- data/vendor/assets/fonts/jquery.flexslider/flexslider-icon.woff +0 -0
- data/vendor/assets/images/fancybox/blank.gif +0 -0
- data/vendor/assets/images/fancybox/fancybox_buttons.png +0 -0
- data/vendor/assets/images/fancybox/fancybox_loading.gif +0 -0
- data/vendor/assets/images/fancybox/fancybox_loading@2x.gif +0 -0
- data/vendor/assets/images/fancybox/fancybox_overlay.png +0 -0
- data/vendor/assets/images/fancybox/fancybox_sprite.png +0 -0
- data/vendor/assets/images/fancybox/fancybox_sprite@2x.png +0 -0
- data/vendor/assets/images/jquery.colorbox/v1.5.14/example1/border.png +0 -0
- data/vendor/assets/images/jquery.colorbox/v1.5.14/example1/controls.png +0 -0
- data/vendor/assets/images/jquery.colorbox/v1.5.14/example1/loading.gif +0 -0
- data/vendor/assets/images/jquery.colorbox/v1.5.14/example1/loading_background.png +0 -0
- data/vendor/assets/images/jquery.colorbox/v1.5.14/example1/overlay.png +0 -0
- data/vendor/assets/images/jquery.colorbox/v1.5.14/example2/controls.png +0 -0
- data/vendor/assets/images/jquery.colorbox/v1.5.14/example2/loading.gif +0 -0
- data/vendor/assets/images/jquery.colorbox/v1.5.14/example3/controls.png +0 -0
- data/vendor/assets/images/jquery.colorbox/v1.5.14/example3/loading.gif +0 -0
- data/vendor/assets/images/jquery.colorbox/v1.5.14/example4/border1.png +0 -0
- data/vendor/assets/images/jquery.colorbox/v1.5.14/example4/border2.png +0 -0
- data/vendor/assets/images/jquery.colorbox/v1.5.14/example4/loading.gif +0 -0
- data/vendor/assets/images/jquery.colorbox/v1.5.14/example5/border.png +0 -0
- data/vendor/assets/images/jquery.colorbox/v1.5.14/example5/controls.png +0 -0
- data/vendor/assets/images/jquery.colorbox/v1.5.14/example5/loading.gif +0 -0
- data/vendor/assets/images/jquery.colorbox/v1.5.14/example5/loading_background.png +0 -0
- data/vendor/assets/images/jquery.flexslider/bg_play_pause.png +0 -0
- data/vendor/assets/images/jquery.owlcarousel/AjaxLoader.gif +0 -0
- data/vendor/assets/images/jquery.owlcarousel/grabbing.png +0 -0
- data/vendor/assets/images/zebra_datepicker/calendar-disabled.png +0 -0
- data/vendor/assets/images/zebra_datepicker/calendar.png +0 -0
- data/vendor/assets/images/zebra_datepicker/metallic/default-date.png +0 -0
- data/vendor/assets/images/zebra_datepicker/metallic/disabled-date.png +0 -0
- data/vendor/assets/images/zebra_datepicker/metallic/header.png +0 -0
- data/vendor/assets/images/zebra_datepicker/metallic/selected-date.png +0 -0
- data/vendor/assets/javascripts/bootstrap/v3.2.0.js +12 -0
- data/vendor/assets/javascripts/bootstrap/v3.2.0/affix.js +142 -0
- data/vendor/assets/javascripts/bootstrap/v3.2.0/alert.js +92 -0
- data/vendor/assets/javascripts/bootstrap/v3.2.0/button.js +110 -0
- data/vendor/assets/javascripts/bootstrap/v3.2.0/carousel.js +223 -0
- data/vendor/assets/javascripts/bootstrap/v3.2.0/collapse.js +170 -0
- data/vendor/assets/javascripts/bootstrap/v3.2.0/dropdown.js +151 -0
- data/vendor/assets/javascripts/bootstrap/v3.2.0/modal.js +280 -0
- data/vendor/assets/javascripts/bootstrap/v3.2.0/popover.js +113 -0
- data/vendor/assets/javascripts/bootstrap/v3.2.0/scrollspy.js +170 -0
- data/vendor/assets/javascripts/bootstrap/v3.2.0/tab.js +128 -0
- data/vendor/assets/javascripts/bootstrap/v3.2.0/tooltip.js +457 -0
- data/vendor/assets/javascripts/bootstrap/v3.2.0/transition.js +59 -0
- data/vendor/assets/javascripts/bootstrap/v3.3.0/affix.js +162 -0
- data/vendor/assets/javascripts/bootstrap/v3.3.0/alert.js +94 -0
- data/vendor/assets/javascripts/bootstrap/v3.3.0/button.js +116 -0
- data/vendor/assets/javascripts/bootstrap/v3.3.0/carousel.js +239 -0
- data/vendor/assets/javascripts/bootstrap/v3.3.0/collapse.js +211 -0
- data/vendor/assets/javascripts/bootstrap/v3.3.0/dropdown.js +161 -0
- data/vendor/assets/javascripts/bootstrap/v3.3.0/modal.js +281 -0
- data/vendor/assets/javascripts/bootstrap/v3.3.0/popover.js +119 -0
- data/vendor/assets/javascripts/bootstrap/v3.3.0/scrollspy.js +175 -0
- data/vendor/assets/javascripts/bootstrap/v3.3.0/tab.js +153 -0
- data/vendor/assets/javascripts/bootstrap/v3.3.0/tooltip.js +478 -0
- data/vendor/assets/javascripts/bootstrap/v3.3.0/transition.js +59 -0
- data/vendor/assets/javascripts/draggabilly/v1.1.1.js +2 -0
- data/vendor/assets/javascripts/draggabilly/v1.1.1/draggabilly.js +615 -0
- data/vendor/assets/javascripts/imagesloaded/v3.1.8.js +2 -0
- data/vendor/assets/javascripts/imagesloaded/v3.1.8/imagesloaded.js +335 -0
- data/vendor/assets/javascripts/isotope/v2.0.1.js +1 -0
- data/vendor/assets/javascripts/isotope/v2.0.1/isotope.js +628 -0
- data/vendor/assets/javascripts/jquery.collageplus/v0.3.3.js +2 -0
- data/vendor/assets/javascripts/jquery.collageplus/v0.3.3/jquery.collagecaption.js +143 -0
- data/vendor/assets/javascripts/jquery.collageplus/v0.3.3/jquery.collageplus.js +401 -0
- data/vendor/assets/javascripts/jquery.collageplus/v0.3.3/remove_whitespace.js +13 -0
- data/vendor/assets/javascripts/jquery.colorbox/v1.5.14.js +2 -0
- data/vendor/assets/javascripts/jquery.colorbox/v1.5.14/jquery.colorbox.js +1090 -0
- data/vendor/assets/javascripts/jquery.expander/v1.4.12.js +1 -0
- data/vendor/assets/javascripts/jquery.expander/v1.4.12/jquery.expander.js +453 -0
- data/vendor/assets/javascripts/jquery.fakecrop.js +1 -0
- data/vendor/assets/javascripts/jquery.fakecrop/jquery.fakecrop.js +153 -0
- data/vendor/assets/javascripts/jquery.fancybox/v2.1.5.js +4 -0
- data/vendor/assets/javascripts/jquery.fancybox/v2.1.5/jquery.fancybox-buttons.js +122 -0
- data/vendor/assets/javascripts/jquery.fancybox/v2.1.5/jquery.fancybox-media.js +199 -0
- data/vendor/assets/javascripts/jquery.fancybox/v2.1.5/jquery.fancybox-thumbs.js +162 -0
- data/vendor/assets/javascripts/jquery.fancybox/v2.1.5/jquery.fancybox.js +2020 -0
- data/vendor/assets/javascripts/jquery.flexslider/v2.2.2.js +1 -0
- data/vendor/assets/javascripts/jquery.flexslider/v2.2.2/jquery.flexslider.js +1157 -0
- data/vendor/assets/javascripts/jquery.infinitescroll/v2.0.2.js +2 -0
- data/vendor/assets/javascripts/jquery.infinitescroll/v2.0.2/jquery.infinitescroll.js +821 -0
- data/vendor/assets/javascripts/jquery.nivo.slider/v3.2.js +2 -0
- data/vendor/assets/javascripts/jquery.nivo.slider/v3.2/jquery.nivo.slider.js +662 -0
- data/vendor/assets/javascripts/jquery.owlcarousel/v1.3.3.js +2 -0
- data/vendor/assets/javascripts/jquery.owlcarousel/v1.3.3/jquery.owlcarousel.js +1517 -0
- data/vendor/assets/javascripts/jquery.pageless.js +2 -0
- data/vendor/assets/javascripts/jquery.pageless/jquery.pageless.js +251 -0
- data/vendor/assets/javascripts/jquery.render/v1.1.0.js +2 -0
- data/vendor/assets/javascripts/jquery.render/v1.1.0/jquery.render.js +56 -0
- data/vendor/assets/javascripts/jquery.scrollto/v1.4.13.js +2 -0
- data/vendor/assets/javascripts/jquery.scrollto/v1.4.13/jquery.scrollto.js +187 -0
- data/vendor/assets/javascripts/jquery.timeago/v1.4.1.js +1 -0
- data/vendor/assets/javascripts/jquery.timeago/v1.4.1/jquery.timeago.js +214 -0
- data/vendor/assets/javascripts/jquery.turbolinks/v2.1.0.js +1 -0
- data/vendor/assets/javascripts/jquery.turbolinks/v2.1.0/jquery.turbolinks.js +49 -0
- data/vendor/assets/javascripts/jquery/v1.11.1.js +1 -0
- data/vendor/assets/javascripts/jquery/v1.11.1/jquery.js +10308 -0
- data/vendor/assets/javascripts/jquery/v2.1.1.js +1 -0
- data/vendor/assets/javascripts/jquery/v2.1.1/jquery.js +9190 -0
- data/vendor/assets/javascripts/masonry/v3.1.5.js +2 -0
- data/vendor/assets/javascripts/masonry/v3.1.5/masonry.js +205 -0
- data/vendor/assets/javascripts/nprogress/v0.1.6.js +2 -0
- data/vendor/assets/javascripts/nprogress/v0.1.6/nprogress-ajax.js +4 -0
- data/vendor/assets/javascripts/nprogress/v0.1.6/nprogress-turbolinks.js +5 -0
- data/vendor/assets/javascripts/nprogress/v0.1.6/nprogress.js +475 -0
- data/vendor/assets/javascripts/responsiveCarousel/v1.2.0.js +2 -0
- data/vendor/assets/javascripts/responsiveCarousel/v1.2.0/responsiveCarousel.js +410 -0
- data/vendor/assets/javascripts/responsiveslides/v1.54.js +2 -0
- data/vendor/assets/javascripts/responsiveslides/v1.54/responsiveslides.js +391 -0
- data/vendor/assets/javascripts/zebra_datepicker/v1.8.9.js +2 -0
- data/vendor/assets/javascripts/zebra_datepicker/v1.8.9/zebra_datepicker.js +2965 -0
- data/vendor/assets/stylesheets/bootstrap/_v3.2.0.scss +52 -0
- data/vendor/assets/stylesheets/bootstrap/_v3.3.0.scss +52 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_alerts.scss +68 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_badges.scss +57 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_bootstrap-sprockets.scss +7 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_breadcrumbs.scss +26 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_button-groups.scss +240 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_buttons.scss +157 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_carousel.scss +243 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_close.scss +35 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_code.scss +68 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_component-animations.scss +35 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_dropdowns.scss +215 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_forms.scss +538 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_glyphicons.scss +237 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_grid.scss +84 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_input-groups.scss +166 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_jumbotron.scss +48 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_labels.scss +66 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_list-group.scss +131 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_media.scss +56 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_mixins.scss +39 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_modals.scss +150 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_navbar.scss +659 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_navs.scss +242 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_normalize.scss +425 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_pager.scss +55 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_pagination.scss +88 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_panels.scss +243 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_popovers.scss +133 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_print.scss +101 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_progress-bars.scss +105 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_responsive-embed.scss +34 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_responsive-utilities.scss +174 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_scaffolding.scss +150 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_tables.scss +233 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_theme.scss +258 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_thumbnails.scss +38 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_tooltip.scss +95 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_type.scss +304 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_utilities.scss +57 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_variables.scss +854 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/_wells.scss +29 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_alerts.scss +14 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_background-variant.scss +11 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_border-radius.scss +18 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_buttons.scss +50 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_center-block.scss +7 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_clearfix.scss +22 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_forms.scss +84 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_gradients.scss +58 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_grid-framework.scss +81 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_grid.scss +122 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_hide-text.scss +21 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_image.scss +34 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_labels.scss +12 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_list-group.scss +31 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_nav-divider.scss +10 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_nav-vertical-align.scss +9 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_opacity.scss +8 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_pagination.scss +23 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_panels.scss +24 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_progress-bar.scss +10 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_reset-filter.scss +8 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_resize.scss +6 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_responsive-visibility.scss +21 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_size.scss +10 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_tab-focus.scss +9 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_table-row.scss +28 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_text-emphasis.scss +11 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_text-overflow.scss +8 -0
- data/vendor/assets/stylesheets/bootstrap/v3.2.0/mixins/_vendor-prefixes.scss +219 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_alerts.scss +68 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_badges.scss +57 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_bootstrap-sprockets.scss +7 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_breadcrumbs.scss +26 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_button-groups.scss +247 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_buttons.scss +160 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_carousel.scss +267 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_close.scss +35 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_code.scss +69 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_component-animations.scss +38 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_dropdowns.scss +213 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_forms.scss +561 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_glyphicons.scss +234 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_grid.scss +84 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_input-groups.scss +166 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_jumbotron.scss +48 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_labels.scss +66 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_list-group.scss +132 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_media.scss +47 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_mixins.scss +39 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_modals.scss +149 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_navbar.scss +661 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_navs.scss +244 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_normalize.scss +427 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_pager.scss +54 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_pagination.scss +88 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_panels.scss +261 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_popovers.scss +134 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_print.scss +107 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_progress-bars.scss +87 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_responsive-embed.scss +35 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_responsive-utilities.scss +174 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_scaffolding.scss +150 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_tables.scss +234 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_theme.scss +260 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_thumbnails.scss +38 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_tooltip.scss +95 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_type.scss +298 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_utilities.scss +56 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_variables.scss +864 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/_wells.scss +29 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_alerts.scss +14 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_background-variant.scss +11 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_border-radius.scss +18 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_buttons.scss +52 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_center-block.scss +7 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_clearfix.scss +22 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_forms.scss +88 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_gradients.scss +58 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_grid-framework.scss +81 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_grid.scss +122 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_hide-text.scss +21 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_image.scss +33 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_labels.scss +12 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_list-group.scss +31 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_nav-divider.scss +10 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_nav-vertical-align.scss +9 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_opacity.scss +8 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_pagination.scss +23 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_panels.scss +24 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_progress-bar.scss +10 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_reset-filter.scss +8 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_resize.scss +6 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_responsive-visibility.scss +21 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_size.scss +10 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_tab-focus.scss +9 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_table-row.scss +28 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_text-emphasis.scss +11 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_text-overflow.scss +8 -0
- data/vendor/assets/stylesheets/bootstrap/v3.3.0/mixins/_vendor-prefixes.scss +222 -0
- data/vendor/assets/stylesheets/font-awesome/v4.2.0.css +3 -0
- data/vendor/assets/stylesheets/font-awesome/v4.2.0/_bordered-pulled.scss +16 -0
- data/vendor/assets/stylesheets/font-awesome/v4.2.0/_core.scss +11 -0
- data/vendor/assets/stylesheets/font-awesome/v4.2.0/_extras.scss +44 -0
- data/vendor/assets/stylesheets/font-awesome/v4.2.0/_fixed-width.scss +6 -0
- data/vendor/assets/stylesheets/font-awesome/v4.2.0/_icons.scss +552 -0
- data/vendor/assets/stylesheets/font-awesome/v4.2.0/_larger.scss +13 -0
- data/vendor/assets/stylesheets/font-awesome/v4.2.0/_list.scss +19 -0
- data/vendor/assets/stylesheets/font-awesome/v4.2.0/_mixins.scss +25 -0
- data/vendor/assets/stylesheets/font-awesome/v4.2.0/_path.scss +14 -0
- data/vendor/assets/stylesheets/font-awesome/v4.2.0/_rotated-flipped.scss +20 -0
- data/vendor/assets/stylesheets/font-awesome/v4.2.0/_spinning.scss +29 -0
- data/vendor/assets/stylesheets/font-awesome/v4.2.0/_stacked.scss +20 -0
- data/vendor/assets/stylesheets/font-awesome/v4.2.0/_variables.scss +561 -0
- data/vendor/assets/stylesheets/font-awesome/v4.2.0/font-awesome.scss +17 -0
- data/vendor/assets/stylesheets/jquery.colorbox/v1.5.14/example1.css.scss +70 -0
- data/vendor/assets/stylesheets/jquery.colorbox/v1.5.14/example2.css.scss +50 -0
- data/vendor/assets/stylesheets/jquery.colorbox/v1.5.14/example3.css.scss +45 -0
- data/vendor/assets/stylesheets/jquery.colorbox/v1.5.14/example4.css.scss +66 -0
- data/vendor/assets/stylesheets/jquery.colorbox/v1.5.14/example5.css.scss +58 -0
- data/vendor/assets/stylesheets/jquery.fancybox/v2.1.5.css +5 -0
- data/vendor/assets/stylesheets/jquery.fancybox/v2.1.5/jquery.fancybox-buttons.css.erb +97 -0
- data/vendor/assets/stylesheets/jquery.fancybox/v2.1.5/jquery.fancybox-thumbs.css +55 -0
- data/vendor/assets/stylesheets/jquery.fancybox/v2.1.5/jquery.fancybox.css.erb +274 -0
- data/vendor/assets/stylesheets/jquery.flexslider/v2.2.2.css +3 -0
- data/vendor/assets/stylesheets/jquery.flexslider/v2.2.2/jquery.flexslider.scss +96 -0
- data/vendor/assets/stylesheets/jquery.nivo.slider/v3.2.css +3 -0
- data/vendor/assets/stylesheets/jquery.nivo.slider/v3.2/jquery.nivo.slider.css +113 -0
- data/vendor/assets/stylesheets/jquery.owlcarousel/v1.3.3/jquery.owlcarousel.scss +71 -0
- data/vendor/assets/stylesheets/jquery.owlcarousel/v1.3.3/theme.scss +79 -0
- data/vendor/assets/stylesheets/jquery.owlcarousel/v1.3.3/transitions.scss +163 -0
- data/vendor/assets/stylesheets/nprogress/v0.1.6/nprogress-bootstrap.css +4 -0
- data/vendor/assets/stylesheets/nprogress/v0.1.6/nprogress.css.scss +77 -0
- data/vendor/assets/stylesheets/responsiveslides/v1.54.css +3 -0
- data/vendor/assets/stylesheets/responsiveslides/v1.54/responsiveslides.css +33 -0
- data/vendor/assets/stylesheets/zebra_datepicker/v1.8.9/bootstrap.scss +95 -0
- data/vendor/assets/stylesheets/zebra_datepicker/v1.8.9/default.scss +102 -0
- data/vendor/assets/stylesheets/zebra_datepicker/v1.8.9/metallic.scss +106 -0
- metadata +407 -0
@@ -0,0 +1 @@
|
|
1
|
+
//= require jquery.fakecrop/jquery.fakecrop.js
|
@@ -0,0 +1,153 @@
|
|
1
|
+
/***
|
2
|
+
* jquery.fakecrop.js
|
3
|
+
* Copyright (c) 2012 Vuong Nguyen
|
4
|
+
* http://vuongnguyen.com
|
5
|
+
*/
|
6
|
+
(function ($) {
|
7
|
+
var methods = {
|
8
|
+
ratio : function (args) {
|
9
|
+
var item = args.item,
|
10
|
+
settings = args.settings;
|
11
|
+
return { w : item.width()/settings.wrapperWidth,
|
12
|
+
h : item.height()/settings.wrapperHeight };
|
13
|
+
},
|
14
|
+
center : function (longVal, shortVal) {
|
15
|
+
return parseInt((longVal-shortVal)/2, 10);
|
16
|
+
},
|
17
|
+
scaleToFill : function (args) {
|
18
|
+
var item = args.item,
|
19
|
+
settings = args.settings,
|
20
|
+
ratio = settings.ratio,
|
21
|
+
width = item.width(),
|
22
|
+
height = item.height(),
|
23
|
+
offset = {top: 0, left: 0};
|
24
|
+
|
25
|
+
if (ratio.h > ratio.w) {
|
26
|
+
width = settings.wrapperWidth;
|
27
|
+
height = height / ratio.w;
|
28
|
+
if (settings.center) {
|
29
|
+
offset.top = methods.center(width, height);
|
30
|
+
}
|
31
|
+
} else {
|
32
|
+
height = settings.wrapperHeight;
|
33
|
+
width = width / ratio.h;
|
34
|
+
if (settings.center) {
|
35
|
+
offset.left = methods.center(height, width);
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
if (settings.center) {
|
40
|
+
args.wrapper.css('position', 'relative');
|
41
|
+
item.css({
|
42
|
+
'position' : 'absolute',
|
43
|
+
'top' : ['-', offset.top, 'px'].join(''),
|
44
|
+
'left' : offset.left + 'px'
|
45
|
+
});
|
46
|
+
}
|
47
|
+
|
48
|
+
return item.height(height).attr('height', height + 'px')
|
49
|
+
.width(width).attr('width', width + 'px');
|
50
|
+
},
|
51
|
+
scaleToFit : function (args) {
|
52
|
+
var item = args.item,
|
53
|
+
settings = args.settings,
|
54
|
+
ratio = settings.ratio,
|
55
|
+
width = item.width(),
|
56
|
+
height = item.height(),
|
57
|
+
offset = {top: 0, left: 0};
|
58
|
+
|
59
|
+
if (ratio.h > ratio.w) {
|
60
|
+
height = settings.wrapperHeight,
|
61
|
+
width = parseInt((item.width() * settings.wrapperHeight)/item.height(), 10);
|
62
|
+
if (settings.center) {
|
63
|
+
offset.left = methods.center(height, width);
|
64
|
+
}
|
65
|
+
} else {
|
66
|
+
height = parseInt((item.height() * settings.wrapperWidth)/item.width(), 10),
|
67
|
+
width = settings.wrapperWidth;
|
68
|
+
if (settings.center) {
|
69
|
+
offset.top = methods.center(width, height);
|
70
|
+
}
|
71
|
+
}
|
72
|
+
|
73
|
+
args.wrapper.css({
|
74
|
+
'width' : (settings.squareWidth ? settings.wrapperWidth : width) + 'px',
|
75
|
+
'height' : settings.wrapperHeight + 'px'
|
76
|
+
});
|
77
|
+
|
78
|
+
if (settings.center) {
|
79
|
+
args.wrapper.css('position', 'relative');
|
80
|
+
item.css({
|
81
|
+
'position' : 'absolute',
|
82
|
+
'top' : offset.top +'px',
|
83
|
+
'left' : offset.left + 'px'
|
84
|
+
});
|
85
|
+
}
|
86
|
+
return item.height(height).attr('height', height + 'px')
|
87
|
+
.width(width).attr('width', width + 'px');
|
88
|
+
},
|
89
|
+
init : function (options) {
|
90
|
+
var settings = $.extend({
|
91
|
+
wrapperSelector : null,
|
92
|
+
wrapperWidth : 100,
|
93
|
+
wrapperHeight : 100,
|
94
|
+
center : true,
|
95
|
+
fill : true,
|
96
|
+
initClass : 'fc-init',
|
97
|
+
doneEvent : 'fakedropdone',
|
98
|
+
squareWidth : true
|
99
|
+
}, options),
|
100
|
+
_init = function () {
|
101
|
+
var item = $(this),
|
102
|
+
wrapper = settings.wrapperSelector ? item.closest(settings.wrapperSelector) : item.parent(),
|
103
|
+
args = { item : item,
|
104
|
+
settings : settings,
|
105
|
+
wrapper : wrapper };
|
106
|
+
settings.ratio = methods.ratio(args);
|
107
|
+
if (settings.fill) {
|
108
|
+
wrapper.css({
|
109
|
+
'overflow' : 'hidden',
|
110
|
+
'width' : settings.wrapperWidth + 'px',
|
111
|
+
'height' : settings.wrapperHeight + 'px'
|
112
|
+
});
|
113
|
+
methods.scaleToFill(args);
|
114
|
+
} else {
|
115
|
+
methods.scaleToFit(args);
|
116
|
+
}
|
117
|
+
|
118
|
+
item.data('fc.settings', settings)
|
119
|
+
.addClass(settings.initClass) // Add class to container after initialization
|
120
|
+
.trigger(settings.doneEvent); // Publish an event to announce that fakecrop in initialized
|
121
|
+
},
|
122
|
+
images = this.filter('img'),
|
123
|
+
others = this.filter(':not(img)');
|
124
|
+
if (images.length) {
|
125
|
+
images.bind('load', function () {
|
126
|
+
_init.call(this);
|
127
|
+
this.style.display = 'inline';
|
128
|
+
}).each(function () {
|
129
|
+
// trick from paul irish's https://gist.github.com/797120/7176db676f1e0e20d7c23933f9fc655c2f120c58
|
130
|
+
if (this.complete || this.complete === undefined) {
|
131
|
+
var src = this.src;
|
132
|
+
this.src = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==";
|
133
|
+
this.src = src;
|
134
|
+
this.style.display = 'none';
|
135
|
+
}
|
136
|
+
});
|
137
|
+
}
|
138
|
+
if (others.length) {
|
139
|
+
others.each(_init);
|
140
|
+
}
|
141
|
+
return this;
|
142
|
+
}
|
143
|
+
};
|
144
|
+
$.fn.fakecrop = function (method) {
|
145
|
+
if (methods[method]) {
|
146
|
+
return methods[method].apply(this, Array.prototype.slice.call(arguments, 1));
|
147
|
+
} else if (typeof method === 'object' || !method) {
|
148
|
+
return methods.init.apply(this, arguments);
|
149
|
+
} else {
|
150
|
+
$.error('Method ' + method + ' does not exist on jQuery.fakecrop');
|
151
|
+
}
|
152
|
+
};
|
153
|
+
})(jQuery);
|
@@ -0,0 +1,122 @@
|
|
1
|
+
/*!
|
2
|
+
* Buttons helper for fancyBox
|
3
|
+
* version: 1.0.5 (Mon, 15 Oct 2012)
|
4
|
+
* @requires fancyBox v2.0 or later
|
5
|
+
*
|
6
|
+
* Usage:
|
7
|
+
* $(".fancybox").fancybox({
|
8
|
+
* helpers : {
|
9
|
+
* buttons: {
|
10
|
+
* position : 'top'
|
11
|
+
* }
|
12
|
+
* }
|
13
|
+
* });
|
14
|
+
*
|
15
|
+
*/
|
16
|
+
(function ($) {
|
17
|
+
//Shortcut for fancyBox object
|
18
|
+
var F = $.fancybox;
|
19
|
+
|
20
|
+
//Add helper object
|
21
|
+
F.helpers.buttons = {
|
22
|
+
defaults : {
|
23
|
+
skipSingle : false, // disables if gallery contains single image
|
24
|
+
position : 'top', // 'top' or 'bottom'
|
25
|
+
tpl : '<div id="fancybox-buttons"><ul><li><a class="btnPrev" title="Previous" href="javascript:;"></a></li><li><a class="btnPlay" title="Start slideshow" href="javascript:;"></a></li><li><a class="btnNext" title="Next" href="javascript:;"></a></li><li><a class="btnToggle" title="Toggle size" href="javascript:;"></a></li><li><a class="btnClose" title="Close" href="javascript:;"></a></li></ul></div>'
|
26
|
+
},
|
27
|
+
|
28
|
+
list : null,
|
29
|
+
buttons: null,
|
30
|
+
|
31
|
+
beforeLoad: function (opts, obj) {
|
32
|
+
//Remove self if gallery do not have at least two items
|
33
|
+
|
34
|
+
if (opts.skipSingle && obj.group.length < 2) {
|
35
|
+
obj.helpers.buttons = false;
|
36
|
+
obj.closeBtn = true;
|
37
|
+
|
38
|
+
return;
|
39
|
+
}
|
40
|
+
|
41
|
+
//Increase top margin to give space for buttons
|
42
|
+
obj.margin[ opts.position === 'bottom' ? 2 : 0 ] += 30;
|
43
|
+
},
|
44
|
+
|
45
|
+
onPlayStart: function () {
|
46
|
+
if (this.buttons) {
|
47
|
+
this.buttons.play.attr('title', 'Pause slideshow').addClass('btnPlayOn');
|
48
|
+
}
|
49
|
+
},
|
50
|
+
|
51
|
+
onPlayEnd: function () {
|
52
|
+
if (this.buttons) {
|
53
|
+
this.buttons.play.attr('title', 'Start slideshow').removeClass('btnPlayOn');
|
54
|
+
}
|
55
|
+
},
|
56
|
+
|
57
|
+
afterShow: function (opts, obj) {
|
58
|
+
var buttons = this.buttons;
|
59
|
+
|
60
|
+
if (!buttons) {
|
61
|
+
this.list = $(opts.tpl).addClass(opts.position).appendTo('body');
|
62
|
+
|
63
|
+
buttons = {
|
64
|
+
prev : this.list.find('.btnPrev').click( F.prev ),
|
65
|
+
next : this.list.find('.btnNext').click( F.next ),
|
66
|
+
play : this.list.find('.btnPlay').click( F.play ),
|
67
|
+
toggle : this.list.find('.btnToggle').click( F.toggle ),
|
68
|
+
close : this.list.find('.btnClose').click( F.close )
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
//Prev
|
73
|
+
if (obj.index > 0 || obj.loop) {
|
74
|
+
buttons.prev.removeClass('btnDisabled');
|
75
|
+
} else {
|
76
|
+
buttons.prev.addClass('btnDisabled');
|
77
|
+
}
|
78
|
+
|
79
|
+
//Next / Play
|
80
|
+
if (obj.loop || obj.index < obj.group.length - 1) {
|
81
|
+
buttons.next.removeClass('btnDisabled');
|
82
|
+
buttons.play.removeClass('btnDisabled');
|
83
|
+
|
84
|
+
} else {
|
85
|
+
buttons.next.addClass('btnDisabled');
|
86
|
+
buttons.play.addClass('btnDisabled');
|
87
|
+
}
|
88
|
+
|
89
|
+
this.buttons = buttons;
|
90
|
+
|
91
|
+
this.onUpdate(opts, obj);
|
92
|
+
},
|
93
|
+
|
94
|
+
onUpdate: function (opts, obj) {
|
95
|
+
var toggle;
|
96
|
+
|
97
|
+
if (!this.buttons) {
|
98
|
+
return;
|
99
|
+
}
|
100
|
+
|
101
|
+
toggle = this.buttons.toggle.removeClass('btnDisabled btnToggleOn');
|
102
|
+
|
103
|
+
//Size toggle button
|
104
|
+
if (obj.canShrink) {
|
105
|
+
toggle.addClass('btnToggleOn');
|
106
|
+
|
107
|
+
} else if (!obj.canExpand) {
|
108
|
+
toggle.addClass('btnDisabled');
|
109
|
+
}
|
110
|
+
},
|
111
|
+
|
112
|
+
beforeClose: function () {
|
113
|
+
if (this.list) {
|
114
|
+
this.list.remove();
|
115
|
+
}
|
116
|
+
|
117
|
+
this.list = null;
|
118
|
+
this.buttons = null;
|
119
|
+
}
|
120
|
+
};
|
121
|
+
|
122
|
+
}(jQuery));
|
@@ -0,0 +1,199 @@
|
|
1
|
+
/*!
|
2
|
+
* Media helper for fancyBox
|
3
|
+
* version: 1.0.6 (Fri, 14 Jun 2013)
|
4
|
+
* @requires fancyBox v2.0 or later
|
5
|
+
*
|
6
|
+
* Usage:
|
7
|
+
* $(".fancybox").fancybox({
|
8
|
+
* helpers : {
|
9
|
+
* media: true
|
10
|
+
* }
|
11
|
+
* });
|
12
|
+
*
|
13
|
+
* Set custom URL parameters:
|
14
|
+
* $(".fancybox").fancybox({
|
15
|
+
* helpers : {
|
16
|
+
* media: {
|
17
|
+
* youtube : {
|
18
|
+
* params : {
|
19
|
+
* autoplay : 0
|
20
|
+
* }
|
21
|
+
* }
|
22
|
+
* }
|
23
|
+
* }
|
24
|
+
* });
|
25
|
+
*
|
26
|
+
* Or:
|
27
|
+
* $(".fancybox").fancybox({,
|
28
|
+
* helpers : {
|
29
|
+
* media: true
|
30
|
+
* },
|
31
|
+
* youtube : {
|
32
|
+
* autoplay: 0
|
33
|
+
* }
|
34
|
+
* });
|
35
|
+
*
|
36
|
+
* Supports:
|
37
|
+
*
|
38
|
+
* Youtube
|
39
|
+
* http://www.youtube.com/watch?v=opj24KnzrWo
|
40
|
+
* http://www.youtube.com/embed/opj24KnzrWo
|
41
|
+
* http://youtu.be/opj24KnzrWo
|
42
|
+
* http://www.youtube-nocookie.com/embed/opj24KnzrWo
|
43
|
+
* Vimeo
|
44
|
+
* http://vimeo.com/40648169
|
45
|
+
* http://vimeo.com/channels/staffpicks/38843628
|
46
|
+
* http://vimeo.com/groups/surrealism/videos/36516384
|
47
|
+
* http://player.vimeo.com/video/45074303
|
48
|
+
* Metacafe
|
49
|
+
* http://www.metacafe.com/watch/7635964/dr_seuss_the_lorax_movie_trailer/
|
50
|
+
* http://www.metacafe.com/watch/7635964/
|
51
|
+
* Dailymotion
|
52
|
+
* http://www.dailymotion.com/video/xoytqh_dr-seuss-the-lorax-premiere_people
|
53
|
+
* Twitvid
|
54
|
+
* http://twitvid.com/QY7MD
|
55
|
+
* Twitpic
|
56
|
+
* http://twitpic.com/7p93st
|
57
|
+
* Instagram
|
58
|
+
* http://instagr.am/p/IejkuUGxQn/
|
59
|
+
* http://instagram.com/p/IejkuUGxQn/
|
60
|
+
* Google maps
|
61
|
+
* http://maps.google.com/maps?q=Eiffel+Tower,+Avenue+Gustave+Eiffel,+Paris,+France&t=h&z=17
|
62
|
+
* http://maps.google.com/?ll=48.857995,2.294297&spn=0.007666,0.021136&t=m&z=16
|
63
|
+
* http://maps.google.com/?ll=48.859463,2.292626&spn=0.000965,0.002642&t=m&z=19&layer=c&cbll=48.859524,2.292532&panoid=YJ0lq28OOy3VT2IqIuVY0g&cbp=12,151.58,,0,-15.56
|
64
|
+
*/
|
65
|
+
(function ($) {
|
66
|
+
"use strict";
|
67
|
+
|
68
|
+
//Shortcut for fancyBox object
|
69
|
+
var F = $.fancybox,
|
70
|
+
format = function( url, rez, params ) {
|
71
|
+
params = params || '';
|
72
|
+
|
73
|
+
if ( $.type( params ) === "object" ) {
|
74
|
+
params = $.param(params, true);
|
75
|
+
}
|
76
|
+
|
77
|
+
$.each(rez, function(key, value) {
|
78
|
+
url = url.replace( '$' + key, value || '' );
|
79
|
+
});
|
80
|
+
|
81
|
+
if (params.length) {
|
82
|
+
url += ( url.indexOf('?') > 0 ? '&' : '?' ) + params;
|
83
|
+
}
|
84
|
+
|
85
|
+
return url;
|
86
|
+
};
|
87
|
+
|
88
|
+
//Add helper object
|
89
|
+
F.helpers.media = {
|
90
|
+
defaults : {
|
91
|
+
youtube : {
|
92
|
+
matcher : /(youtube\.com|youtu\.be|youtube-nocookie\.com)\/(watch\?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*)).*/i,
|
93
|
+
params : {
|
94
|
+
autoplay : 1,
|
95
|
+
autohide : 1,
|
96
|
+
fs : 1,
|
97
|
+
rel : 0,
|
98
|
+
hd : 1,
|
99
|
+
wmode : 'opaque',
|
100
|
+
enablejsapi : 1
|
101
|
+
},
|
102
|
+
type : 'iframe',
|
103
|
+
url : '//www.youtube.com/embed/$3'
|
104
|
+
},
|
105
|
+
vimeo : {
|
106
|
+
matcher : /(?:vimeo(?:pro)?.com)\/(?:[^\d]+)?(\d+)(?:.*)/,
|
107
|
+
params : {
|
108
|
+
autoplay : 1,
|
109
|
+
hd : 1,
|
110
|
+
show_title : 1,
|
111
|
+
show_byline : 1,
|
112
|
+
show_portrait : 0,
|
113
|
+
fullscreen : 1
|
114
|
+
},
|
115
|
+
type : 'iframe',
|
116
|
+
url : '//player.vimeo.com/video/$1'
|
117
|
+
},
|
118
|
+
metacafe : {
|
119
|
+
matcher : /metacafe.com\/(?:watch|fplayer)\/([\w\-]{1,10})/,
|
120
|
+
params : {
|
121
|
+
autoPlay : 'yes'
|
122
|
+
},
|
123
|
+
type : 'swf',
|
124
|
+
url : function( rez, params, obj ) {
|
125
|
+
obj.swf.flashVars = 'playerVars=' + $.param( params, true );
|
126
|
+
|
127
|
+
return '//www.metacafe.com/fplayer/' + rez[1] + '/.swf';
|
128
|
+
}
|
129
|
+
},
|
130
|
+
dailymotion : {
|
131
|
+
matcher : /dailymotion.com\/video\/(.*)\/?(.*)/,
|
132
|
+
params : {
|
133
|
+
additionalInfos : 0,
|
134
|
+
autoStart : 1
|
135
|
+
},
|
136
|
+
type : 'swf',
|
137
|
+
url : '//www.dailymotion.com/swf/video/$1'
|
138
|
+
},
|
139
|
+
twitvid : {
|
140
|
+
matcher : /twitvid\.com\/([a-zA-Z0-9_\-\?\=]+)/i,
|
141
|
+
params : {
|
142
|
+
autoplay : 0
|
143
|
+
},
|
144
|
+
type : 'iframe',
|
145
|
+
url : '//www.twitvid.com/embed.php?guid=$1'
|
146
|
+
},
|
147
|
+
twitpic : {
|
148
|
+
matcher : /twitpic\.com\/(?!(?:place|photos|events)\/)([a-zA-Z0-9\?\=\-]+)/i,
|
149
|
+
type : 'image',
|
150
|
+
url : '//twitpic.com/show/full/$1/'
|
151
|
+
},
|
152
|
+
instagram : {
|
153
|
+
matcher : /(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,
|
154
|
+
type : 'image',
|
155
|
+
url : '//$1/p/$2/media/?size=l'
|
156
|
+
},
|
157
|
+
google_maps : {
|
158
|
+
matcher : /maps\.google\.([a-z]{2,3}(\.[a-z]{2})?)\/(\?ll=|maps\?)(.*)/i,
|
159
|
+
type : 'iframe',
|
160
|
+
url : function( rez ) {
|
161
|
+
return '//maps.google.' + rez[1] + '/' + rez[3] + '' + rez[4] + '&output=' + (rez[4].indexOf('layer=c') > 0 ? 'svembed' : 'embed');
|
162
|
+
}
|
163
|
+
}
|
164
|
+
},
|
165
|
+
|
166
|
+
beforeLoad : function(opts, obj) {
|
167
|
+
var url = obj.href || '',
|
168
|
+
type = false,
|
169
|
+
what,
|
170
|
+
item,
|
171
|
+
rez,
|
172
|
+
params;
|
173
|
+
|
174
|
+
for (what in opts) {
|
175
|
+
if (opts.hasOwnProperty(what)) {
|
176
|
+
item = opts[ what ];
|
177
|
+
rez = url.match( item.matcher );
|
178
|
+
|
179
|
+
if (rez) {
|
180
|
+
type = item.type;
|
181
|
+
params = $.extend(true, {}, item.params, obj[ what ] || ($.isPlainObject(opts[ what ]) ? opts[ what ].params : null));
|
182
|
+
|
183
|
+
url = $.type( item.url ) === "function" ? item.url.call( this, rez, params, obj ) : format( item.url, rez, params );
|
184
|
+
|
185
|
+
break;
|
186
|
+
}
|
187
|
+
}
|
188
|
+
}
|
189
|
+
|
190
|
+
if (type) {
|
191
|
+
obj.href = url;
|
192
|
+
obj.type = type;
|
193
|
+
|
194
|
+
obj.autoHeight = false;
|
195
|
+
}
|
196
|
+
}
|
197
|
+
};
|
198
|
+
|
199
|
+
}(jQuery));
|