leaflet-rails 1.9.0 → 1.9.1
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0178b7d4357cc97c5af07f4ae43f899e3da14f4d8dc747b8d4a702a1ee43314
|
4
|
+
data.tar.gz: 17ea21b9588e6cd79d951441c8b8b2b996d64d7ee6d76e68ff0634953b6926f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04d32af1780875c9aeae337d0f79cb17cda8cf5dd67119b8177336bc61d0ac31bf073018ab7c098ca43f5237fa2e996fe2c041c628e54ccad729707618aa0fd4
|
7
|
+
data.tar.gz: 9466102081b88430a8ac5dfee0f5d52ffc18e14e248f575dbc346966951056d88762978a84a01c119fd1eebb6b54d39e03fe05d991f40d26d0afa5ec46e0a0ed
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* @preserve
|
2
|
-
* Leaflet 1.9.
|
2
|
+
* Leaflet 1.9.1, a JS library for interactive maps. https://leafletjs.com
|
3
3
|
* (c) 2010-2022 Vladimir Agafonkin, (c) 2010-2011 CloudMade
|
4
4
|
*/
|
5
5
|
|
@@ -9,7 +9,7 @@
|
|
9
9
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.leaflet = {}));
|
10
10
|
})(this, (function (exports) { 'use strict';
|
11
11
|
|
12
|
-
var version = "1.9.
|
12
|
+
var version = "1.9.1";
|
13
13
|
|
14
14
|
/*
|
15
15
|
* @namespace Util
|
@@ -626,15 +626,17 @@
|
|
626
626
|
console.warn('"string" type argument expected');
|
627
627
|
}
|
628
628
|
|
629
|
+
// we don't overwrite the input `fn` value, because we need to use it for propagation
|
630
|
+
var _fn = fn;
|
629
631
|
if (typeof fn !== 'function') {
|
630
632
|
propagate = !!fn;
|
631
|
-
|
633
|
+
_fn = undefined;
|
632
634
|
context = undefined;
|
633
635
|
}
|
634
636
|
|
635
637
|
var listeners = this._events && this._events[type];
|
636
638
|
if (listeners && listeners.length) {
|
637
|
-
if (this._listens(type,
|
639
|
+
if (this._listens(type, _fn, context) !== false) {
|
638
640
|
return true;
|
639
641
|
}
|
640
642
|
}
|