update build again

This commit is contained in:
Vladimir Agafonkin 2013-03-28 11:11:46 +02:00
parent 547e9936f2
commit 28d047da74
2 changed files with 10 additions and 8 deletions

16
dist/leaflet-src.js vendored
View File

@ -7156,19 +7156,21 @@ L.Handler.MarkerDrag = L.Handler.extend({
addHooks: function () {
var icon = this._marker._icon;
if (!this._draggable) {
this._draggable = new L.Draggable(icon, icon)
.on('dragstart', this._onDragStart, this)
.on('drag', this._onDrag, this)
.on('dragend', this._onDragEnd, this);
this._draggable = new L.Draggable(icon, icon);
}
this._draggable
.on('dragstart', this._onDragStart, this)
.on('drag', this._onDrag, this)
.on('dragend', this._onDragEnd, this);
this._draggable.enable();
},
removeHooks: function () {
this._draggable
.off('dragstart', this._onDragStart)
.off('drag', this._onDrag)
.off('dragend', this._onDragEnd);
.off('dragstart', this._onDragStart)
.off('drag', this._onDrag)
.off('dragend', this._onDragEnd);
this._draggable.disable();
},

2
dist/leaflet.js vendored

File diff suppressed because one or more lines are too long