Commit Graph

8 Commits

Author SHA1 Message Date
John Firebaugh 8564279926 Use identity projection in tests 2013-01-17 11:57:29 -08:00
John Firebaugh 9f1506af5e Always use rounded projection 2013-01-17 11:57:29 -08:00
Tom MacWright ea3b7baf14 Tag classes no longer changes classes if there is no change. This makes the default, no-class scenario null instead of an empty string 2013-01-12 09:30:11 -05:00
John Firebaugh acaaab5dc9 Extract iD.svg.Surface 2013-01-11 16:01:39 -08:00
John Firebaugh 45fd260d8f Add basic Area test 2013-01-11 15:49:56 -08: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