mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-14 21:28:11 +02:00
Removing unused arguments
This commit is contained in:
@@ -240,7 +240,7 @@ iD.History = function(context) {
|
||||
context.storage(getKey('nextIDs', null));
|
||||
context.storage(getKey('index', null));
|
||||
|
||||
stack = JSON.parse(json).map(function(d, i) {
|
||||
stack = JSON.parse(json).map(function(d) {
|
||||
d.graph = iD.Graph(stack[0].graph).load(d.entities);
|
||||
return d;
|
||||
});
|
||||
|
||||
@@ -50,7 +50,7 @@ iD.taginfo = function() {
|
||||
return function(d) { return parseFloat(d[pop_field]) > 10000; };
|
||||
}
|
||||
|
||||
function popularValues(parameters) {
|
||||
function popularValues() {
|
||||
return function(d) { return parseFloat(d.fraction) > 0.01; };
|
||||
}
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ iD.ui.Inspector = function(context) {
|
||||
selection.call(iD.ui.Toggle(true));
|
||||
}
|
||||
|
||||
inspector.tags = function(tags) {
|
||||
inspector.tags = function() {
|
||||
if (!arguments.length) {
|
||||
return tagEditor.tags();
|
||||
} else {
|
||||
|
||||
+1
-1
@@ -49,7 +49,7 @@ iD.ui.Lasso = function() {
|
||||
return lasso;
|
||||
};
|
||||
|
||||
lasso.close = function(selection) {
|
||||
lasso.close = function() {
|
||||
if (group) {
|
||||
group.call(iD.ui.Toggle(false, function() {
|
||||
d3.select(this).remove();
|
||||
|
||||
Reference in New Issue
Block a user