mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-21 18:54:30 +01:00
dist
This commit is contained in:
parent
cad22335ed
commit
d8a5147c38
@ -1879,6 +1879,7 @@ select.form-control:focus::-ms-value {
|
|||||||
padding-bottom: 0.5rem;
|
padding-bottom: 0.5rem;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
line-height: 1.25;
|
line-height: 1.25;
|
||||||
|
background-color: transparent;
|
||||||
border: solid transparent;
|
border: solid transparent;
|
||||||
border-width: 1px 0;
|
border-width: 1px 0;
|
||||||
}
|
}
|
||||||
|
2
dist/css/bootstrap.css.map
vendored
2
dist/css/bootstrap.css.map
vendored
File diff suppressed because one or more lines are too long
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
2
dist/css/bootstrap.min.css.map
vendored
2
dist/css/bootstrap.min.css.map
vendored
File diff suppressed because one or more lines are too long
161
dist/js/bootstrap.bundle.js
vendored
161
dist/js/bootstrap.bundle.js
vendored
@ -33,9 +33,10 @@ var Util = function () {
|
|||||||
MozTransition: 'transitionend',
|
MozTransition: 'transitionend',
|
||||||
OTransition: 'oTransitionEnd otransitionend',
|
OTransition: 'oTransitionEnd otransitionend',
|
||||||
transition: 'transitionend'
|
transition: 'transitionend'
|
||||||
|
};
|
||||||
|
|
||||||
// shoutout AngusCroll (https://goo.gl/pxwQGp)
|
// shoutout AngusCroll (https://goo.gl/pxwQGp)
|
||||||
};function toType(obj) {
|
function toType(obj) {
|
||||||
return {}.toString.call(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase();
|
return {}.toString.call(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -255,14 +256,14 @@ var Alert = function () {
|
|||||||
ALERT: 'alert',
|
ALERT: 'alert',
|
||||||
FADE: 'fade',
|
FADE: 'fade',
|
||||||
SHOW: 'show'
|
SHOW: 'show'
|
||||||
|
|
||||||
/**
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
* Class Definition
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
* Class Definition
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
var Alert = function () {
|
var Alert = function () {
|
||||||
function Alert(element) {
|
function Alert(element) {
|
||||||
classCallCheck(this, Alert);
|
classCallCheck(this, Alert);
|
||||||
@ -435,14 +436,14 @@ var Button = function () {
|
|||||||
var Event = {
|
var Event = {
|
||||||
CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY,
|
CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY,
|
||||||
FOCUS_BLUR_DATA_API: 'focus' + EVENT_KEY + DATA_API_KEY + ' ' + ('blur' + EVENT_KEY + DATA_API_KEY)
|
FOCUS_BLUR_DATA_API: 'focus' + EVENT_KEY + DATA_API_KEY + ' ' + ('blur' + EVENT_KEY + DATA_API_KEY)
|
||||||
|
|
||||||
/**
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
* Class Definition
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
* Class Definition
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
var Button = function () {
|
var Button = function () {
|
||||||
function Button(element) {
|
function Button(element) {
|
||||||
classCallCheck(this, Button);
|
classCallCheck(this, Button);
|
||||||
@ -644,14 +645,14 @@ var Carousel = function () {
|
|||||||
INDICATORS: '.carousel-indicators',
|
INDICATORS: '.carousel-indicators',
|
||||||
DATA_SLIDE: '[data-slide], [data-slide-to]',
|
DATA_SLIDE: '[data-slide], [data-slide-to]',
|
||||||
DATA_RIDE: '[data-ride="carousel"]'
|
DATA_RIDE: '[data-ride="carousel"]'
|
||||||
|
|
||||||
/**
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
* Class Definition
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
* Class Definition
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
var Carousel = function () {
|
var Carousel = function () {
|
||||||
function Carousel(element, config) {
|
function Carousel(element, config) {
|
||||||
classCallCheck(this, Carousel);
|
classCallCheck(this, Carousel);
|
||||||
@ -1128,14 +1129,14 @@ var Collapse = function () {
|
|||||||
var Selector = {
|
var Selector = {
|
||||||
ACTIVES: '.show, .collapsing',
|
ACTIVES: '.show, .collapsing',
|
||||||
DATA_TOGGLE: '[data-toggle="collapse"]'
|
DATA_TOGGLE: '[data-toggle="collapse"]'
|
||||||
|
|
||||||
/**
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
* Class Definition
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
* Class Definition
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
var Collapse = function () {
|
var Collapse = function () {
|
||||||
function Collapse(element, config) {
|
function Collapse(element, config) {
|
||||||
classCallCheck(this, Collapse);
|
classCallCheck(this, Collapse);
|
||||||
@ -3943,23 +3944,21 @@ var Dropdown = function () {
|
|||||||
};
|
};
|
||||||
|
|
||||||
var Default = {
|
var Default = {
|
||||||
placement: AttachmentMap.BOTTOM,
|
|
||||||
offset: 0,
|
offset: 0,
|
||||||
flip: true
|
flip: true
|
||||||
};
|
};
|
||||||
|
|
||||||
var DefaultType = {
|
var DefaultType = {
|
||||||
placement: 'string',
|
|
||||||
offset: '(number|string)',
|
offset: '(number|string)',
|
||||||
flip: 'boolean'
|
flip: 'boolean'
|
||||||
|
|
||||||
/**
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
* Class Definition
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
* Class Definition
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
var Dropdown = function () {
|
var Dropdown = function () {
|
||||||
function Dropdown(element, config) {
|
function Dropdown(element, config) {
|
||||||
classCallCheck(this, Dropdown);
|
classCallCheck(this, Dropdown);
|
||||||
@ -4057,11 +4056,6 @@ var Dropdown = function () {
|
|||||||
};
|
};
|
||||||
|
|
||||||
Dropdown.prototype._getConfig = function _getConfig(config) {
|
Dropdown.prototype._getConfig = function _getConfig(config) {
|
||||||
var elementData = $(this._element).data();
|
|
||||||
if (typeof elementData.placement !== 'undefined') {
|
|
||||||
elementData.placement = AttachmentMap[elementData.placement.toUpperCase()];
|
|
||||||
}
|
|
||||||
|
|
||||||
config = $.extend({}, this.constructor.Default, $(this._element).data(), config);
|
config = $.extend({}, this.constructor.Default, $(this._element).data(), config);
|
||||||
|
|
||||||
Util.typeCheckConfig(NAME, config, this.constructor.DefaultType);
|
Util.typeCheckConfig(NAME, config, this.constructor.DefaultType);
|
||||||
@ -4079,10 +4073,10 @@ var Dropdown = function () {
|
|||||||
|
|
||||||
Dropdown.prototype._getPlacement = function _getPlacement() {
|
Dropdown.prototype._getPlacement = function _getPlacement() {
|
||||||
var $parentDropdown = $(this._element).parent();
|
var $parentDropdown = $(this._element).parent();
|
||||||
var placement = this._config.placement;
|
var placement = AttachmentMap.BOTTOM;
|
||||||
|
|
||||||
// Handle dropup
|
// Handle dropup
|
||||||
if ($parentDropdown.hasClass(ClassName.DROPUP) || this._config.placement === AttachmentMap.TOP) {
|
if ($parentDropdown.hasClass(ClassName.DROPUP)) {
|
||||||
placement = AttachmentMap.TOP;
|
placement = AttachmentMap.TOP;
|
||||||
if ($(this._menu).hasClass(ClassName.MENURIGHT)) {
|
if ($(this._menu).hasClass(ClassName.MENURIGHT)) {
|
||||||
placement = AttachmentMap.TOPEND;
|
placement = AttachmentMap.TOPEND;
|
||||||
@ -4108,9 +4102,10 @@ var Dropdown = function () {
|
|||||||
enabled: this._config.flip
|
enabled: this._config.flip
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
};
|
||||||
|
|
||||||
// Disable Popper.js for Dropdown in Navbar
|
// Disable Popper.js for Dropdown in Navbar
|
||||||
};if (this._inNavbar) {
|
if (this._inNavbar) {
|
||||||
popperConfig.modifiers.applyStyle = {
|
popperConfig.modifiers.applyStyle = {
|
||||||
enabled: !this._inNavbar
|
enabled: !this._inNavbar
|
||||||
};
|
};
|
||||||
@ -4363,14 +4358,14 @@ var Modal = function () {
|
|||||||
FIXED_CONTENT: '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top',
|
FIXED_CONTENT: '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top',
|
||||||
STICKY_CONTENT: '.sticky-top',
|
STICKY_CONTENT: '.sticky-top',
|
||||||
NAVBAR_TOGGLER: '.navbar-toggler'
|
NAVBAR_TOGGLER: '.navbar-toggler'
|
||||||
|
|
||||||
/**
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
* Class Definition
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
* Class Definition
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
var Modal = function () {
|
var Modal = function () {
|
||||||
function Modal(element, config) {
|
function Modal(element, config) {
|
||||||
classCallCheck(this, Modal);
|
classCallCheck(this, Modal);
|
||||||
@ -4978,14 +4973,14 @@ var Tooltip = function () {
|
|||||||
FOCUS: 'focus',
|
FOCUS: 'focus',
|
||||||
CLICK: 'click',
|
CLICK: 'click',
|
||||||
MANUAL: 'manual'
|
MANUAL: 'manual'
|
||||||
|
|
||||||
/**
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
* Class Definition
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
* Class Definition
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
var Tooltip = function () {
|
var Tooltip = function () {
|
||||||
function Tooltip(element, config) {
|
function Tooltip(element, config) {
|
||||||
classCallCheck(this, Tooltip);
|
classCallCheck(this, Tooltip);
|
||||||
@ -5609,14 +5604,14 @@ var Popover = function () {
|
|||||||
FOCUSOUT: 'focusout' + EVENT_KEY,
|
FOCUSOUT: 'focusout' + EVENT_KEY,
|
||||||
MOUSEENTER: 'mouseenter' + EVENT_KEY,
|
MOUSEENTER: 'mouseenter' + EVENT_KEY,
|
||||||
MOUSELEAVE: 'mouseleave' + EVENT_KEY
|
MOUSELEAVE: 'mouseleave' + EVENT_KEY
|
||||||
|
|
||||||
/**
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
* Class Definition
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
* Class Definition
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
var Popover = function (_Tooltip) {
|
var Popover = function (_Tooltip) {
|
||||||
inherits(Popover, _Tooltip);
|
inherits(Popover, _Tooltip);
|
||||||
|
|
||||||
@ -5808,14 +5803,14 @@ var ScrollSpy = function () {
|
|||||||
var OffsetMethod = {
|
var OffsetMethod = {
|
||||||
OFFSET: 'offset',
|
OFFSET: 'offset',
|
||||||
POSITION: 'position'
|
POSITION: 'position'
|
||||||
|
|
||||||
/**
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
* Class Definition
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
* Class Definition
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
var ScrollSpy = function () {
|
var ScrollSpy = function () {
|
||||||
function ScrollSpy(element, config) {
|
function ScrollSpy(element, config) {
|
||||||
var _this = this;
|
var _this = this;
|
||||||
@ -6109,14 +6104,14 @@ var Tab = function () {
|
|||||||
DATA_TOGGLE: '[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',
|
DATA_TOGGLE: '[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',
|
||||||
DROPDOWN_TOGGLE: '.dropdown-toggle',
|
DROPDOWN_TOGGLE: '.dropdown-toggle',
|
||||||
DROPDOWN_ACTIVE_CHILD: '> .dropdown-menu .active'
|
DROPDOWN_ACTIVE_CHILD: '> .dropdown-menu .active'
|
||||||
|
|
||||||
/**
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
* Class Definition
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
* Class Definition
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
var Tab = function () {
|
var Tab = function () {
|
||||||
function Tab(element) {
|
function Tab(element) {
|
||||||
classCallCheck(this, Tab);
|
classCallCheck(this, Tab);
|
||||||
|
2
dist/js/bootstrap.bundle.min.js
vendored
2
dist/js/bootstrap.bundle.min.js
vendored
File diff suppressed because one or more lines are too long
@ -34,9 +34,10 @@ var Util = function () {
|
|||||||
MozTransition: 'transitionend',
|
MozTransition: 'transitionend',
|
||||||
OTransition: 'oTransitionEnd otransitionend',
|
OTransition: 'oTransitionEnd otransitionend',
|
||||||
transition: 'transitionend'
|
transition: 'transitionend'
|
||||||
|
};
|
||||||
|
|
||||||
// shoutout AngusCroll (https://goo.gl/pxwQGp)
|
// shoutout AngusCroll (https://goo.gl/pxwQGp)
|
||||||
};function toType(obj) {
|
function toType(obj) {
|
||||||
return {}.toString.call(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase();
|
return {}.toString.call(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -256,14 +257,14 @@ var Alert = function () {
|
|||||||
ALERT: 'alert',
|
ALERT: 'alert',
|
||||||
FADE: 'fade',
|
FADE: 'fade',
|
||||||
SHOW: 'show'
|
SHOW: 'show'
|
||||||
|
|
||||||
/**
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
* Class Definition
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
* Class Definition
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
var Alert = function () {
|
var Alert = function () {
|
||||||
function Alert(element) {
|
function Alert(element) {
|
||||||
classCallCheck(this, Alert);
|
classCallCheck(this, Alert);
|
||||||
@ -436,14 +437,14 @@ var Button = function () {
|
|||||||
var Event = {
|
var Event = {
|
||||||
CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY,
|
CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY,
|
||||||
FOCUS_BLUR_DATA_API: 'focus' + EVENT_KEY + DATA_API_KEY + ' ' + ('blur' + EVENT_KEY + DATA_API_KEY)
|
FOCUS_BLUR_DATA_API: 'focus' + EVENT_KEY + DATA_API_KEY + ' ' + ('blur' + EVENT_KEY + DATA_API_KEY)
|
||||||
|
|
||||||
/**
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
* Class Definition
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
* Class Definition
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
var Button = function () {
|
var Button = function () {
|
||||||
function Button(element) {
|
function Button(element) {
|
||||||
classCallCheck(this, Button);
|
classCallCheck(this, Button);
|
||||||
@ -645,14 +646,14 @@ var Carousel = function () {
|
|||||||
INDICATORS: '.carousel-indicators',
|
INDICATORS: '.carousel-indicators',
|
||||||
DATA_SLIDE: '[data-slide], [data-slide-to]',
|
DATA_SLIDE: '[data-slide], [data-slide-to]',
|
||||||
DATA_RIDE: '[data-ride="carousel"]'
|
DATA_RIDE: '[data-ride="carousel"]'
|
||||||
|
|
||||||
/**
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
* Class Definition
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
* Class Definition
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
var Carousel = function () {
|
var Carousel = function () {
|
||||||
function Carousel(element, config) {
|
function Carousel(element, config) {
|
||||||
classCallCheck(this, Carousel);
|
classCallCheck(this, Carousel);
|
||||||
@ -1129,14 +1130,14 @@ var Collapse = function () {
|
|||||||
var Selector = {
|
var Selector = {
|
||||||
ACTIVES: '.show, .collapsing',
|
ACTIVES: '.show, .collapsing',
|
||||||
DATA_TOGGLE: '[data-toggle="collapse"]'
|
DATA_TOGGLE: '[data-toggle="collapse"]'
|
||||||
|
|
||||||
/**
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
* Class Definition
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
* Class Definition
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
var Collapse = function () {
|
var Collapse = function () {
|
||||||
function Collapse(element, config) {
|
function Collapse(element, config) {
|
||||||
classCallCheck(this, Collapse);
|
classCallCheck(this, Collapse);
|
||||||
@ -1506,23 +1507,21 @@ var Dropdown = function () {
|
|||||||
};
|
};
|
||||||
|
|
||||||
var Default = {
|
var Default = {
|
||||||
placement: AttachmentMap.BOTTOM,
|
|
||||||
offset: 0,
|
offset: 0,
|
||||||
flip: true
|
flip: true
|
||||||
};
|
};
|
||||||
|
|
||||||
var DefaultType = {
|
var DefaultType = {
|
||||||
placement: 'string',
|
|
||||||
offset: '(number|string)',
|
offset: '(number|string)',
|
||||||
flip: 'boolean'
|
flip: 'boolean'
|
||||||
|
|
||||||
/**
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
* Class Definition
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
* Class Definition
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
var Dropdown = function () {
|
var Dropdown = function () {
|
||||||
function Dropdown(element, config) {
|
function Dropdown(element, config) {
|
||||||
classCallCheck(this, Dropdown);
|
classCallCheck(this, Dropdown);
|
||||||
@ -1620,11 +1619,6 @@ var Dropdown = function () {
|
|||||||
};
|
};
|
||||||
|
|
||||||
Dropdown.prototype._getConfig = function _getConfig(config) {
|
Dropdown.prototype._getConfig = function _getConfig(config) {
|
||||||
var elementData = $(this._element).data();
|
|
||||||
if (typeof elementData.placement !== 'undefined') {
|
|
||||||
elementData.placement = AttachmentMap[elementData.placement.toUpperCase()];
|
|
||||||
}
|
|
||||||
|
|
||||||
config = $.extend({}, this.constructor.Default, $(this._element).data(), config);
|
config = $.extend({}, this.constructor.Default, $(this._element).data(), config);
|
||||||
|
|
||||||
Util.typeCheckConfig(NAME, config, this.constructor.DefaultType);
|
Util.typeCheckConfig(NAME, config, this.constructor.DefaultType);
|
||||||
@ -1642,10 +1636,10 @@ var Dropdown = function () {
|
|||||||
|
|
||||||
Dropdown.prototype._getPlacement = function _getPlacement() {
|
Dropdown.prototype._getPlacement = function _getPlacement() {
|
||||||
var $parentDropdown = $(this._element).parent();
|
var $parentDropdown = $(this._element).parent();
|
||||||
var placement = this._config.placement;
|
var placement = AttachmentMap.BOTTOM;
|
||||||
|
|
||||||
// Handle dropup
|
// Handle dropup
|
||||||
if ($parentDropdown.hasClass(ClassName.DROPUP) || this._config.placement === AttachmentMap.TOP) {
|
if ($parentDropdown.hasClass(ClassName.DROPUP)) {
|
||||||
placement = AttachmentMap.TOP;
|
placement = AttachmentMap.TOP;
|
||||||
if ($(this._menu).hasClass(ClassName.MENURIGHT)) {
|
if ($(this._menu).hasClass(ClassName.MENURIGHT)) {
|
||||||
placement = AttachmentMap.TOPEND;
|
placement = AttachmentMap.TOPEND;
|
||||||
@ -1671,9 +1665,10 @@ var Dropdown = function () {
|
|||||||
enabled: this._config.flip
|
enabled: this._config.flip
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
};
|
||||||
|
|
||||||
// Disable Popper.js for Dropdown in Navbar
|
// Disable Popper.js for Dropdown in Navbar
|
||||||
};if (this._inNavbar) {
|
if (this._inNavbar) {
|
||||||
popperConfig.modifiers.applyStyle = {
|
popperConfig.modifiers.applyStyle = {
|
||||||
enabled: !this._inNavbar
|
enabled: !this._inNavbar
|
||||||
};
|
};
|
||||||
@ -1926,14 +1921,14 @@ var Modal = function () {
|
|||||||
FIXED_CONTENT: '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top',
|
FIXED_CONTENT: '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top',
|
||||||
STICKY_CONTENT: '.sticky-top',
|
STICKY_CONTENT: '.sticky-top',
|
||||||
NAVBAR_TOGGLER: '.navbar-toggler'
|
NAVBAR_TOGGLER: '.navbar-toggler'
|
||||||
|
|
||||||
/**
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
* Class Definition
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
* Class Definition
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
var Modal = function () {
|
var Modal = function () {
|
||||||
function Modal(element, config) {
|
function Modal(element, config) {
|
||||||
classCallCheck(this, Modal);
|
classCallCheck(this, Modal);
|
||||||
@ -2541,14 +2536,14 @@ var Tooltip = function () {
|
|||||||
FOCUS: 'focus',
|
FOCUS: 'focus',
|
||||||
CLICK: 'click',
|
CLICK: 'click',
|
||||||
MANUAL: 'manual'
|
MANUAL: 'manual'
|
||||||
|
|
||||||
/**
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
* Class Definition
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
* Class Definition
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
var Tooltip = function () {
|
var Tooltip = function () {
|
||||||
function Tooltip(element, config) {
|
function Tooltip(element, config) {
|
||||||
classCallCheck(this, Tooltip);
|
classCallCheck(this, Tooltip);
|
||||||
@ -3172,14 +3167,14 @@ var Popover = function () {
|
|||||||
FOCUSOUT: 'focusout' + EVENT_KEY,
|
FOCUSOUT: 'focusout' + EVENT_KEY,
|
||||||
MOUSEENTER: 'mouseenter' + EVENT_KEY,
|
MOUSEENTER: 'mouseenter' + EVENT_KEY,
|
||||||
MOUSELEAVE: 'mouseleave' + EVENT_KEY
|
MOUSELEAVE: 'mouseleave' + EVENT_KEY
|
||||||
|
|
||||||
/**
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
* Class Definition
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
* Class Definition
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
var Popover = function (_Tooltip) {
|
var Popover = function (_Tooltip) {
|
||||||
inherits(Popover, _Tooltip);
|
inherits(Popover, _Tooltip);
|
||||||
|
|
||||||
@ -3371,14 +3366,14 @@ var ScrollSpy = function () {
|
|||||||
var OffsetMethod = {
|
var OffsetMethod = {
|
||||||
OFFSET: 'offset',
|
OFFSET: 'offset',
|
||||||
POSITION: 'position'
|
POSITION: 'position'
|
||||||
|
|
||||||
/**
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
* Class Definition
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
* Class Definition
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
var ScrollSpy = function () {
|
var ScrollSpy = function () {
|
||||||
function ScrollSpy(element, config) {
|
function ScrollSpy(element, config) {
|
||||||
var _this = this;
|
var _this = this;
|
||||||
@ -3672,14 +3667,14 @@ var Tab = function () {
|
|||||||
DATA_TOGGLE: '[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',
|
DATA_TOGGLE: '[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',
|
||||||
DROPDOWN_TOGGLE: '.dropdown-toggle',
|
DROPDOWN_TOGGLE: '.dropdown-toggle',
|
||||||
DROPDOWN_ACTIVE_CHILD: '> .dropdown-menu .active'
|
DROPDOWN_ACTIVE_CHILD: '> .dropdown-menu .active'
|
||||||
|
|
||||||
/**
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
* Class Definition
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
* Class Definition
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
var Tab = function () {
|
var Tab = function () {
|
||||||
function Tab(element) {
|
function Tab(element) {
|
||||||
classCallCheck(this, Tab);
|
classCallCheck(this, Tab);
|
||||||
|
2
dist/js/bootstrap.min.js
vendored
2
dist/js/bootstrap.min.js
vendored
File diff suppressed because one or more lines are too long
14
js/dist/alert.js
vendored
14
js/dist/alert.js
vendored
@ -41,14 +41,14 @@ var Alert = function () {
|
|||||||
ALERT: 'alert',
|
ALERT: 'alert',
|
||||||
FADE: 'fade',
|
FADE: 'fade',
|
||||||
SHOW: 'show'
|
SHOW: 'show'
|
||||||
|
|
||||||
/**
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
* Class Definition
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
* Class Definition
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
var Alert = function () {
|
var Alert = function () {
|
||||||
function Alert(element) {
|
function Alert(element) {
|
||||||
_classCallCheck(this, Alert);
|
_classCallCheck(this, Alert);
|
||||||
|
2
js/dist/alert.js.map
vendored
2
js/dist/alert.js.map
vendored
File diff suppressed because one or more lines are too long
14
js/dist/button.js
vendored
14
js/dist/button.js
vendored
@ -43,14 +43,14 @@ var Button = function () {
|
|||||||
var Event = {
|
var Event = {
|
||||||
CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY,
|
CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY,
|
||||||
FOCUS_BLUR_DATA_API: 'focus' + EVENT_KEY + DATA_API_KEY + ' ' + ('blur' + EVENT_KEY + DATA_API_KEY)
|
FOCUS_BLUR_DATA_API: 'focus' + EVENT_KEY + DATA_API_KEY + ' ' + ('blur' + EVENT_KEY + DATA_API_KEY)
|
||||||
|
|
||||||
/**
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
* Class Definition
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
* Class Definition
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
var Button = function () {
|
var Button = function () {
|
||||||
function Button(element) {
|
function Button(element) {
|
||||||
_classCallCheck(this, Button);
|
_classCallCheck(this, Button);
|
||||||
|
2
js/dist/button.js.map
vendored
2
js/dist/button.js.map
vendored
File diff suppressed because one or more lines are too long
14
js/dist/carousel.js
vendored
14
js/dist/carousel.js
vendored
@ -85,14 +85,14 @@ var Carousel = function () {
|
|||||||
INDICATORS: '.carousel-indicators',
|
INDICATORS: '.carousel-indicators',
|
||||||
DATA_SLIDE: '[data-slide], [data-slide-to]',
|
DATA_SLIDE: '[data-slide], [data-slide-to]',
|
||||||
DATA_RIDE: '[data-ride="carousel"]'
|
DATA_RIDE: '[data-ride="carousel"]'
|
||||||
|
|
||||||
/**
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
* Class Definition
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
* Class Definition
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
var Carousel = function () {
|
var Carousel = function () {
|
||||||
function Carousel(element, config) {
|
function Carousel(element, config) {
|
||||||
_classCallCheck(this, Carousel);
|
_classCallCheck(this, Carousel);
|
||||||
|
2
js/dist/carousel.js.map
vendored
2
js/dist/carousel.js.map
vendored
File diff suppressed because one or more lines are too long
14
js/dist/collapse.js
vendored
14
js/dist/collapse.js
vendored
@ -62,14 +62,14 @@ var Collapse = function () {
|
|||||||
var Selector = {
|
var Selector = {
|
||||||
ACTIVES: '.show, .collapsing',
|
ACTIVES: '.show, .collapsing',
|
||||||
DATA_TOGGLE: '[data-toggle="collapse"]'
|
DATA_TOGGLE: '[data-toggle="collapse"]'
|
||||||
|
|
||||||
/**
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
* Class Definition
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
* Class Definition
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
var Collapse = function () {
|
var Collapse = function () {
|
||||||
function Collapse(element, config) {
|
function Collapse(element, config) {
|
||||||
_classCallCheck(this, Collapse);
|
_classCallCheck(this, Collapse);
|
||||||
|
2
js/dist/collapse.js.map
vendored
2
js/dist/collapse.js.map
vendored
File diff suppressed because one or more lines are too long
30
js/dist/dropdown.js
vendored
30
js/dist/dropdown.js
vendored
@ -78,23 +78,21 @@ var Dropdown = function () {
|
|||||||
};
|
};
|
||||||
|
|
||||||
var Default = {
|
var Default = {
|
||||||
placement: AttachmentMap.BOTTOM,
|
|
||||||
offset: 0,
|
offset: 0,
|
||||||
flip: true
|
flip: true
|
||||||
};
|
};
|
||||||
|
|
||||||
var DefaultType = {
|
var DefaultType = {
|
||||||
placement: 'string',
|
|
||||||
offset: '(number|string)',
|
offset: '(number|string)',
|
||||||
flip: 'boolean'
|
flip: 'boolean'
|
||||||
|
|
||||||
/**
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
* Class Definition
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
* Class Definition
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
var Dropdown = function () {
|
var Dropdown = function () {
|
||||||
function Dropdown(element, config) {
|
function Dropdown(element, config) {
|
||||||
_classCallCheck(this, Dropdown);
|
_classCallCheck(this, Dropdown);
|
||||||
@ -201,11 +199,6 @@ var Dropdown = function () {
|
|||||||
}, {
|
}, {
|
||||||
key: '_getConfig',
|
key: '_getConfig',
|
||||||
value: function _getConfig(config) {
|
value: function _getConfig(config) {
|
||||||
var elementData = $(this._element).data();
|
|
||||||
if (typeof elementData.placement !== 'undefined') {
|
|
||||||
elementData.placement = AttachmentMap[elementData.placement.toUpperCase()];
|
|
||||||
}
|
|
||||||
|
|
||||||
config = $.extend({}, this.constructor.Default, $(this._element).data(), config);
|
config = $.extend({}, this.constructor.Default, $(this._element).data(), config);
|
||||||
|
|
||||||
Util.typeCheckConfig(NAME, config, this.constructor.DefaultType);
|
Util.typeCheckConfig(NAME, config, this.constructor.DefaultType);
|
||||||
@ -225,10 +218,10 @@ var Dropdown = function () {
|
|||||||
key: '_getPlacement',
|
key: '_getPlacement',
|
||||||
value: function _getPlacement() {
|
value: function _getPlacement() {
|
||||||
var $parentDropdown = $(this._element).parent();
|
var $parentDropdown = $(this._element).parent();
|
||||||
var placement = this._config.placement;
|
var placement = AttachmentMap.BOTTOM;
|
||||||
|
|
||||||
// Handle dropup
|
// Handle dropup
|
||||||
if ($parentDropdown.hasClass(ClassName.DROPUP) || this._config.placement === AttachmentMap.TOP) {
|
if ($parentDropdown.hasClass(ClassName.DROPUP)) {
|
||||||
placement = AttachmentMap.TOP;
|
placement = AttachmentMap.TOP;
|
||||||
if ($(this._menu).hasClass(ClassName.MENURIGHT)) {
|
if ($(this._menu).hasClass(ClassName.MENURIGHT)) {
|
||||||
placement = AttachmentMap.TOPEND;
|
placement = AttachmentMap.TOPEND;
|
||||||
@ -256,9 +249,10 @@ var Dropdown = function () {
|
|||||||
enabled: this._config.flip
|
enabled: this._config.flip
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
};
|
||||||
|
|
||||||
// Disable Popper.js for Dropdown in Navbar
|
// Disable Popper.js for Dropdown in Navbar
|
||||||
};if (this._inNavbar) {
|
if (this._inNavbar) {
|
||||||
popperConfig.modifiers.applyStyle = {
|
popperConfig.modifiers.applyStyle = {
|
||||||
enabled: !this._inNavbar
|
enabled: !this._inNavbar
|
||||||
};
|
};
|
||||||
|
2
js/dist/dropdown.js.map
vendored
2
js/dist/dropdown.js.map
vendored
File diff suppressed because one or more lines are too long
14
js/dist/modal.js
vendored
14
js/dist/modal.js
vendored
@ -74,14 +74,14 @@ var Modal = function () {
|
|||||||
FIXED_CONTENT: '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top',
|
FIXED_CONTENT: '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top',
|
||||||
STICKY_CONTENT: '.sticky-top',
|
STICKY_CONTENT: '.sticky-top',
|
||||||
NAVBAR_TOGGLER: '.navbar-toggler'
|
NAVBAR_TOGGLER: '.navbar-toggler'
|
||||||
|
|
||||||
/**
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
* Class Definition
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
* Class Definition
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
var Modal = function () {
|
var Modal = function () {
|
||||||
function Modal(element, config) {
|
function Modal(element, config) {
|
||||||
_classCallCheck(this, Modal);
|
_classCallCheck(this, Modal);
|
||||||
|
2
js/dist/modal.js.map
vendored
2
js/dist/modal.js.map
vendored
File diff suppressed because one or more lines are too long
14
js/dist/popover.js
vendored
14
js/dist/popover.js
vendored
@ -65,14 +65,14 @@ var Popover = function () {
|
|||||||
FOCUSOUT: 'focusout' + EVENT_KEY,
|
FOCUSOUT: 'focusout' + EVENT_KEY,
|
||||||
MOUSEENTER: 'mouseenter' + EVENT_KEY,
|
MOUSEENTER: 'mouseenter' + EVENT_KEY,
|
||||||
MOUSELEAVE: 'mouseleave' + EVENT_KEY
|
MOUSELEAVE: 'mouseleave' + EVENT_KEY
|
||||||
|
|
||||||
/**
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
* Class Definition
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
* Class Definition
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
var Popover = function (_Tooltip) {
|
var Popover = function (_Tooltip) {
|
||||||
_inherits(Popover, _Tooltip);
|
_inherits(Popover, _Tooltip);
|
||||||
|
|
||||||
|
2
js/dist/popover.js.map
vendored
2
js/dist/popover.js.map
vendored
File diff suppressed because one or more lines are too long
14
js/dist/scrollspy.js
vendored
14
js/dist/scrollspy.js
vendored
@ -66,14 +66,14 @@ var ScrollSpy = function () {
|
|||||||
var OffsetMethod = {
|
var OffsetMethod = {
|
||||||
OFFSET: 'offset',
|
OFFSET: 'offset',
|
||||||
POSITION: 'position'
|
POSITION: 'position'
|
||||||
|
|
||||||
/**
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
* Class Definition
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
* Class Definition
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
var ScrollSpy = function () {
|
var ScrollSpy = function () {
|
||||||
function ScrollSpy(element, config) {
|
function ScrollSpy(element, config) {
|
||||||
var _this = this;
|
var _this = this;
|
||||||
|
2
js/dist/scrollspy.js.map
vendored
2
js/dist/scrollspy.js.map
vendored
File diff suppressed because one or more lines are too long
14
js/dist/tab.js
vendored
14
js/dist/tab.js
vendored
@ -51,14 +51,14 @@ var Tab = function () {
|
|||||||
DATA_TOGGLE: '[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',
|
DATA_TOGGLE: '[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',
|
||||||
DROPDOWN_TOGGLE: '.dropdown-toggle',
|
DROPDOWN_TOGGLE: '.dropdown-toggle',
|
||||||
DROPDOWN_ACTIVE_CHILD: '> .dropdown-menu .active'
|
DROPDOWN_ACTIVE_CHILD: '> .dropdown-menu .active'
|
||||||
|
|
||||||
/**
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
* Class Definition
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
* Class Definition
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
var Tab = function () {
|
var Tab = function () {
|
||||||
function Tab(element) {
|
function Tab(element) {
|
||||||
_classCallCheck(this, Tab);
|
_classCallCheck(this, Tab);
|
||||||
|
2
js/dist/tab.js.map
vendored
2
js/dist/tab.js.map
vendored
File diff suppressed because one or more lines are too long
14
js/dist/tooltip.js
vendored
14
js/dist/tooltip.js
vendored
@ -108,14 +108,14 @@ var Tooltip = function () {
|
|||||||
FOCUS: 'focus',
|
FOCUS: 'focus',
|
||||||
CLICK: 'click',
|
CLICK: 'click',
|
||||||
MANUAL: 'manual'
|
MANUAL: 'manual'
|
||||||
|
|
||||||
/**
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
* Class Definition
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
* Class Definition
|
||||||
|
* ------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
var Tooltip = function () {
|
var Tooltip = function () {
|
||||||
function Tooltip(element, config) {
|
function Tooltip(element, config) {
|
||||||
_classCallCheck(this, Tooltip);
|
_classCallCheck(this, Tooltip);
|
||||||
|
2
js/dist/tooltip.js.map
vendored
2
js/dist/tooltip.js.map
vendored
File diff suppressed because one or more lines are too long
5
js/dist/util.js
vendored
5
js/dist/util.js
vendored
@ -24,9 +24,10 @@ var Util = function () {
|
|||||||
MozTransition: 'transitionend',
|
MozTransition: 'transitionend',
|
||||||
OTransition: 'oTransitionEnd otransitionend',
|
OTransition: 'oTransitionEnd otransitionend',
|
||||||
transition: 'transitionend'
|
transition: 'transitionend'
|
||||||
|
};
|
||||||
|
|
||||||
// shoutout AngusCroll (https://goo.gl/pxwQGp)
|
// shoutout AngusCroll (https://goo.gl/pxwQGp)
|
||||||
};function toType(obj) {
|
function toType(obj) {
|
||||||
return {}.toString.call(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase();
|
return {}.toString.call(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2
js/dist/util.js.map
vendored
2
js/dist/util.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user