bootstrap-slider-rails 9.1.2 → 9.1.3
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: 0dacade2e3a4496a65b3a18e718a434dcf8085e1
|
4
|
+
data.tar.gz: 42fc5a3cdf8926a19ec998223d202d4c6eb5002e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a57be6137d3910a88c3a1858edc03102d28321a96f9f01f185b82240ae89bb1c3016a66d227bcac3bdbc12bbd847415e81c83327f217731c70771f6adc0d9291
|
7
|
+
data.tar.gz: 2741806b1a3533ae6da244a5f8d65b9728250e6c11aa263d2c8cb83d1d837b80bcec676ff87400508924f154c79913c2b52f05298996d8729a5b82972e9a9e1c
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*! =======================================================
|
2
|
-
VERSION 9.1.
|
2
|
+
VERSION 9.1.3
|
3
3
|
========================================================= */
|
4
4
|
"use strict";
|
5
5
|
|
@@ -36,6 +36,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
36
36
|
* v1.0.1
|
37
37
|
* MIT license
|
38
38
|
*/
|
39
|
+
var windowIsDefined = (typeof window === "undefined" ? "undefined" : _typeof(window)) === "object";
|
39
40
|
|
40
41
|
(function (factory) {
|
41
42
|
if (typeof define === "function" && define.amd) {
|
@@ -57,13 +58,13 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
57
58
|
var NAMESPACE_ALTERNATE = 'bootstrapSlider';
|
58
59
|
|
59
60
|
// Polyfill console methods
|
60
|
-
if (!window.console) {
|
61
|
+
if (windowIsDefined && !window.console) {
|
61
62
|
window.console = {};
|
62
63
|
}
|
63
|
-
if (!window.console.log) {
|
64
|
+
if (windowIsDefined && !window.console.log) {
|
64
65
|
window.console.log = function () {};
|
65
66
|
}
|
66
|
-
if (!window.console.warn) {
|
67
|
+
if (windowIsDefined && !window.console.warn) {
|
67
68
|
window.console.warn = function () {};
|
68
69
|
}
|
69
70
|
|
@@ -1624,7 +1625,9 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
1624
1625
|
$.bridget(NAMESPACE_MAIN, Slider);
|
1625
1626
|
autoRegisterNamespace = NAMESPACE_MAIN;
|
1626
1627
|
} else {
|
1627
|
-
|
1628
|
+
if (windowIsDefined) {
|
1629
|
+
window.console.warn("bootstrap-slider.js - WARNING: $.fn.slider namespace is already bound. Use the $.fn.bootstrapSlider namespace instead.");
|
1630
|
+
}
|
1628
1631
|
autoRegisterNamespace = NAMESPACE_ALTERNATE;
|
1629
1632
|
}
|
1630
1633
|
$.bridget(NAMESPACE_ALTERNATE, Slider);
|