From b1df87d5a0a89092c4d27d6e43f00478af50a385 Mon Sep 17 00:00:00 2001 From: Tom MacWright Date: Wed, 17 Oct 2012 17:09:05 -0400 Subject: [PATCH] Remove straggling dojo dependency in Node --- js/iD/Node.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/iD/Node.js b/js/iD/Node.js index 7f89c78cf..3d379a001 100644 --- a/js/iD/Node.js +++ b/js/iD/Node.js @@ -52,12 +52,12 @@ iD.Node.prototype = { this.connection.refreshEntity(this); }, - doSetLonLatp: function(lon,latproj,performAction) { + doSetLonLatp: function(lon, latproj, performAction) { // summary: Change the position of a node, using an undo stack. performAction(new iD.actions.MoveNodeAction(this, this.latp2lat(latproj), lon, - lang.hitch(this,this._setLatLonImmediate))); + _.bind(this._setLatLonImmediate, this))); }, _setLatLonImmediate: function(lat,lon) {