Commit Graph

27 Commits

Author SHA1 Message Date
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
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
John Firebaugh
f73f1a5429 Add Inspector specs 2012-11-25 16:21:52 -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
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
Tom MacWright
39e5548d15 Fix specs 2012-10-26 16:17:09 -04:00
Tom MacWright
af4e048a30 Add tests for the Map object 2012-10-26 11:23:50 -04:00
Tom MacWright
f19e5196b3 Update tests, coding spec, and more.
Rewrite Entities and object creators.
2012-10-25 19:34:26 -04:00
Tom MacWright
26e0a1f56c Add toGeoJSON for nodes and ways 2012-10-17 16:49:43 -04:00
Tom MacWright
cd9ecc7a54 Update tests to pass 2012-10-17 11:43:39 -04:00
Tom MacWright
2b8b30ad1e Liberate Connection, use jQuery for ajax 2012-10-16 20:54:46 -04:00
Tom MacWright
0a0b1749dc Move towards compatible with existing view/edit code. This throws no
errors, but does not yet draw.
2012-10-16 17:38:51 -04:00
Tom MacWright
64bc7d5ea5 Split and test relations 2012-10-16 16:54:12 -04:00
Tom MacWright
2c9b377b5e Split out and test Way 2012-10-16 16:40:54 -04:00
Tom MacWright
a9fa9daf1b Merge branch 'underscore' into pure-models
Start testing.

Conflicts:
	js/iD/Connection.js
	js/iD/Node.js
2012-10-16 16:30:16 -04:00