Commit Graph

25 Commits

Author SHA1 Message Date
John Firebaugh
6b08193125 Introduce Entity transients; fix #187 2012-12-06 14:11:45 -05:00
Tom MacWright
5e56b12d85 Formatting and jshint 2012-12-05 16:55:27 -05:00
John Firebaugh
5666cb774e Finish iD.actions.DeleteWay (fixes #72) 2012-12-05 16:35:13 -05:00
John Firebaugh
d26c8638b3 Allow Graph to be constructed with an array of entities
Useful for tests.
2012-12-05 16:14:39 -05:00
John Firebaugh
1812016723 Freeze nodes/members too 2012-12-05 16:14:39 -05:00
John Firebaugh
fa1b536ce7 Default relation members to empty array 2012-12-05 16:14:39 -05:00
John Firebaugh
4a3169bb1d Test/refine iD.actions.remove 2012-12-05 16:14:39 -05:00
John Firebaugh
551a2df24e Replace Entity.{lat,lon} with Entity.loc
Fixes #189
2012-12-05 09:48:00 -05:00
John Firebaugh
12d02e0a6b Copy entity in Graph#fetch
This shouldn't be necessary, but someone is modifying them
in place and it's causing problems elsewhere.
2012-12-04 17:27:02 -05:00
Tom MacWright
5ef3eed3b0 Simplify modes, expose redraw 2012-12-04 17:23:09 -05:00
John Firebaugh
60e7698f1a Don't mutate entity in place 2012-12-04 14:00:29 -05:00
John Firebaugh
103678b36d Refine Entity and specs 2012-12-04 14:00:29 -05:00
Tom MacWright
a0d28c1e2d Expand tests, move way logic into entity.js and test it. 2012-12-04 13:06:21 -05:00
Tom MacWright
8c3aa832f0 Rename Util to util, expand tests, move more out of map.js 2012-12-04 12:53:16 -05:00
John Firebaugh
0a1e0bdfe4 History#reset 2012-12-03 18:37:41 -05:00
John Firebaugh
8a8d6fae32 Move responsibility for dispatching change event to history 2012-12-03 18:37:41 -05:00
John Firebaugh
e93c9624d8 Convert History to module pattern
There is only ever one History, so memory use is not a
concern.
2012-12-03 18:37:41 -05:00
John Firebaugh
f06ae6b70e Eliminate temporary 2012-11-30 07:17:32 -08:00
Tom MacWright
2cde9b6212 Fix editing when your node is new 2012-11-29 16:56:06 -05:00
Tom MacWright
f7fcf37197 Fix deletion, make active class clearer, refocus on DC, fix friendlyName 2012-11-29 09:35:48 -05:00
Tom MacWright
80ea085f35 Get node-dependent osmChange working 2012-11-28 15:13:31 -05:00
Tom MacWright
c1a87ed8b6 Work on road drawing, index ways on demand 2012-11-28 13:59:28 -05:00
Tom MacWright
51370330f2 Reload data, fixes #129, also fixes jshint 2012-11-27 18:37:20 -05:00
Tom MacWright
651c347356 Fix finding modified elements, fix casing of map 2012-11-27 18:12:28 -05:00
Tom MacWright
936cefb4ef Rename and update 2012-11-27 17:51:03 -05:00