Skip to content

Commit 20b7a2c

Browse files
committed
rake convert
1 parent cb53158 commit 20b7a2c

23 files changed

+50
-39
lines changed

assets/javascripts/bootstrap.js

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Bootstrap v3.3.6 (http://getbootstrap.com)
3-
* Copyright 2011-2015 Twitter, Inc.
3+
* Copyright 2011-2016 Twitter, Inc.
44
* Licensed under the MIT license
55
*/
66

@@ -20,7 +20,7 @@ if (typeof jQuery === 'undefined') {
2020
* Bootstrap: transition.js v3.3.6
2121
* http://getbootstrap.com/javascript/#transitions
2222
* ========================================================================
23-
* Copyright 2011-2015 Twitter, Inc.
23+
* Copyright 2011-2016 Twitter, Inc.
2424
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
2525
* ======================================================================== */
2626

@@ -80,7 +80,7 @@ if (typeof jQuery === 'undefined') {
8080
* Bootstrap: alert.js v3.3.6
8181
* http://getbootstrap.com/javascript/#alerts
8282
* ========================================================================
83-
* Copyright 2011-2015 Twitter, Inc.
83+
* Copyright 2011-2016 Twitter, Inc.
8484
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
8585
* ======================================================================== */
8686

@@ -175,7 +175,7 @@ if (typeof jQuery === 'undefined') {
175175
* Bootstrap: button.js v3.3.6
176176
* http://getbootstrap.com/javascript/#buttons
177177
* ========================================================================
178-
* Copyright 2011-2015 Twitter, Inc.
178+
* Copyright 2011-2016 Twitter, Inc.
179179
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
180180
* ======================================================================== */
181181

@@ -296,7 +296,7 @@ if (typeof jQuery === 'undefined') {
296296
* Bootstrap: carousel.js v3.3.6
297297
* http://getbootstrap.com/javascript/#carousel
298298
* ========================================================================
299-
* Copyright 2011-2015 Twitter, Inc.
299+
* Copyright 2011-2016 Twitter, Inc.
300300
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
301301
* ======================================================================== */
302302

@@ -534,7 +534,7 @@ if (typeof jQuery === 'undefined') {
534534
* Bootstrap: collapse.js v3.3.6
535535
* http://getbootstrap.com/javascript/#collapse
536536
* ========================================================================
537-
* Copyright 2011-2015 Twitter, Inc.
537+
* Copyright 2011-2016 Twitter, Inc.
538538
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
539539
* ======================================================================== */
540540

@@ -746,7 +746,7 @@ if (typeof jQuery === 'undefined') {
746746
* Bootstrap: dropdown.js v3.3.6
747747
* http://getbootstrap.com/javascript/#dropdowns
748748
* ========================================================================
749-
* Copyright 2011-2015 Twitter, Inc.
749+
* Copyright 2011-2016 Twitter, Inc.
750750
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
751751
* ======================================================================== */
752752

@@ -912,7 +912,7 @@ if (typeof jQuery === 'undefined') {
912912
* Bootstrap: modal.js v3.3.6
913913
* http://getbootstrap.com/javascript/#modals
914914
* ========================================================================
915-
* Copyright 2011-2015 Twitter, Inc.
915+
* Copyright 2011-2016 Twitter, Inc.
916916
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
917917
* ======================================================================== */
918918

@@ -1050,7 +1050,9 @@ if (typeof jQuery === 'undefined') {
10501050
$(document)
10511051
.off('focusin.bs.modal') // guard against infinite focus loop
10521052
.on('focusin.bs.modal', $.proxy(function (e) {
1053-
if (this.$element[0] !== e.target && !this.$element.has(e.target).length) {
1053+
if (document !== event.target &&
1054+
this.$element[0] !== e.target &&
1055+
!this.$element.has(e.target).length) {
10541056
this.$element.trigger('focus')
10551057
}
10561058
}, this))
@@ -1251,7 +1253,7 @@ if (typeof jQuery === 'undefined') {
12511253
* http://getbootstrap.com/javascript/#tooltip
12521254
* Inspired by the original jQuery.tipsy by Jason Frame
12531255
* ========================================================================
1254-
* Copyright 2011-2015 Twitter, Inc.
1256+
* Copyright 2011-2016 Twitter, Inc.
12551257
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
12561258
* ======================================================================== */
12571259

@@ -1765,7 +1767,7 @@ if (typeof jQuery === 'undefined') {
17651767
* Bootstrap: popover.js v3.3.6
17661768
* http://getbootstrap.com/javascript/#popovers
17671769
* ========================================================================
1768-
* Copyright 2011-2015 Twitter, Inc.
1770+
* Copyright 2011-2016 Twitter, Inc.
17691771
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
17701772
* ======================================================================== */
17711773

@@ -1874,7 +1876,7 @@ if (typeof jQuery === 'undefined') {
18741876
* Bootstrap: scrollspy.js v3.3.6
18751877
* http://getbootstrap.com/javascript/#scrollspy
18761878
* ========================================================================
1877-
* Copyright 2011-2015 Twitter, Inc.
1879+
* Copyright 2011-2016 Twitter, Inc.
18781880
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
18791881
* ======================================================================== */
18801882

@@ -2047,7 +2049,7 @@ if (typeof jQuery === 'undefined') {
20472049
* Bootstrap: tab.js v3.3.6
20482050
* http://getbootstrap.com/javascript/#tabs
20492051
* ========================================================================
2050-
* Copyright 2011-2015 Twitter, Inc.
2052+
* Copyright 2011-2016 Twitter, Inc.
20512053
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
20522054
* ======================================================================== */
20532055

@@ -2203,7 +2205,7 @@ if (typeof jQuery === 'undefined') {
22032205
* Bootstrap: affix.js v3.3.6
22042206
* http://getbootstrap.com/javascript/#affix
22052207
* ========================================================================
2206-
* Copyright 2011-2015 Twitter, Inc.
2208+
* Copyright 2011-2016 Twitter, Inc.
22072209
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
22082210
* ======================================================================== */
22092211

assets/javascripts/bootstrap.min.js

Lines changed: 2 additions & 2 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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Bootstrap: affix.js v3.3.6
33
* http://getbootstrap.com/javascript/#affix
44
* ========================================================================
5-
* Copyright 2011-2015 Twitter, Inc.
5+
* Copyright 2011-2016 Twitter, Inc.
66
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
77
* ======================================================================== */
88

assets/javascripts/bootstrap/alert.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Bootstrap: alert.js v3.3.6
33
* http://getbootstrap.com/javascript/#alerts
44
* ========================================================================
5-
* Copyright 2011-2015 Twitter, Inc.
5+
* Copyright 2011-2016 Twitter, Inc.
66
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
77
* ======================================================================== */
88

assets/javascripts/bootstrap/button.js

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Bootstrap: button.js v3.3.6
33
* http://getbootstrap.com/javascript/#buttons
44
* ========================================================================
5-
* Copyright 2011-2015 Twitter, Inc.
5+
* Copyright 2011-2016 Twitter, Inc.
66
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
77
* ======================================================================== */
88

@@ -108,10 +108,15 @@
108108

109109
$(document)
110110
.on('click.bs.button.data-api', '[data-toggle^="button"]', function (e) {
111-
var $btn = $(e.target)
112-
if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn')
111+
var $btn = $(e.target).closest('.btn')
113112
Plugin.call($btn, 'toggle')
114-
if (!($(e.target).is('input[type="radio"]') || $(e.target).is('input[type="checkbox"]'))) e.preventDefault()
113+
if (!($(e.target).is('input[type="radio"]') || $(e.target).is('input[type="checkbox"]'))) {
114+
// Prevent double click on radios, and the double selections (so cancellation) on checkboxes
115+
e.preventDefault()
116+
// The target component still receive the focus
117+
if ($btn.is('input,button')) $btn.trigger('focus')
118+
else $btn.find('input:visible,button:visible').first().trigger('focus')
119+
}
115120
})
116121
.on('focus.bs.button.data-api blur.bs.button.data-api', '[data-toggle^="button"]', function (e) {
117122
$(e.target).closest('.btn').toggleClass('focus', /^focus(in)?$/.test(e.type))

assets/javascripts/bootstrap/carousel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Bootstrap: carousel.js v3.3.6
33
* http://getbootstrap.com/javascript/#carousel
44
* ========================================================================
5-
* Copyright 2011-2015 Twitter, Inc.
5+
* Copyright 2011-2016 Twitter, Inc.
66
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
77
* ======================================================================== */
88

assets/javascripts/bootstrap/collapse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Bootstrap: collapse.js v3.3.6
33
* http://getbootstrap.com/javascript/#collapse
44
* ========================================================================
5-
* Copyright 2011-2015 Twitter, Inc.
5+
* Copyright 2011-2016 Twitter, Inc.
66
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
77
* ======================================================================== */
88

assets/javascripts/bootstrap/dropdown.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Bootstrap: dropdown.js v3.3.6
33
* http://getbootstrap.com/javascript/#dropdowns
44
* ========================================================================
5-
* Copyright 2011-2015 Twitter, Inc.
5+
* Copyright 2011-2016 Twitter, Inc.
66
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
77
* ======================================================================== */
88

assets/javascripts/bootstrap/modal.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Bootstrap: modal.js v3.3.6
33
* http://getbootstrap.com/javascript/#modals
44
* ========================================================================
5-
* Copyright 2011-2015 Twitter, Inc.
5+
* Copyright 2011-2016 Twitter, Inc.
66
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
77
* ======================================================================== */
88

@@ -140,7 +140,9 @@
140140
$(document)
141141
.off('focusin.bs.modal') // guard against infinite focus loop
142142
.on('focusin.bs.modal', $.proxy(function (e) {
143-
if (this.$element[0] !== e.target && !this.$element.has(e.target).length) {
143+
if (document !== e.target &&
144+
this.$element[0] !== e.target &&
145+
!this.$element.has(e.target).length) {
144146
this.$element.trigger('focus')
145147
}
146148
}, this))

assets/javascripts/bootstrap/popover.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Bootstrap: popover.js v3.3.6
33
* http://getbootstrap.com/javascript/#popovers
44
* ========================================================================
5-
* Copyright 2011-2015 Twitter, Inc.
5+
* Copyright 2011-2016 Twitter, Inc.
66
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
77
* ======================================================================== */
88

assets/javascripts/bootstrap/scrollspy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Bootstrap: scrollspy.js v3.3.6
33
* http://getbootstrap.com/javascript/#scrollspy
44
* ========================================================================
5-
* Copyright 2011-2015 Twitter, Inc.
5+
* Copyright 2011-2016 Twitter, Inc.
66
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
77
* ======================================================================== */
88

assets/javascripts/bootstrap/tab.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Bootstrap: tab.js v3.3.6
33
* http://getbootstrap.com/javascript/#tabs
44
* ========================================================================
5-
* Copyright 2011-2015 Twitter, Inc.
5+
* Copyright 2011-2016 Twitter, Inc.
66
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
77
* ======================================================================== */
88

assets/javascripts/bootstrap/tooltip.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* http://getbootstrap.com/javascript/#tooltip
44
* Inspired by the original jQuery.tipsy by Jason Frame
55
* ========================================================================
6-
* Copyright 2011-2015 Twitter, Inc.
6+
* Copyright 2011-2016 Twitter, Inc.
77
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
88
* ======================================================================== */
99

assets/javascripts/bootstrap/transition.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Bootstrap: transition.js v3.3.6
33
* http://getbootstrap.com/javascript/#transitions
44
* ========================================================================
5-
* Copyright 2011-2015 Twitter, Inc.
5+
* Copyright 2011-2016 Twitter, Inc.
66
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
77
* ======================================================================== */
88

assets/stylesheets/_bootstrap.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Bootstrap v3.3.6 (http://getbootstrap.com)
3-
* Copyright 2011-2015 Twitter, Inc.
3+
* Copyright 2011-2016 Twitter, Inc.
44
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
55
*/
66

assets/stylesheets/bootstrap/_button-groups.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
@include border-right-radius(0);
6060
}
6161
}
62-
// Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it
62+
// Need .dropdown-toggle since :last-child doesn't apply, given that a .dropdown-menu is used immediately after it
6363
.btn-group > .btn:last-child:not(:first-child),
6464
.btn-group > .dropdown-toggle:not(:first-child) {
6565
@include border-left-radius(0);

assets/stylesheets/bootstrap/_input-groups.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
width: 100%;
3131
margin-bottom: 0;
32-
32+
3333
&:focus {
3434
z-index: 3;
3535
}

assets/stylesheets/bootstrap/_pager.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
color: $pager-disabled-color;
5050
background-color: $pager-bg;
5151
cursor: $cursor-disabled;
52+
pointer-events: none; // Future-proof disabling of clicks on `<a>` elements
5253
}
5354
}
5455
}

assets/stylesheets/bootstrap/_pagination.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
background-color: $pagination-disabled-bg;
7272
border-color: $pagination-disabled-border;
7373
cursor: $cursor-disabled;
74+
pointer-events: none; // Future-proof disabling of clicks on `<a>` elements
7475
}
7576
}
7677
}

assets/stylesheets/bootstrap/_theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Bootstrap v3.3.6 (http://getbootstrap.com)
3-
* Copyright 2011-2015 Twitter, Inc.
3+
* Copyright 2011-2016 Twitter, Inc.
44
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
55
*/
66

assets/stylesheets/bootstrap/_variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ $component-active-color: #fff !default;
116116
//** Global background color for active items (e.g., navs or dropdowns).
117117
$component-active-bg: $brand-primary !default;
118118

119-
//** Width of the `border` for generating carets that indicator dropdowns.
119+
//** Width of the `border` for generating carets that indicate dropdowns.
120120
$caret-width-base: 4px !default;
121121
//** Carets increase slightly in size for larger components.
122122
$caret-width-large: 5px !default;

lib/bootstrap-sass/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
module Bootstrap
22
VERSION = '3.3.6'
3-
BOOTSTRAP_SHA = '81df608a40bf0629a1dc08e584849bb1e43e0b7a'
3+
BOOTSTRAP_SHA = '562d2239c0b8ef56dae04bd44eac0c419def6467'
44
end

templates/project/_bootstrap-variables.sass

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
//** Global background color for active items (e.g., navs or dropdowns).
118118
// $component-active-bg: $brand-primary
119119
120-
//** Width of the `border` for generating carets that indicator dropdowns.
120+
//** Width of the `border` for generating carets that indicate dropdowns.
121121
// $caret-width-base: 4px
122122
//** Carets increase slightly in size for larger components.
123123
// $caret-width-large: 5px

0 commit comments

Comments
 (0)