d3 style and extra semicolon

This commit is contained in:
Tom MacWright
2012-12-03 09:44:14 -05:00
parent fbf03afb43
commit 7c7f64f41a

View File

@@ -81,7 +81,7 @@ iD.Map = function() {
map.size(this.size());
hideInspector();
};
}
map.history = iD.History();
@@ -257,8 +257,9 @@ iD.Map = function() {
.classed('active', classActive);
}
map.size = function(size) {
dimensions = size;
map.size = function(_) {
if (!arguments.length) return dimensions;
dimensions = _;
surface
.size(dimensions)