fix for the failures under safari/webkit

This commit is contained in:
Guillaume Carbonneau
2014-10-08 12:03:22 -04:00
parent 91699bb142
commit 96fa48faad

View File

@@ -11,7 +11,7 @@ iD.geo.Extent = function geoExtent(min, max) {
}
};
iD.geo.Extent.prototype = [[], []];
iD.geo.Extent.prototype = new Array(2);
_.extend(iD.geo.Extent.prototype, {
extend: function(obj) {