Remove include of Mixin.Events
authorTom Hughes <tom@compton.nu>
Sun, 27 May 2018 19:33:54 +0000 (20:33 +0100)
committerTom Hughes <tom@compton.nu>
Sun, 27 May 2018 19:33:54 +0000 (20:33 +0100)
The Events mixin has been replaced by inherting from Evented and
the Layer class already inherits from that.

vendor/assets/leaflet/leaflet.locationfilter.js

index 0a977ed..64ca347 100644 (file)
@@ -91,8 +91,6 @@ L.Control.ButtonContainer = L.Control.extend({
 });
 
 L.LocationFilter = L.Layer.extend({
 });
 
 L.LocationFilter = L.Layer.extend({
-    includes: L.Mixin.Events,
-
     options: {
         enableButton: {
             enableText: "Select area",
     options: {
         enableButton: {
             enableText: "Select area",