mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-20 23:44:47 +02:00
jshint fixes, fix global leak
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
iD.behavior.AddWay = function(context) {
|
||||
var event = d3.dispatch('start', 'startFromWay', 'startFromNode')
|
||||
var event = d3.dispatch('start', 'startFromWay', 'startFromNode'),
|
||||
draw = iD.behavior.Draw(context);
|
||||
|
||||
var addWay = function(surface) {
|
||||
|
||||
@@ -187,7 +187,7 @@ iD.History = function(context) {
|
||||
annotation: i.annotation,
|
||||
imagery_used: i.imagery_used,
|
||||
entities: i.graph.entities
|
||||
}
|
||||
};
|
||||
}));
|
||||
|
||||
context.storage(getKey('history'), json);
|
||||
|
||||
+1
-1
@@ -41,6 +41,6 @@ iD.svg = {
|
||||
}
|
||||
});
|
||||
return tags;
|
||||
}
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
@@ -21,5 +21,5 @@ iD.ui.SourceSwitch = function(context) {
|
||||
.text(t('source_switch.live'))
|
||||
.classed('live', true)
|
||||
.on('click', click);
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user