mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-21 15:56:56 +02:00
Remove dojo array dependence in Node
This commit is contained in:
+2
-3
@@ -34,9 +34,8 @@ iD.Node.prototype = {
|
||||
},
|
||||
|
||||
refresh: function() {
|
||||
var ways= this.parentWays();
|
||||
var conn= this.connection;
|
||||
array.forEach(ways,function(way) { conn.refreshEntity(way); });
|
||||
var ways = this.parentWays();
|
||||
_.each(ways, _.bind(function(way) { this.connection.refreshEntity(way); }, this));
|
||||
this.connection.refreshEntity(this);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user