Replace L.Mixin.Events with L.Evented (#103)
This commit is contained in:
parent
2fe7defe1c
commit
20ddb88562
4 changed files with 4 additions and 8 deletions
|
|
@ -1,4 +1,4 @@
|
|||
BR.Profile = L.Class.extend({
|
||||
BR.Profile = L.Evented.extend({
|
||||
cache: {},
|
||||
|
||||
initialize: function () {
|
||||
|
|
@ -73,5 +73,3 @@ BR.Profile = L.Class.extend({
|
|||
});
|
||||
}
|
||||
});
|
||||
|
||||
BR.Profile.include(L.Mixin.Events);
|
||||
|
|
|
|||
|
|
@ -100,4 +100,4 @@ BR.RoutingOptions = BR.Control.extend({
|
|||
}
|
||||
});
|
||||
|
||||
BR.RoutingOptions.include(L.Mixin.Events);
|
||||
BR.RoutingOptions.include(L.Evented.prototype);
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
BR.TrackMessages = L.Class.extend({
|
||||
BR.TrackMessages = L.Evented.extend({
|
||||
|
||||
options: {
|
||||
heading: 'Segment data',
|
||||
|
|
@ -193,5 +193,3 @@ BR.TrackMessages = L.Class.extend({
|
|||
this._selectedEdge = null;
|
||||
}
|
||||
});
|
||||
|
||||
BR.TrackMessages.include(L.Mixin.Events);
|
||||
|
|
|
|||
|
|
@ -151,7 +151,7 @@ BR.NogoAreas = L.Control.extend({
|
|||
}
|
||||
});
|
||||
|
||||
BR.NogoAreas.include(L.Mixin.Events);
|
||||
BR.NogoAreas.include(L.Evented.prototype);
|
||||
|
||||
|
||||
L.Editable.prototype.createVertexIcon = function (options) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue