vendor/assets/javascripts/carousel.js in active_frontend-2.0.10 vs vendor/assets/javascripts/carousel.js in active_frontend-2.0.11

- old
+ new

@@ -6,23 +6,23 @@ var Carousel = function (element, options) { this.$element = $(element) this.$indicators = this.$element.find('.carousel-indicators') this.options = options - this.paused = null - this.sliding = null - this.interval = null - this.$active = null + this.paused = + this.sliding = + this.interval = + this.$active = this.$items = null this.options.keyboard && this.$element.on('keydown.bs.carousel', $.proxy(this.keydown, this)) this.options.pause == 'hover' && !('ontouchstart' in document.documentElement) && this.$element .on('mouseenter.bs.carousel', $.proxy(this.pause, this)) .on('mouseleave.bs.carousel', $.proxy(this.cycle, this)) } - Carousel.VERSION = '3.3.4' + Carousel.VERSION = '3.3.2' Carousel.TRANSITION_DURATION = 600 Carousel.DEFAULTS = { interval: 5000, \ No newline at end of file