leaflet
Advanced tools
Comparing version 1.9.0 to 1.9.1
{ | ||
"name": "leaflet", | ||
"version": "1.9.0", | ||
"version": "1.9.1", | ||
"homepage": "https://leafletjs.com/", | ||
@@ -5,0 +5,0 @@ "description": "JavaScript library for mobile-friendly interactive maps", |
@@ -219,5 +219,7 @@ import {Class} from './Class'; | ||
// we don't overwrite the input `fn` value, because we need to use it for propagation | ||
var _fn = fn; | ||
if (typeof fn !== 'function') { | ||
propagate = !!fn; | ||
fn = undefined; | ||
_fn = undefined; | ||
context = undefined; | ||
@@ -228,3 +230,3 @@ } | ||
if (listeners && listeners.length) { | ||
if (this._listens(type, fn, context) !== false) { | ||
if (this._listens(type, _fn, context) !== false) { | ||
return true; | ||
@@ -231,0 +233,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
3713825
36912