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:
parent
e8755c11c7
commit
e466ccebd0
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue