Removing unused arguments

This commit is contained in:
Tom MacWright
2013-02-27 17:30:05 -05:00
parent 6d01e3e30e
commit ba45582e3c
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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;
});
+1 -1
View File
@@ -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; };
}
+1 -1
View File
@@ -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
View File
@@ -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();