jshint fixes, fix global leak

This commit is contained in:
Tom MacWright
2013-02-11 10:42:49 -05:00
parent 9b784cb76e
commit 38b327fefe
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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) {
+1 -1
View File
@@ -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
View File
@@ -41,6 +41,6 @@ iD.svg = {
}
});
return tags;
}
};
}
};
+1 -1
View File
@@ -21,5 +21,5 @@ iD.ui.SourceSwitch = function(context) {
.text(t('source_switch.live'))
.classed('live', true)
.on('click', click);
}
};
};