mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-28 20:52:21 +01:00
run make on js files
This commit is contained in:
parent
3875a9f31b
commit
59153205b3
2
docs/assets/js/bootstrap-carousel.js
vendored
2
docs/assets/js/bootstrap-carousel.js
vendored
@ -88,7 +88,7 @@
|
||||
}
|
||||
|
||||
, slide: function (type, next) {
|
||||
var $active = this.$element.find('.active')
|
||||
var $active = this.$element.find('.item.active')
|
||||
, $next = next || $active[type]()
|
||||
, isCycling = this.interval
|
||||
, direction = type == 'next' ? 'left' : 'right'
|
||||
|
4
docs/assets/js/bootstrap-popover.js
vendored
4
docs/assets/js/bootstrap-popover.js
vendored
@ -71,6 +71,10 @@
|
||||
return this.$tip
|
||||
}
|
||||
|
||||
, destroy: function () {
|
||||
this.$element.off().removeData('popover')
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
|
||||
|
4
docs/assets/js/bootstrap-tooltip.js
vendored
4
docs/assets/js/bootstrap-tooltip.js
vendored
@ -235,6 +235,10 @@
|
||||
this[this.tip().hasClass('in') ? 'hide' : 'show']()
|
||||
}
|
||||
|
||||
, destroy: function () {
|
||||
this.$element.off().removeData('tooltip')
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
10
docs/assets/js/bootstrap.js
vendored
10
docs/assets/js/bootstrap.js
vendored
@ -332,7 +332,7 @@
|
||||
}
|
||||
|
||||
, slide: function (type, next) {
|
||||
var $active = this.$element.find('.active')
|
||||
var $active = this.$element.find('.item.active')
|
||||
, $next = next || $active[type]()
|
||||
, isCycling = this.interval
|
||||
, direction = type == 'next' ? 'left' : 'right'
|
||||
@ -1188,6 +1188,10 @@
|
||||
this[this.tip().hasClass('in') ? 'hide' : 'show']()
|
||||
}
|
||||
|
||||
, destroy: function () {
|
||||
this.$element.off().removeData('tooltip')
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -1291,6 +1295,10 @@
|
||||
return this.$tip
|
||||
}
|
||||
|
||||
, destroy: function () {
|
||||
this.$element.off().removeData('popover')
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
|
||||
|
2
docs/assets/js/bootstrap.min.js
vendored
2
docs/assets/js/bootstrap.min.js
vendored
File diff suppressed because one or more lines are too long
@ -830,6 +830,9 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
|
||||
<h4>.tooltip('toggle')</h4>
|
||||
<p>Toggles an element's tooltip.</p>
|
||||
<pre class="prettyprint linenums">$('#element').tooltip('toggle')</pre>
|
||||
<h4>.tooltip('destroy')</h4>
|
||||
<p>Destroys an element's tooltip.</p>
|
||||
<pre class="prettyprint linenums">$('#element').tooltip('destroy')</pre>
|
||||
</section>
|
||||
|
||||
|
||||
@ -896,7 +899,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
|
||||
<td>trigger</td>
|
||||
<td>string</td>
|
||||
<td>'hover'</td>
|
||||
<td>how tooltip is triggered - hover | focus | manual</td>
|
||||
<td>how popover is triggered - hover | focus | manual</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>title</td>
|
||||
@ -942,6 +945,9 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
|
||||
<h4>.popover('toggle')</h4>
|
||||
<p>Toggles an elements popover.</p>
|
||||
<pre class="prettyprint linenums">$('#element').popover('toggle')</pre>
|
||||
<h4>.popover('destroy')</h4>
|
||||
<p>Destroys an element's popover.</p>
|
||||
<pre class="prettyprint linenums">$('#element').popover('destroy')</pre>
|
||||
</section>
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user