bootstrap-slider-rails 6.0.5 → 6.0.6

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: 89339a909de0a4dcfedd50c03b6b3ee6411a7d4c
4
- data.tar.gz: f8abad9fa6692b0a681e9e6fac47aa379df638fb
3
+ metadata.gz: 15112c2ca56853559b79efaa6d4ab409705ed14b
4
+ data.tar.gz: 299cd20ef4952244ec6faf3c2ffd2c6ad1a0f429
5
5
  SHA512:
6
- metadata.gz: ee0b58bae585f04db64478f6b07340ad1ef66e95f71f257b3289971e572bd35ae6d75be1d0c647a6b3389cfeee328b29e53d03330226b7eefd5efa3794e9dcc5
7
- data.tar.gz: d75bf84c32245c48b2e2fa79c6f2736c647f0bd6cde6e094e45d9b8309326cb8906678bc51a06eaff589934a80257ed73699365ca5969ebb00ec68831948b3fe
6
+ metadata.gz: e7c10dff88fee5b835fe0d7a588cacbd0e3d665b75973232e9bf265d06e916d8ca63de263a1a3410c982ddbb06fa68a6a0872770c69734138461ffdef2f57323
7
+ data.tar.gz: 902ccc94db8306ff1bc206af74fe78d5d57accf65ea583d53e8d1dc859a4abc79179f29bb120c0bd22da16143889c4b823afe3d9aaa2cf22dbb515b70413ceed
@@ -1,5 +1,5 @@
1
1
  module BootstrapSlider
2
2
  module Rails
3
- VERSION = '6.0.5'
3
+ VERSION = '6.0.6'
4
4
  end
5
5
  end
@@ -1,9 +1,9 @@
1
1
  /*! =======================================================
2
- VERSION 6.0.4
2
+ VERSION 6.0.6
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
@@ -294,7 +294,7 @@ function _typeof(obj) { return obj && typeof Symbol !== "undefined" && obj.const
294
294
  /*************************************************
295
295
  CONSTRUCTOR
296
296
  **************************************************/
297
- Slider = function (element, options) {
297
+ Slider = function Slider(element, options) {
298
298
  createNewSlider.call(this, element, options);
299
299
  return this;
300
300
  };
@@ -1517,20 +1517,20 @@ function _typeof(obj) { return obj && typeof Symbol !== "undefined" && obj.const
1517
1517
  if (this.options.orientation === 'vertical') {
1518
1518
  var tooltipPos = this.options.tooltip_position || 'right';
1519
1519
  var oppositeSide = tooltipPos === 'left' ? 'right' : 'left';
1520
- tooltips.forEach((function (tooltip) {
1520
+ tooltips.forEach(function (tooltip) {
1521
1521
  this._addClass(tooltip, tooltipPos);
1522
1522
  tooltip.style[oppositeSide] = '100%';
1523
- }).bind(this));
1523
+ }.bind(this));
1524
1524
  } else if (this.options.tooltip_position === 'bottom') {
1525
- tooltips.forEach((function (tooltip) {
1525
+ tooltips.forEach(function (tooltip) {
1526
1526
  this._addClass(tooltip, 'bottom');
1527
1527
  tooltip.style.top = 22 + 'px';
1528
- }).bind(this));
1528
+ }.bind(this));
1529
1529
  } else {
1530
- tooltips.forEach((function (tooltip) {
1530
+ tooltips.forEach(function (tooltip) {
1531
1531
  this._addClass(tooltip, 'top');
1532
1532
  tooltip.style.top = -this.tooltip.outerHeight - 14 + 'px';
1533
- }).bind(this));
1533
+ }.bind(this));
1534
1534
  }
1535
1535
  }
1536
1536
  };
@@ -1,5 +1,5 @@
1
1
  /*! =======================================================
2
- VERSION 6.0.4
2
+ VERSION 6.0.6
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: 6.0.5
4
+ version: 6.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pedr Browne