0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

grunt dist docs

[ci skip]
This commit is contained in:
Chris Rebert 2016-01-01 12:37:52 -08:00
parent e9192f6de0
commit 422ed9ab48
27 changed files with 52 additions and 34 deletions

View File

@ -1,6 +1,6 @@
/*! /*!
* Bootstrap v4.0.0-alpha.2 (http://getbootstrap.com) * Bootstrap v4.0.0-alpha.2 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc. * Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/ */
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */ /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
@ -3390,12 +3390,14 @@ input[type="button"].btn-block {
.file { .file {
position: relative; position: relative;
display: inline-block; display: inline-block;
max-width: 100%;
height: 2.5rem; height: 2.5rem;
cursor: pointer; cursor: pointer;
} }
.file input { .file input {
min-width: 14rem; min-width: 14rem;
max-width: 100%;
margin: 0; margin: 0;
filter: alpha(opacity=0); filter: alpha(opacity=0);
opacity: 0; opacity: 0;
@ -4102,6 +4104,7 @@ input[type="button"].btn-block {
.page-item.disabled .page-link, .page-item.disabled .page-link:focus, .page-item.disabled .page-link:hover { .page-item.disabled .page-link, .page-item.disabled .page-link:focus, .page-item.disabled .page-link:hover {
color: #818a91; color: #818a91;
pointer-events: none;
cursor: not-allowed; cursor: not-allowed;
background-color: #fff; background-color: #fff;
border-color: #ddd; border-color: #ddd;
@ -4191,6 +4194,7 @@ input[type="button"].btn-block {
.pager .disabled > a, .pager .disabled > a:focus, .pager .disabled > a:hover { .pager .disabled > a, .pager .disabled > a:focus, .pager .disabled > a:hover {
color: #818a91; color: #818a91;
pointer-events: none;
cursor: not-allowed; cursor: not-allowed;
background-color: #fff; background-color: #fff;
} }
@ -6151,7 +6155,7 @@ a.text-danger:focus, a.text-danger:hover {
} }
.text-hide { .text-hide {
font: "0/0" a; font: 0/0 a;
color: transparent; color: transparent;
text-shadow: none; text-shadow: none;
background-color: transparent; background-color: transparent;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
/*! /*!
* Bootstrap v4.0.0-alpha.2 (http://getbootstrap.com) * Bootstrap v4.0.0-alpha.2 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc. * Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/ */
@ -129,7 +129,9 @@ var Util = (function ($) {
getUID: function getUID(prefix) { getUID: function getUID(prefix) {
do { do {
/* eslint-disable no-bitwise */
prefix += ~ ~(Math.random() * 1000000); // "~~" acts like a faster Math.floor() here prefix += ~ ~(Math.random() * 1000000); // "~~" acts like a faster Math.floor() here
/* eslint-enable no-bitwise */
} while (document.getElementById(prefix)); } while (document.getElementById(prefix));
return prefix; return prefix;
}, },
@ -1616,7 +1618,7 @@ var Dropdown = (function ($) {
index++; index++;
} }
if (! ~index) { if (index < 0) {
index = 0; index = 0;
} }
@ -1906,7 +1908,7 @@ var Modal = (function ($) {
$(document).off(Event.FOCUSIN) // guard against infinite focus loop $(document).off(Event.FOCUSIN) // guard against infinite focus loop
.on(Event.FOCUSIN, function (event) { .on(Event.FOCUSIN, function (event) {
if (_this9._element !== event.target && !$(_this9._element).has(event.target).length) { if (document !== event.target && _this9._element !== event.target && !$(_this9._element).has(event.target).length) {
_this9._element.focus(); _this9._element.focus();
} }
}); });

File diff suppressed because one or more lines are too long

View File

@ -272,7 +272,7 @@
index++; index++;
} }
if (! ~index) { if (index < 0) {
index = 0; index = 0;
} }

View File

@ -275,7 +275,7 @@
$(document).off(Event.FOCUSIN) // guard against infinite focus loop $(document).off(Event.FOCUSIN) // guard against infinite focus loop
.on(Event.FOCUSIN, function (event) { .on(Event.FOCUSIN, function (event) {
if (_this3._element !== event.target && !$(_this3._element).has(event.target).length) { if (document !== event.target && _this3._element !== event.target && !$(_this3._element).has(event.target).length) {
_this3._element.focus(); _this3._element.focus();
} }
}); });

2
dist/js/umd/util.js vendored
View File

@ -114,7 +114,9 @@
getUID: function getUID(prefix) { getUID: function getUID(prefix) {
do { do {
/* eslint-disable no-bitwise */
prefix += ~ ~(Math.random() * 1000000); // "~~" acts like a faster Math.floor() here prefix += ~ ~(Math.random() * 1000000); // "~~" acts like a faster Math.floor() here
/* eslint-enable no-bitwise */
} while (document.getElementById(prefix)); } while (document.getElementById(prefix));
return prefix; return prefix;
}, },

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
/*! /*!
* Bootstrap v4.0.0-alpha.2 (http://getbootstrap.com) * Bootstrap v4.0.0-alpha.2 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc. * Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/ */
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */ /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
@ -3390,12 +3390,14 @@ input[type="button"].btn-block {
.file { .file {
position: relative; position: relative;
display: inline-block; display: inline-block;
max-width: 100%;
height: 2.5rem; height: 2.5rem;
cursor: pointer; cursor: pointer;
} }
.file input { .file input {
min-width: 14rem; min-width: 14rem;
max-width: 100%;
margin: 0; margin: 0;
filter: alpha(opacity=0); filter: alpha(opacity=0);
opacity: 0; opacity: 0;
@ -4102,6 +4104,7 @@ input[type="button"].btn-block {
.page-item.disabled .page-link, .page-item.disabled .page-link:focus, .page-item.disabled .page-link:hover { .page-item.disabled .page-link, .page-item.disabled .page-link:focus, .page-item.disabled .page-link:hover {
color: #818a91; color: #818a91;
pointer-events: none;
cursor: not-allowed; cursor: not-allowed;
background-color: #fff; background-color: #fff;
border-color: #ddd; border-color: #ddd;
@ -4191,6 +4194,7 @@ input[type="button"].btn-block {
.pager .disabled > a, .pager .disabled > a:focus, .pager .disabled > a:hover { .pager .disabled > a, .pager .disabled > a:focus, .pager .disabled > a:hover {
color: #818a91; color: #818a91;
pointer-events: none;
cursor: not-allowed; cursor: not-allowed;
background-color: #fff; background-color: #fff;
} }
@ -6151,7 +6155,7 @@ a.text-danger:focus, a.text-danger:hover {
} }
.text-hide { .text-hide {
font: "0/0" a; font: 0/0 a;
color: transparent; color: transparent;
text-shadow: none; text-shadow: none;
background-color: transparent; background-color: transparent;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
/*! /*!
* Bootstrap v4.0.0-alpha.2 (http://getbootstrap.com) * Bootstrap v4.0.0-alpha.2 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc. * Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/ */
@ -129,7 +129,9 @@ var Util = (function ($) {
getUID: function getUID(prefix) { getUID: function getUID(prefix) {
do { do {
/* eslint-disable no-bitwise */
prefix += ~ ~(Math.random() * 1000000); // "~~" acts like a faster Math.floor() here prefix += ~ ~(Math.random() * 1000000); // "~~" acts like a faster Math.floor() here
/* eslint-enable no-bitwise */
} while (document.getElementById(prefix)); } while (document.getElementById(prefix));
return prefix; return prefix;
}, },
@ -1616,7 +1618,7 @@ var Dropdown = (function ($) {
index++; index++;
} }
if (! ~index) { if (index < 0) {
index = 0; index = 0;
} }
@ -1906,7 +1908,7 @@ var Modal = (function ($) {
$(document).off(Event.FOCUSIN) // guard against infinite focus loop $(document).off(Event.FOCUSIN) // guard against infinite focus loop
.on(Event.FOCUSIN, function (event) { .on(Event.FOCUSIN, function (event) {
if (_this9._element !== event.target && !$(_this9._element).has(event.target).length) { if (document !== event.target && _this9._element !== event.target && !$(_this9._element).has(event.target).length) {
_this9._element.focus(); _this9._element.focus();
} }
}); });

File diff suppressed because one or more lines are too long

View File

@ -272,7 +272,7 @@
index++; index++;
} }
if (! ~index) { if (index < 0) {
index = 0; index = 0;
} }

View File

@ -275,7 +275,7 @@
$(document).off(Event.FOCUSIN) // guard against infinite focus loop $(document).off(Event.FOCUSIN) // guard against infinite focus loop
.on(Event.FOCUSIN, function (event) { .on(Event.FOCUSIN, function (event) {
if (_this3._element !== event.target && !$(_this3._element).has(event.target).length) { if (document !== event.target && _this3._element !== event.target && !$(_this3._element).has(event.target).length) {
_this3._element.focus(); _this3._element.focus();
} }
}); });

View File

@ -114,7 +114,9 @@
getUID: function getUID(prefix) { getUID: function getUID(prefix) {
do { do {
/* eslint-disable no-bitwise */
prefix += ~ ~(Math.random() * 1000000); // "~~" acts like a faster Math.floor() here prefix += ~ ~(Math.random() * 1000000); // "~~" acts like a faster Math.floor() here
/* eslint-enable no-bitwise */
} while (document.getElementById(prefix)); } while (document.getElementById(prefix));
return prefix; return prefix;
}, },

2
js/dist/dropdown.js vendored
View File

@ -255,7 +255,7 @@ var Dropdown = (function ($) {
index++; index++;
} }
if (! ~index) { if (index < 0) {
index = 0; index = 0;
} }

File diff suppressed because one or more lines are too long

2
js/dist/modal.js vendored
View File

@ -258,7 +258,7 @@ var Modal = (function ($) {
$(document).off(Event.FOCUSIN) // guard against infinite focus loop $(document).off(Event.FOCUSIN) // guard against infinite focus loop
.on(Event.FOCUSIN, function (event) { .on(Event.FOCUSIN, function (event) {
if (_this3._element !== event.target && !$(_this3._element).has(event.target).length) { if (document !== event.target && _this3._element !== event.target && !$(_this3._element).has(event.target).length) {
_this3._element.focus(); _this3._element.focus();
} }
}); });

File diff suppressed because one or more lines are too long

2
js/dist/util.js vendored
View File

@ -101,7 +101,9 @@ var Util = (function ($) {
getUID: function getUID(prefix) { getUID: function getUID(prefix) {
do { do {
/* eslint-disable no-bitwise */
prefix += ~ ~(Math.random() * 1000000); // "~~" acts like a faster Math.floor() here prefix += ~ ~(Math.random() * 1000000); // "~~" acts like a faster Math.floor() here
/* eslint-enable no-bitwise */
} while (document.getElementById(prefix)); } while (document.getElementById(prefix));
return prefix; return prefix;
}, },

2
js/dist/util.js.map vendored

File diff suppressed because one or more lines are too long