From ec8e42a92387e7e33c1598cdc88e555a929825ba Mon Sep 17 00:00:00 2001 From: Leo Horie Date: Sat, 18 Apr 2015 09:17:37 -0400 Subject: [PATCH] clean up dead variable --- mithril.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mithril.js b/mithril.js index dd75adb6..255e02b4 100644 --- a/mithril.js +++ b/mithril.js @@ -132,7 +132,7 @@ var m = (function app(window, undefined) { //3) if key exists in new list, change action from deletion to a move //4) for each key, handle its corresponding action as marked in previous steps var DELETION = 1, INSERTION = 2 , MOVE = 3; - var existing = {}, unkeyed = [], shouldMaintainIdentities = false; + var existing = {}, shouldMaintainIdentities = false; for (var i = 0; i < cached.length; i++) { if (cached[i] && cached[i].attrs && cached[i].attrs.key != null) { shouldMaintainIdentities = true;