leaflet-rails 1.9.0 → 1.9.1

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
  SHA256:
3
- metadata.gz: f088f04cf25f8c4fdcdfc859573bdad7e658e035ca578eb99d7b8ac5cd959c68
4
- data.tar.gz: f2bc8b6178fbffcaa885e492c96aa172ac0a91c62c0d163a7779e423879071cc
3
+ metadata.gz: c0178b7d4357cc97c5af07f4ae43f899e3da14f4d8dc747b8d4a702a1ee43314
4
+ data.tar.gz: 17ea21b9588e6cd79d951441c8b8b2b996d64d7ee6d76e68ff0634953b6926f5
5
5
  SHA512:
6
- metadata.gz: 042e0aad23cea7ae5ae44a7cd8d664f38b875d8663811db7e181727e94e7df1f4ade3ed273945af29e551ac3d4e21c0d28b7d30af62aeffcdfb48141c528a6dd
7
- data.tar.gz: 5ed006f8b4f363e2d09b1d6aab976826e147a10b281322162e7c9d2b716038055263a99996d102fea7a8d267e37eefdd38f29c904184fe133cf624d3cf6d9555
6
+ metadata.gz: 04d32af1780875c9aeae337d0f79cb17cda8cf5dd67119b8177336bc61d0ac31bf073018ab7c098ca43f5237fa2e996fe2c041c628e54ccad729707618aa0fd4
7
+ data.tar.gz: 9466102081b88430a8ac5dfee0f5d52ffc18e14e248f575dbc346966951056d88762978a84a01c119fd1eebb6b54d39e03fe05d991f40d26d0afa5ec46e0a0ed
@@ -1,5 +1,5 @@
1
1
  module Leaflet
2
2
  module Rails
3
- VERSION = "1.9.0"
3
+ VERSION = "1.9.1"
4
4
  end
5
5
  end
@@ -1,5 +1,5 @@
1
1
  /* @preserve
2
- * Leaflet 1.9.0+main.a7e1bbc, a JS library for interactive maps. https://leafletjs.com
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.0+main.a7e1bbcb";
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
- fn = undefined;
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, fn, context) !== false) {
639
+ if (this._listens(type, _fn, context) !== false) {
638
640
  return true;
639
641
  }
640
642
  }