From 6f81288eb9ab888ae8b2d271beb0f3aa27a0285c Mon Sep 17 00:00:00 2001 From: Tom MacWright Date: Fri, 8 Feb 2013 10:23:35 -0500 Subject: [PATCH] Name load function so we can profile it --- js/id/id.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/id/id.js b/js/id/id.js index f1d7d853d..5e39e6b0e 100644 --- a/js/id/id.js +++ b/js/id/id.js @@ -18,7 +18,7 @@ window.iD = function () { // the connection requires .storage() to be available on calling. var connection = iD.Connection(context); - connection.on('load.context', function (err, result) { + connection.on('load.context', function loadContext(err, result) { history.merge(result); });