mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-11-28 11:04:08 +01:00
Drop Events mixin by extending L.Evented so that deprecated warning is not visible anymore in browser console.
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user