From 7579f5b47313170ddb32e15af084fc8e019e041a Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Mon, 25 Feb 2013 13:53:18 -0800 Subject: [PATCH] Fix bad wrapping --- ARCHITECTURE.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md index 01f8a9448..d46a23cc9 100644 --- a/ARCHITECTURE.md +++ b/ARCHITECTURE.md @@ -102,8 +102,10 @@ modified graph as output. Actions typically need other inputs as well; for example, `iD.actions.DeleteNode` also requires the ID of a node to delete. The additional input is passed to the action's constructor: -``` var action = iD.actions.DeleteNode('n123456'); // construct the action var -newGraph = action(oldGraph); // apply the action ``` +``` +var action = iD.actions.DeleteNode('n123456'); // construct the action var +newGraph = action(oldGraph); // apply the action +``` iD provides actions for all the typical things an editor needs to do: add a new entity, split a way in two, connect the vertices of two ways together, and