Bundled output for commit 1d608b6613 [skip ci]
This commit is contained in:
parent
1d608b6613
commit
233d92b732
2 changed files with 3 additions and 3 deletions
|
|
@ -17,7 +17,7 @@ Vnode.normalizeChildren = function normalizeChildren(children) {
|
|||
var selectorParser = /(?:(^|#|\.)([^#\.\[\]]+))|(\[(.+?)(?:\s*=\s*("|'|)((?:\\["'\]]|.)*?)\5)?\])/g
|
||||
var selectorCache = {}
|
||||
function hyperscript(selector) {
|
||||
if (selector == null || typeof selector !== "string" && selector.view == null) {
|
||||
if (selector == null || typeof selector !== "string" && typeof selector.view !== "function") {
|
||||
throw Error("The selector must be either a string or a component.");
|
||||
}
|
||||
if (typeof selector === "string" && selectorCache[selector] === undefined) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue