Commit Graph

44 Commits

Author SHA1 Message Date
Richard Fairhurst fe0a4cf470 Remove control character 2012-10-17 17:41:37 +01:00
Tom MacWright a179eb2a26 Use an object with keys to keep track of tiles.
instead of a multidimensional array. this simplifies code and boosts
performance upon dragging.
2012-10-17 11:10:14 -04:00
Tom MacWright 65a2309252 Remove hashtable dependency 2012-10-16 23:36:54 -04:00
Tom MacWright 51bb2201aa Get Selection working again 2012-10-16 23:28:52 -04:00
Tom MacWright 20841f213b Remove dojo array dependence in Node 2012-10-16 23:14:33 -04:00
Tom MacWright 2f9d51734d Remove hashtable reliance in entity 2012-10-16 23:14:10 -04:00
Tom MacWright ce1e476c19 Pare down gettersetters, use loadFromUrl in loadFromAPI 2012-10-16 20:59:01 -04:00
Tom MacWright 2b8b30ad1e Liberate Connection, use jQuery for ajax 2012-10-16 20:54:46 -04:00
Tom MacWright 6cbbba9f8c Fix white seams betweent tiles by making coordinates absolute 2012-10-16 18:17:51 -04:00
Tom MacWright 824b82bbe1 Fix display. This stuff now works. 2012-10-16 18:13:58 -04:00
Tom MacWright 9343719737 More cleanup 2012-10-16 18:08:12 -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
Tom MacWright d98007da68 Commit work towards pure models. This commit is not stable. 2012-10-16 16:06:03 -04:00
Tom MacWright d22b457816 Using underscore instead of dojo's array.
underscore also handles the issue of a cross-browser .forEach, but
supports the rest of the functional toolkit, so allows us to express
stuff like tag filtering more efficiently. It's also a pretty
common ingredient in other JS code so should feel familiar to a bunch of
people.
2012-10-16 15:15:51 -04:00
Tom MacWright 59b27276fd JSHint Fixes. Fixes (mostly by hand) for JS style & syntax problems.
Basically these are mainly == in 0/null comparisons (typecasting is
dangerous in js), mixed spaces/tabs (style/indentation), and trailing
commas (will break IE7).
2012-10-13 14:44:37 -07:00
Rick Ogden 4a679b779f removed console.log 2012-07-23 15:14:33 +01:00
Rick Ogden bbd5b44aab fixed widget expanding bug. 2012-07-23 14:58:35 +01:00
Richard Fairhurst bd6c6cc3a0 Remove logging 2012-07-12 18:34:33 +01:00
Richard Fairhurst 4ea76f1d2e Documentation for styleparser
(not quite complete but this is taken from P2 anyway)
2012-07-12 17:44:40 +01:00
Richard Fairhurst 7c8275deaa UI element documentation 2012-07-12 17:24:31 +01:00
Richard Fairhurst 7b384081eb Remove orphaned include 2012-07-12 17:11:38 +01:00
Richard Fairhurst 39ed103137 shape.* ControllerState documentation 2012-07-12 17:08:42 +01:00
Richard Fairhurst 372d13bf62 edit.* ControllerState documentation 2012-07-12 17:01:31 +01:00
Richard Fairhurst 39ae1fe2a7 Remove duplicate action 2012-07-12 16:52:23 +01:00
Richard Fairhurst eccbf4c639 Start Controller documentation 2012-07-12 16:51:57 +01:00
Richard Fairhurst 7d0873b982 Document the actions 2012-07-12 16:51:12 +01:00
Richard Fairhurst aa0bb75f4d NodeUI and WayUI documentation 2012-07-12 15:38:30 +01:00
Richard Fairhurst ee2c1afcad Start renderer documentation 2012-07-12 15:34:43 +01:00
Richard Fairhurst 6d693f8fa1 Documentation and better naming 2012-07-12 13:06:27 +01:00
Richard Fairhurst eef3f68faf Move each entity into its own file 2012-07-12 13:05:48 +01:00
Richard Fairhurst 6be53b0f5f Show rudimentary name in the tooltip dialog 2012-07-12 08:33:00 +01:00
Richard Fairhurst 04f31995d2 Don't open tooltip after DrawWay
(as we'll be going straight into tag editor)
2012-07-12 07:40:26 +01:00
Richard Fairhurst 27ab5cce83 Remove logging 2012-07-12 00:24:35 +01:00
Richard Fairhurst 4f6201f93a Tooltip for tags/shape 2012-07-12 00:21:29 +01:00
Richard Fairhurst 3cee46eac3 Start branching ways 2012-07-11 23:12:41 +01:00
Richard Fairhurst 45cca3b8ed Better system for identifying steps 2012-07-11 20:16:16 +01:00
Richard Fairhurst cf3f150d84 Add some more icons for the fun of it 2012-07-11 18:39:08 +01:00
Richard Fairhurst b23ce19b1f Create junctions when drawing a way 2012-07-11 18:23:13 +01:00
Richard Fairhurst 553c605adb Update stepper 2012-07-11 15:50:08 +01:00
Richard Fairhurst be929dd8d9 Full-size map 2012-07-11 15:03:21 +01:00
Richard Fairhurst 22fab3eb1d Current working version 2012-07-11 14:27:30 +01:00