bootstrap-slider-rails 9.1.1 → 9.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 35c00d294e6f95c1eb1a00a7cac40221f0a15538
4
- data.tar.gz: aae8d7d8eafaeb65133673600ea31a310e491fc1
3
+ metadata.gz: ab1a2792ceb6428d530b5337f456393ea626fd8f
4
+ data.tar.gz: 5d63d886ce4f22ed3faceec1480c72934fad3157
5
5
  SHA512:
6
- metadata.gz: 3aaeba859c42adacd884425cea300701b3d47b33306bbd59f30ff30bcc8fcb6a05610c9b5e12e3e0f6ee5087a3fab625a2f38f99a77f28a8f5d828c5b3fd504f
7
- data.tar.gz: 9eccce5f4b1c295d8a074ae8c9e2fac11e8c10961a9e7443a534ef3aa61d8999fa2ab7ff5c4f59cc4d8c7f147eae7a8d415875d88f5912f56c738ce1b843be2b
6
+ metadata.gz: 52eec65890c1d1ae1dbe18ad091f5047f3ab30f4baa83c60f268d37d904df369d467259f3c55ba5f3c93b4358834d5a54b2c19298e3751863585362c8a3822a5
7
+ data.tar.gz: 58d546eb5943b8ae90c28cdc191086de5e0da4ccb510bd3eada094dd0ec43f0a2cd187b4817187a847398fa3ac8001373227fb8a4248228f4bc53c3410bb54e6
@@ -1,5 +1,5 @@
1
1
  module BootstrapSlider
2
2
  module Rails
3
- VERSION = '9.1.1'
3
+ VERSION = '9.1.2'
4
4
  end
5
5
  end
@@ -1,9 +1,9 @@
1
1
  /*! =======================================================
2
- VERSION 9.1.1
2
+ VERSION 9.1.2
3
3
  ========================================================= */
4
4
  "use strict";
5
5
 
6
- function _typeof(obj) { return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj; }
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((function (tooltip) {
1598
+ tooltips.forEach(function (tooltip) {
1599
1599
  this._addClass(tooltip, tooltipPos);
1600
1600
  tooltip.style[oppositeSide] = '100%';
1601
- }).bind(this));
1601
+ }.bind(this));
1602
1602
  } else if (this.options.tooltip_position === 'bottom') {
1603
- tooltips.forEach((function (tooltip) {
1603
+ tooltips.forEach(function (tooltip) {
1604
1604
  this._addClass(tooltip, 'bottom');
1605
1605
  tooltip.style.top = 22 + 'px';
1606
- }).bind(this));
1606
+ }.bind(this));
1607
1607
  } else {
1608
- tooltips.forEach((function (tooltip) {
1608
+ tooltips.forEach(function (tooltip) {
1609
1609
  this._addClass(tooltip, 'top');
1610
1610
  tooltip.style.top = -this.tooltip.outerHeight - 14 + 'px';
1611
- }).bind(this));
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 = undefined;
1621
+ var autoRegisterNamespace = void 0;
1622
1622
 
1623
1623
  if (!$.fn.slider) {
1624
1624
  $.bridget(NAMESPACE_MAIN, Slider);
@@ -1,5 +1,5 @@
1
1
  /*! =======================================================
2
- VERSION 9.1.1
2
+ VERSION 9.1.2
3
3
  ========================================================= */
4
4
  /*! =========================================================
5
5
  * bootstrap-slider.js
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap-slider-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.1.1
4
+ version: 9.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pedr Browne