From e466ccebd034d09392cdb7acf160bd6e340b6bba Mon Sep 17 00:00:00 2001 From: Pat Cavit Date: Thu, 19 May 2016 12:41:25 -0700 Subject: [PATCH] Remove unused var (#1053) Uglify caught this when I was testing to see what the updated min+gzip size was. --- render/hyperscript.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/render/hyperscript.js b/render/hyperscript.js index 8b407075..2a75de61 100644 --- a/render/hyperscript.js +++ b/render/hyperscript.js @@ -7,7 +7,7 @@ var selectorCache = {} function hyperscript(selector) { if (typeof selector === "string") { if (selectorCache[selector] === undefined) { - var match, tag, id, classes = [], attributes = {} + var match, tag, classes = [], attributes = {} while (match = selectorParser.exec(selector)) { var type = match[1], value = match[2] if (type === "" && value !== "") tag = value @@ -74,4 +74,4 @@ function changeNS(ns, vnode) { } } -module.exports = hyperscript \ No newline at end of file +module.exports = hyperscript