bootstrap-slider-rails 9.1.1 → 9.1.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab1a2792ceb6428d530b5337f456393ea626fd8f
|
4
|
+
data.tar.gz: 5d63d886ce4f22ed3faceec1480c72934fad3157
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52eec65890c1d1ae1dbe18ad091f5047f3ab30f4baa83c60f268d37d904df369d467259f3c55ba5f3c93b4358834d5a54b2c19298e3751863585362c8a3822a5
|
7
|
+
data.tar.gz: 58d546eb5943b8ae90c28cdc191086de5e0da4ccb510bd3eada094dd0ec43f0a2cd187b4817187a847398fa3ac8001373227fb8a4248228f4bc53c3410bb54e6
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/*! =======================================================
|
2
|
-
VERSION 9.1.
|
2
|
+
VERSION 9.1.2
|
3
3
|
========================================================= */
|
4
4
|
"use strict";
|
5
5
|
|
6
|
-
function
|
6
|
+
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
|
7
7
|
|
8
8
|
/*! =========================================================
|
9
9
|
* bootstrap-slider.js
|
@@ -309,7 +309,7 @@ function _typeof(obj) { return obj && typeof Symbol !== "undefined" && obj.const
|
|
309
309
|
/*************************************************
|
310
310
|
CONSTRUCTOR
|
311
311
|
**************************************************/
|
312
|
-
Slider = function (element, options) {
|
312
|
+
Slider = function Slider(element, options) {
|
313
313
|
createNewSlider.call(this, element, options);
|
314
314
|
return this;
|
315
315
|
};
|
@@ -1595,20 +1595,20 @@ function _typeof(obj) { return obj && typeof Symbol !== "undefined" && obj.const
|
|
1595
1595
|
if (this.options.orientation === 'vertical') {
|
1596
1596
|
var tooltipPos = this.options.tooltip_position || 'right';
|
1597
1597
|
var oppositeSide = tooltipPos === 'left' ? 'right' : 'left';
|
1598
|
-
tooltips.forEach(
|
1598
|
+
tooltips.forEach(function (tooltip) {
|
1599
1599
|
this._addClass(tooltip, tooltipPos);
|
1600
1600
|
tooltip.style[oppositeSide] = '100%';
|
1601
|
-
}
|
1601
|
+
}.bind(this));
|
1602
1602
|
} else if (this.options.tooltip_position === 'bottom') {
|
1603
|
-
tooltips.forEach(
|
1603
|
+
tooltips.forEach(function (tooltip) {
|
1604
1604
|
this._addClass(tooltip, 'bottom');
|
1605
1605
|
tooltip.style.top = 22 + 'px';
|
1606
|
-
}
|
1606
|
+
}.bind(this));
|
1607
1607
|
} else {
|
1608
|
-
tooltips.forEach(
|
1608
|
+
tooltips.forEach(function (tooltip) {
|
1609
1609
|
this._addClass(tooltip, 'top');
|
1610
1610
|
tooltip.style.top = -this.tooltip.outerHeight - 14 + 'px';
|
1611
|
-
}
|
1611
|
+
}.bind(this));
|
1612
1612
|
}
|
1613
1613
|
}
|
1614
1614
|
};
|
@@ -1618,7 +1618,7 @@ function _typeof(obj) { return obj && typeof Symbol !== "undefined" && obj.const
|
|
1618
1618
|
*********************************/
|
1619
1619
|
if ($) {
|
1620
1620
|
(function () {
|
1621
|
-
var autoRegisterNamespace =
|
1621
|
+
var autoRegisterNamespace = void 0;
|
1622
1622
|
|
1623
1623
|
if (!$.fn.slider) {
|
1624
1624
|
$.bridget(NAMESPACE_MAIN, Slider);
|