|
@@ -5,16 +5,11 @@ import {
|
|
|
} from './component'
|
|
} from './component'
|
|
|
import { VNodeFlags, ChildrenFlags } from './flags'
|
|
import { VNodeFlags, ChildrenFlags } from './flags'
|
|
|
import { createComponentClassFromOptions } from './componentUtils'
|
|
import { createComponentClassFromOptions } from './componentUtils'
|
|
|
-import {
|
|
|
|
|
- handlersRE,
|
|
|
|
|
- EMPTY_OBJ,
|
|
|
|
|
- isObject,
|
|
|
|
|
- isArray,
|
|
|
|
|
- isFunction,
|
|
|
|
|
- isString
|
|
|
|
|
-} from '@vue/shared'
|
|
|
|
|
|
|
+import { EMPTY_OBJ, isObject, isArray, isFunction, isString } from '@vue/shared'
|
|
|
import { RawChildrenType, RawSlots } from './h'
|
|
import { RawChildrenType, RawSlots } from './h'
|
|
|
|
|
|
|
|
|
|
+const handlersRE = /^on|^vnode/
|
|
|
|
|
+
|
|
|
// Vue core is platform agnostic, so we are not using Element for "DOM" nodes.
|
|
// Vue core is platform agnostic, so we are not using Element for "DOM" nodes.
|
|
|
export interface RenderNode {
|
|
export interface RenderNode {
|
|
|
vnode?: VNode | null
|
|
vnode?: VNode | null
|