Commit Graph

60 Commits

Author SHA1 Message Date
John Firebaugh
41548c25bf Restore map update event (fixes #167) 2012-12-03 15:59:05 -05:00
John Firebaugh
f130c325ae Updated .travis.yml for mocha 2012-12-03 15:36:43 -05:00
John Firebaugh
78c9b645cd Fix indent 2012-12-03 15:18:41 -05:00
John Firebaugh
c7fa59661a Convert tests to mocha+chai+sinon 2012-12-03 15:11:49 -05:00
Tom MacWright
f822830b79 Test styleclasses 2012-12-03 13:01:36 -05:00
Tom MacWright
71e0e9d96a Test friendlyName 2012-12-03 12:35:59 -05:00
Tom MacWright
2d2778aea0 Test out way rep as well 2012-12-03 12:31:02 -05:00
Tom MacWright
a4e480a3ab Test oauth 2012-12-03 12:28:11 -05:00
Tom MacWright
24422c61e6 Test background and style 2012-12-03 12:21:37 -05:00
Tom MacWright
1b0c0aeaa3 More specs, more tests 2012-12-03 12:11:00 -05:00
John Firebaugh
26ef972199 Restore map.surface
Fixes #166
2012-12-03 10:49:54 -05:00
John Firebaugh
65357a09c0 Travis CI setup
Specs are run with PhantomJS via phantom-jasmine:
https://github.com/jcarver989/phantom-jasmine
2012-12-03 10:14:00 -05:00
John Firebaugh
fbf03afb43 Fix XML specs 2012-12-03 09:15:10 -05:00
John Firebaugh
2b1559bb96 d3 style map 2012-12-02 20:36:14 -05:00
John Firebaugh
aeb288fe4e Test/fix hash 2012-12-02 20:33:42 -05:00
John Firebaugh
28f8275526 Eliminate failing tile requests in specs 2012-12-01 14:56:16 -08:00
John Firebaugh
bbdd4a7bcb d3 style map.extent() 2012-12-01 14:37:04 -08:00
John Firebaugh
8cfd0be2f8 d3 style map.zoom() 2012-12-01 14:30:24 -08:00
John Firebaugh
94b2cd5e2d Fix file case and indent in specs 2012-12-01 08:49:08 -08:00
John Firebaugh
16c6cbd08b Rename tiles to background, make more d3ish 2012-12-01 08:45:11 -08:00
John Firebaugh
45270b55d2 d3 naming convention 2012-12-01 08:21:02 -08:00
John Firebaugh
96af626bd7 Add d3.selection.prototype.size 2012-12-01 08:16:50 -08:00
Tom MacWright
85b757db0b Add benches, more notes 2012-11-30 16:23:36 -05:00
John Firebaugh
852720bc85 Fix spec 2012-11-30 07:21:29 -08:00
John Firebaugh
23f435759e Fix specs 2012-11-30 07:14:15 -08:00
Tom MacWright
81a9349e82 Patch up tests, go to simpler map api 2012-11-29 15:36:33 -05:00
John Firebaugh
75f8711e64 Add iD.{Node,Way,Relation} constructors
Even if we don't want subclasses, they are handy for
assigning the right type and an appropriate ID.
2012-11-26 22:00:39 -04:00
John Firebaugh
cc7328d1c9 Extract Entity#created and Entity#modified 2012-11-26 21:48:40 -04:00
John Firebaugh
447b89fa01 Entity specs 2012-11-26 21:24:26 -04:00
John Firebaugh
21ef3e4ce1 Flag accidental mutations in tests 2012-11-26 21:08:33 -04:00
Tom MacWright
1bb6915bad Expand map tests 2012-11-26 18:40:17 -05:00
Tom MacWright
2ec9f4c02f Test graph 2012-11-26 17:56:06 -05:00
Tom MacWright
704bd1af2e Test XML formatter as well 2012-11-26 17:46:04 -05:00
Tom MacWright
224420883a Update happen 2012-11-26 17:40:46 -05:00
Tom MacWright
19b62e8f47 Fix tests 2012-11-26 17:39:16 -05:00
Tom MacWright
3f23c0e43a Merge pull request #104 from jfirebaugh/rename
Rename concepts
2012-11-25 13:57:08 -08:00
John Firebaugh
f73f1a5429 Add Inspector specs 2012-11-25 16:21:52 -04:00
John Firebaugh
eac425f7e3 Rename concepts
action -> mode
operation -> action
go -> enter
operate -> perform
2012-11-25 14:06:23 -04:00
John Firebaugh
85ed5bb671 Fix specs 2012-11-24 11:30:27 -04:00
Tom MacWright
4bc8313157 Fix tests 2012-11-13 21:23:23 -05:00
Tom MacWright
2b38b38313 Fixup tests 2012-11-06 16:23:50 -05:00
Tom MacWright
75d9331233 Start traversing the graph, other changes
Adds GeoJSON viewing to features, unifies the way that features refer
to their children.
2012-11-01 10:55:33 -04:00
Tom MacWright
8bca85d3b2 Entity as a mixin rather than a sub-object. 2012-10-31 21:07:29 -04:00
Tom MacWright
a1b1df504b 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.
2012-10-31 19:05:43 -04:00
Tom MacWright
7154b68b71 Move graph out of connection, move more logic to Util, update tests. 2012-10-31 18:17:54 -04:00
Tom MacWright
303128df1c Fix specs, add new GeoJSON class with mappings, rename entityType to
type
2012-10-31 17:51:43 -04:00
Tom MacWright
5f4703494b Move entity to prototype 2012-10-26 18:28:31 -04:00
Tom MacWright
5075bc9226 Merge pull request #43 from jfirebaugh/first
Fix Entity#parentWays/Relations
2012-10-26 13:27:14 -07:00
John Firebaugh
1f6be2d2ba Fix Entity#parentWays/Relations 2012-10-26 13:25:36 -07:00
John Firebaugh
260b548ff3 Soft tabs, 4 space indent 2012-10-26 13:17:17 -07:00