Skip to content

Commit 8c0b5db

Browse files
committed
rake convert[v3.4.0-dev]
1 parent 92aa0c8 commit 8c0b5db

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+860
-859
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
//= require ./bootstrap/transition
1+
//= require ./bootstrap/affix
22
//= require ./bootstrap/alert
33
//= require ./bootstrap/button
44
//= require ./bootstrap/carousel
55
//= require ./bootstrap/collapse
66
//= require ./bootstrap/dropdown
77
//= require ./bootstrap/modal
8-
//= require ./bootstrap/tab
9-
//= require ./bootstrap/affix
108
//= require ./bootstrap/scrollspy
9+
//= require ./bootstrap/tab
10+
//= require ./bootstrap/transition
1111
//= require ./bootstrap/tooltip
1212
//= require ./bootstrap/popover

assets/javascripts/bootstrap.js

Lines changed: 45 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
2-
* Bootstrap v3.3.7 (http://getbootstrap.com)
3-
* Copyright 2011-2016 Twitter, Inc.
2+
* Bootstrap v3.4.0 (http://getbootstrap.com)
3+
* Copyright 2011-2018 Twitter, Inc.
44
* Licensed under the MIT license
55
*/
66

@@ -17,7 +17,7 @@ if (typeof jQuery === 'undefined') {
1717
}(jQuery);
1818

1919
/* ========================================================================
20-
* Bootstrap: transition.js v3.3.7
20+
* Bootstrap: transition.js v3.4.0
2121
* http://getbootstrap.com/javascript/#transitions
2222
* ========================================================================
2323
* Copyright 2011-2016 Twitter, Inc.
@@ -77,7 +77,7 @@ if (typeof jQuery === 'undefined') {
7777
}(jQuery);
7878

7979
/* ========================================================================
80-
* Bootstrap: alert.js v3.3.7
80+
* Bootstrap: alert.js v3.4.0
8181
* http://getbootstrap.com/javascript/#alerts
8282
* ========================================================================
8383
* Copyright 2011-2016 Twitter, Inc.
@@ -96,7 +96,7 @@ if (typeof jQuery === 'undefined') {
9696
$(el).on('click', dismiss, this.close)
9797
}
9898

99-
Alert.VERSION = '3.3.7'
99+
Alert.VERSION = '3.4.0'
100100

101101
Alert.TRANSITION_DURATION = 150
102102

@@ -109,7 +109,8 @@ if (typeof jQuery === 'undefined') {
109109
selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
110110
}
111111

112-
var $parent = $(selector === '#' ? [] : selector)
112+
selector = selector === '#' ? [] : selector
113+
var $parent = $(document).find(selector)
113114

114115
if (e) e.preventDefault()
115116

@@ -172,7 +173,7 @@ if (typeof jQuery === 'undefined') {
172173
}(jQuery);
173174

174175
/* ========================================================================
175-
* Bootstrap: button.js v3.3.7
176+
* Bootstrap: button.js v3.4.0
176177
* http://getbootstrap.com/javascript/#buttons
177178
* ========================================================================
178179
* Copyright 2011-2016 Twitter, Inc.
@@ -192,7 +193,7 @@ if (typeof jQuery === 'undefined') {
192193
this.isLoading = false
193194
}
194195

195-
Button.VERSION = '3.3.7'
196+
Button.VERSION = '3.4.0'
196197

197198
Button.DEFAULTS = {
198199
loadingText: 'loading...'
@@ -298,7 +299,7 @@ if (typeof jQuery === 'undefined') {
298299
}(jQuery);
299300

300301
/* ========================================================================
301-
* Bootstrap: carousel.js v3.3.7
302+
* Bootstrap: carousel.js v3.4.0
302303
* http://getbootstrap.com/javascript/#carousel
303304
* ========================================================================
304305
* Copyright 2011-2016 Twitter, Inc.
@@ -329,7 +330,7 @@ if (typeof jQuery === 'undefined') {
329330
.on('mouseleave.bs.carousel', $.proxy(this.cycle, this))
330331
}
331332

332-
Carousel.VERSION = '3.3.7'
333+
Carousel.VERSION = '3.4.0'
333334

334335
Carousel.TRANSITION_DURATION = 600
335336

@@ -443,7 +444,9 @@ if (typeof jQuery === 'undefined') {
443444
var slidEvent = $.Event('slid.bs.carousel', { relatedTarget: relatedTarget, direction: direction }) // yes, "slid"
444445
if ($.support.transition && this.$element.hasClass('slide')) {
445446
$next.addClass(type)
446-
$next[0].offsetWidth // force reflow
447+
if (typeof $next === 'object' && $next.length) {
448+
$next[0].offsetWidth // force reflow
449+
}
447450
$active.addClass(direction)
448451
$next.addClass(direction)
449452
$active
@@ -505,10 +508,17 @@ if (typeof jQuery === 'undefined') {
505508
// =================
506509

507510
var clickHandler = function (e) {
508-
var href
509511
var $this = $(this)
510-
var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) // strip for ie7
512+
var href = $this.attr('href')
513+
if (href) {
514+
href = href.replace(/.*(?=#[^\s]+$)/, '') // strip for ie7
515+
}
516+
517+
var target = $this.attr('data-target') || href
518+
var $target = $(document).find(target)
519+
511520
if (!$target.hasClass('carousel')) return
521+
512522
var options = $.extend({}, $target.data(), $this.data())
513523
var slideIndex = $this.attr('data-slide-to')
514524
if (slideIndex) options.interval = false
@@ -536,7 +546,7 @@ if (typeof jQuery === 'undefined') {
536546
}(jQuery);
537547

538548
/* ========================================================================
539-
* Bootstrap: collapse.js v3.3.7
549+
* Bootstrap: collapse.js v3.4.0
540550
* http://getbootstrap.com/javascript/#collapse
541551
* ========================================================================
542552
* Copyright 2011-2016 Twitter, Inc.
@@ -567,7 +577,7 @@ if (typeof jQuery === 'undefined') {
567577
if (this.options.toggle) this.toggle()
568578
}
569579

570-
Collapse.VERSION = '3.3.7'
580+
Collapse.VERSION = '3.4.0'
571581

572582
Collapse.TRANSITION_DURATION = 350
573583

@@ -697,7 +707,7 @@ if (typeof jQuery === 'undefined') {
697707
var target = $trigger.attr('data-target')
698708
|| (href = $trigger.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') // strip for ie7
699709

700-
return $(target)
710+
return $(document).find(target)
701711
}
702712

703713

@@ -749,7 +759,7 @@ if (typeof jQuery === 'undefined') {
749759
}(jQuery);
750760

751761
/* ========================================================================
752-
* Bootstrap: dropdown.js v3.3.7
762+
* Bootstrap: dropdown.js v3.4.0
753763
* http://getbootstrap.com/javascript/#dropdowns
754764
* ========================================================================
755765
* Copyright 2011-2016 Twitter, Inc.
@@ -769,7 +779,7 @@ if (typeof jQuery === 'undefined') {
769779
$(element).on('click.bs.dropdown', this.toggle)
770780
}
771781

772-
Dropdown.VERSION = '3.3.7'
782+
Dropdown.VERSION = '3.4.0'
773783

774784
function getParent($this) {
775785
var selector = $this.attr('data-target')
@@ -779,7 +789,7 @@ if (typeof jQuery === 'undefined') {
779789
selector = selector && /#[A-Za-z]/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
780790
}
781791

782-
var $parent = selector && $(selector)
792+
var $parent = selector && $(document).find(selector)
783793

784794
return $parent && $parent.length ? $parent : $this.parent()
785795
}
@@ -915,7 +925,7 @@ if (typeof jQuery === 'undefined') {
915925
}(jQuery);
916926

917927
/* ========================================================================
918-
* Bootstrap: modal.js v3.3.7
928+
* Bootstrap: modal.js v3.4.0
919929
* http://getbootstrap.com/javascript/#modals
920930
* ========================================================================
921931
* Copyright 2011-2016 Twitter, Inc.
@@ -949,7 +959,7 @@ if (typeof jQuery === 'undefined') {
949959
}
950960
}
951961

952-
Modal.VERSION = '3.3.7'
962+
Modal.VERSION = '3.4.0'
953963

954964
Modal.TRANSITION_DURATION = 300
955965
Modal.BACKDROP_TRANSITION_DURATION = 150
@@ -1238,7 +1248,10 @@ if (typeof jQuery === 'undefined') {
12381248
$(document).on('click.bs.modal.data-api', '[data-toggle="modal"]', function (e) {
12391249
var $this = $(this)
12401250
var href = $this.attr('href')
1241-
var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))) // strip for ie7
1251+
var target = $this.attr('data-target') ||
1252+
(href && href.replace(/.*(?=#[^\s]+$)/, '')) // strip for ie7
1253+
1254+
var $target = $(document).find(target)
12421255
var option = $target.data('bs.modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data())
12431256

12441257
if ($this.is('a')) e.preventDefault()
@@ -1255,7 +1268,7 @@ if (typeof jQuery === 'undefined') {
12551268
}(jQuery);
12561269

12571270
/* ========================================================================
1258-
* Bootstrap: tooltip.js v3.3.7
1271+
* Bootstrap: tooltip.js v3.4.0
12591272
* http://getbootstrap.com/javascript/#tooltip
12601273
* Inspired by the original jQuery.tipsy by Jason Frame
12611274
* ========================================================================
@@ -1282,7 +1295,7 @@ if (typeof jQuery === 'undefined') {
12821295
this.init('tooltip', element, options)
12831296
}
12841297

1285-
Tooltip.VERSION = '3.3.7'
1298+
Tooltip.VERSION = '3.4.0'
12861299

12871300
Tooltip.TRANSITION_DURATION = 150
12881301

@@ -1776,7 +1789,7 @@ if (typeof jQuery === 'undefined') {
17761789
}(jQuery);
17771790

17781791
/* ========================================================================
1779-
* Bootstrap: popover.js v3.3.7
1792+
* Bootstrap: popover.js v3.4.0
17801793
* http://getbootstrap.com/javascript/#popovers
17811794
* ========================================================================
17821795
* Copyright 2011-2016 Twitter, Inc.
@@ -1796,7 +1809,7 @@ if (typeof jQuery === 'undefined') {
17961809

17971810
if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')
17981811

1799-
Popover.VERSION = '3.3.7'
1812+
Popover.VERSION = '3.4.0'
18001813

18011814
Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, {
18021815
placement: 'right',
@@ -1885,7 +1898,7 @@ if (typeof jQuery === 'undefined') {
18851898
}(jQuery);
18861899

18871900
/* ========================================================================
1888-
* Bootstrap: scrollspy.js v3.3.7
1901+
* Bootstrap: scrollspy.js v3.4.0
18891902
* http://getbootstrap.com/javascript/#scrollspy
18901903
* ========================================================================
18911904
* Copyright 2011-2016 Twitter, Inc.
@@ -1914,7 +1927,7 @@ if (typeof jQuery === 'undefined') {
19141927
this.process()
19151928
}
19161929

1917-
ScrollSpy.VERSION = '3.3.7'
1930+
ScrollSpy.VERSION = '3.4.0'
19181931

19191932
ScrollSpy.DEFAULTS = {
19201933
offset: 10
@@ -2058,7 +2071,7 @@ if (typeof jQuery === 'undefined') {
20582071
}(jQuery);
20592072

20602073
/* ========================================================================
2061-
* Bootstrap: tab.js v3.3.7
2074+
* Bootstrap: tab.js v3.4.0
20622075
* http://getbootstrap.com/javascript/#tabs
20632076
* ========================================================================
20642077
* Copyright 2011-2016 Twitter, Inc.
@@ -2078,7 +2091,7 @@ if (typeof jQuery === 'undefined') {
20782091
// jscs:enable requireDollarBeforejQueryAssignment
20792092
}
20802093

2081-
Tab.VERSION = '3.3.7'
2094+
Tab.VERSION = '3.4.0'
20822095

20832096
Tab.TRANSITION_DURATION = 150
20842097

@@ -2214,7 +2227,7 @@ if (typeof jQuery === 'undefined') {
22142227
}(jQuery);
22152228

22162229
/* ========================================================================
2217-
* Bootstrap: affix.js v3.3.7
2230+
* Bootstrap: affix.js v3.4.0
22182231
* http://getbootstrap.com/javascript/#affix
22192232
* ========================================================================
22202233
* Copyright 2011-2016 Twitter, Inc.
@@ -2243,7 +2256,7 @@ if (typeof jQuery === 'undefined') {
22432256
this.checkPosition()
22442257
}
22452258

2246-
Affix.VERSION = '3.3.7'
2259+
Affix.VERSION = '3.4.0'
22472260

22482261
Affix.RESET = 'affix affix-top affix-bottom'
22492262

assets/javascripts/bootstrap.min.js

Lines changed: 1 addition & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/javascripts/bootstrap/affix.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* ========================================================================
2-
* Bootstrap: affix.js v3.3.7
2+
* Bootstrap: affix.js v3.4.0
33
* http://getbootstrap.com/javascript/#affix
44
* ========================================================================
55
* Copyright 2011-2016 Twitter, Inc.
@@ -28,7 +28,7 @@
2828
this.checkPosition()
2929
}
3030

31-
Affix.VERSION = '3.3.7'
31+
Affix.VERSION = '3.4.0'
3232

3333
Affix.RESET = 'affix affix-top affix-bottom'
3434

assets/javascripts/bootstrap/alert.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* ========================================================================
2-
* Bootstrap: alert.js v3.3.7
2+
* Bootstrap: alert.js v3.4.0
33
* http://getbootstrap.com/javascript/#alerts
44
* ========================================================================
55
* Copyright 2011-2016 Twitter, Inc.
@@ -18,7 +18,7 @@
1818
$(el).on('click', dismiss, this.close)
1919
}
2020

21-
Alert.VERSION = '3.3.7'
21+
Alert.VERSION = '3.4.0'
2222

2323
Alert.TRANSITION_DURATION = 150
2424

@@ -31,7 +31,8 @@
3131
selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
3232
}
3333

34-
var $parent = $(selector === '#' ? [] : selector)
34+
selector = selector === '#' ? [] : selector
35+
var $parent = $(document).find(selector)
3536

3637
if (e) e.preventDefault()
3738

assets/javascripts/bootstrap/button.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* ========================================================================
2-
* Bootstrap: button.js v3.3.7
2+
* Bootstrap: button.js v3.4.0
33
* http://getbootstrap.com/javascript/#buttons
44
* ========================================================================
55
* Copyright 2011-2016 Twitter, Inc.
@@ -19,7 +19,7 @@
1919
this.isLoading = false
2020
}
2121

22-
Button.VERSION = '3.3.7'
22+
Button.VERSION = '3.4.0'
2323

2424
Button.DEFAULTS = {
2525
loadingText: 'loading...'

0 commit comments

Comments
 (0)