refactor: use shared util, remove unused regex

This commit is contained in:
Evan You
2018-10-16 15:53:23 -04:00
parent 149d82d618
commit aac7805b3a
4 changed files with 5 additions and 13 deletions

View File

@@ -5,16 +5,11 @@ import {
} from './component'
import { VNodeFlags, ChildrenFlags } from './flags'
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'
const handlersRE = /^on|^vnode/
// Vue core is platform agnostic, so we are not using Element for "DOM" nodes.
export interface RenderNode {
vnode?: VNode | null