From a1b1df504b8de4376b05f029abf30ec84ec64907 Mon Sep 17 00:00:00 2001 From: Tom MacWright Date: Wed, 31 Oct 2012 19:05:43 -0400 Subject: [PATCH] Refactor style, abstract id references This is the first commit that really goes whole hog in terms of creating an object graph. It's quite close, though it could be faster in a lot of ways. --- index.html | 6 +-- js/iD/Connection.js | 64 +++++++++++++++++++++++++-- js/iD/Controller.js | 17 ------- js/iD/Entity.js | 8 +--- js/iD/Graph.js | 98 ++++++++--------------------------------- js/iD/Node.js | 4 -- js/iD/Relation.js | 3 -- js/iD/Util.js | 25 ----------- js/iD/Way.js | 16 +++---- js/iD/renderer/Map.js | 48 ++++---------------- js/iD/renderer/style.js | 57 ++++++++++++++++++++++++ test/index.html | 1 + 12 files changed, 156 insertions(+), 191 deletions(-) delete mode 100755 js/iD/Controller.js create mode 100644 js/iD/renderer/style.js diff --git a/index.html b/index.html index a2c276ae8..b92025444 100755 --- a/index.html +++ b/index.html @@ -15,6 +15,7 @@ + @@ -36,8 +37,6 @@ - -
@@ -64,7 +63,8 @@ +