Revert "Merge pull request #1753 from StephanHoyer/master"

This reverts commit 000eec90d8, reversing
changes made to e88bddb3c8.
This commit is contained in:
Isiah Meadows 2017-03-29 18:22:27 -04:00
parent 207dea91da
commit baa2dc1ab0
2 changed files with 1 additions and 6 deletions

View file

@ -73,7 +73,7 @@ function hyperscript(selector) {
var cached = selectorCache[selector] || compileSelector(selector)
}
if (attrs == null) {
if (!attrs) {
attrs = {}
} else if (typeof attrs !== "object" || attrs.tag != null || Array.isArray(attrs)) {
attrs = {}