Remove unused var (#1053)

Uglify caught this when I was testing to see what the updated min+gzip size was.
This commit is contained in:
Pat Cavit 2016-05-19 12:41:25 -07:00
parent e8755c11c7
commit e466ccebd0

View file

@ -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
module.exports = hyperscript