Commit Graph

13 Commits

Author SHA1 Message Date
Tom MacWright 8e17841c07 Make tag classes functions non-anonymous 2013-01-12 00:50:21 -05:00
John Firebaugh acaaab5dc9 Extract iD.svg.Surface 2013-01-11 16:01:39 -08:00
John Firebaugh 7dc1945ee3 accuracy-handle -> midpoint 2013-01-11 14:54:51 -08:00
Ansis Brammanis c894ad26f2 nicer getComputedLength caching 2013-01-11 17:28:04 -05:00
Ansis Brammanis 61533019dd don't recalculate, for real this time 2013-01-11 17:10:25 -05:00
Ansis Brammanis 6b09da380d only getComputedTextLength() once 2013-01-11 16:56:28 -05:00
Ansis Brammanis 7e9eaa6422 fix svg line text 2013-01-11 15:57:28 -05:00
Ansis Brammanis 9251edb02b fix oneway text 2013-01-11 15:46:28 -05:00
John Firebaugh e95d163dbc Apply tag classes to vertices and points
While here, introduce a `classed` matcher for Chai.
2013-01-11 12:22:23 -08:00
John Firebaugh 577398ca21 Fix .shared classing
Now that Graph#parentWays is cached, the specialized Graph#parentStructure
method is no longer necessary.

This commit also demonstrates that it's relatively easy to write specs for
rendering now!
2013-01-11 11:56:37 -08:00
John Firebaugh b8310e2d9f Move to iD.svg.TagClasses 2013-01-11 11:56:37 -08:00
John Firebaugh 809b73599c Merge points code into iD.svg.Points 2013-01-11 07:49:26 -08:00
John Firebaugh 6aa43f44d0 Split map rendering into some components 2013-01-11 07:04:40 -08:00