Update notes

This commit is contained in:
Tom MacWright
2012-11-28 15:40:42 -05:00
parent e2a0607ce0
commit 171a96e90d
4 changed files with 10 additions and 13 deletions

View File

@@ -211,3 +211,9 @@ in Firefox but is in webkit so we need to use spaces.
And trailing spaces are not included in getComputedTextLength:
* https://bugzilla.mozilla.org/show_bug.cgi?id=346694
webkit doesn't let querySelectorAll select camelcase elements:
* https://bugs.webkit.org/show_bug.cgi?id=46800
* https://bugs.webkit.org/show_bug.cgi?id=83438
* https://github.com/mbostock/d3/issues/925

View File

@@ -69,7 +69,6 @@ iD.format.XML = {
}).map(iD.format.XML.rep)
}
};
console.log(rep);
return (new XMLSerializer()).serializeToString(JXON.unbuild(rep));
},
reps: {

View File

@@ -48,16 +48,10 @@ iD.Style.markerimage = function(d) {
return 'icons/unknown.png';
};
iD.Style.TAG_CLASSES = {
'highway': true,
'railway': true,
'motorway': true,
'amenity': true,
'landuse': true,
'building': true,
'oneway': true,
'bridge': true
};
iD.Style.TAG_CLASSES = iD.Util.trueObj([
'highway', 'railway', 'motorway', 'amenity',
'landuse', 'building', 'oneway', 'bridge'
]);
iD.Style.styleClasses = function(pre) {
return function(d) {

View File

@@ -1,4 +1,3 @@
// a minimal map tile client, to be turned on and off etc.
iD.Tiles = function(selection, projection) {
var t = {},
tile = d3.geo.tile();
@@ -18,7 +17,6 @@ iD.Tiles = function(selection, projection) {
return 'http://ecn.t' + t + '.tiles.virtualearth.net/tiles/a' + u + '.jpeg?g=587&mkt=en-gb&n=z';
}
// derive the tiles onscreen, remove those offscreen and position tiles
// correctly for the currentstate of `projection`
function redraw() {