diff options
| author | Kevin Kirsche <[email protected]> | 2015-02-25 12:19:11 -0500 |
|---|---|---|
| committer | Kevin Kirsche <[email protected]> | 2015-02-25 12:19:11 -0500 |
| commit | 238be65786ab78274dcc59c9de9fab27eec48304 (patch) | |
| tree | 915b66a324d0fbe7c8dba2168286affa9bdd920a /js/carousel.js | |
| parent | 804457c474c686d4b5f45545da0dbad5ed56e387 (diff) | |
| download | bootstrap-238be65786ab78274dcc59c9de9fab27eec48304.tar.xz bootstrap-238be65786ab78274dcc59c9de9fab27eec48304.zip | |
[Ref #15881] Use Explicit Values rather than Chain
[Ref #15881] Use Explicit Values for javascript variables rather than chained ones.
From https://github.com/twbs/bootstrap/pull/15881#discussion_r25330647
Diffstat (limited to 'js/carousel.js')
| -rw-r--r-- | js/carousel.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/carousel.js b/js/carousel.js index 450e1812e..c41a0bcb8 100644 --- a/js/carousel.js +++ b/js/carousel.js @@ -17,10 +17,10 @@ this.$element = $(element) this.$indicators = this.$element.find('.carousel-indicators') this.options = options - this.paused = - this.sliding = - this.interval = - this.$active = + this.paused = null + this.sliding = null + this.interval = null + this.$active = null this.$items = null this.options.keyboard && this.$element.on('keydown.bs.carousel', $.proxy(this.keydown, this)) |
