Drop Events mixin by extending L.Evented so that deprecated warning is not visible anymore in browser console.

This commit is contained in:
David Molineus
2017-10-11 15:24:20 +02:00
parent df541fe433
commit c374a2ce5d
3 changed files with 3 additions and 5 deletions

View File

@@ -3,9 +3,7 @@
*
* This class provides some helpers for loading layer data manages maps and map objects.
*/
L.Contao = L.Class.extend({
includes: L.Mixin.Events,
L.Contao = L.Evented.extend({
statics: {
/**
* Contao extension attribution.