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

@@ -6,7 +6,7 @@ var concat = require('gulp-concat');
var paths = {
minified: 'contao-leaflet.js',
scripts: ['js/*.js'],
dest: 'src/Resources/public/js'
dest: 'src/Bundle/Resources/public/js'
};
gulp.task('clear', function() {

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.

File diff suppressed because one or more lines are too long