From f06ae6b70ed046f2ed9402608a809863ee0945a6 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Fri, 30 Nov 2012 07:17:32 -0800 Subject: [PATCH] Eliminate temporary --- js/id/graph/graph.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/id/graph/graph.js b/js/id/graph/graph.js index 992c1d7fe..41000fd11 100644 --- a/js/id/graph/graph.js +++ b/js/id/graph/graph.js @@ -32,8 +32,7 @@ iD.Graph.prototype = { replace: function(entity, annotation) { var entities = _.clone(this.entities); entities[entity.id] = entity; - var g = iD.Graph(entities, annotation); - return g; + return iD.Graph(entities, annotation); }, remove: function(entity, annotation) {