mirror of
https://github.com/vuejs/vue.git
synced 2024-11-22 04:39:46 +00:00
dedup functions
This commit is contained in:
parent
f036db5dd4
commit
b5f39bf02c
12938
dist/vue.runtime.js
vendored
12938
dist/vue.runtime.js
vendored
File diff suppressed because it is too large
Load Diff
2
dist/vue.runtime.min.js
vendored
2
dist/vue.runtime.min.js
vendored
File diff suppressed because one or more lines are too long
@ -10,7 +10,7 @@
|
||||
// nodes will remain where they should be.
|
||||
|
||||
import { warn, extend } from 'core/util/index'
|
||||
import { addClass, removeClass } from '../class-util'
|
||||
import { addClass, removeClass } from 'web/runtime/class-util'
|
||||
import { transitionProps, extractTransitionData } from './transition'
|
||||
import { setActiveInstance } from 'core/instance/lifecycle'
|
||||
|
||||
@ -20,7 +20,7 @@ import {
|
||||
transitionEndEvent,
|
||||
addTransitionClass,
|
||||
removeTransitionClass,
|
||||
} from '../transition-util'
|
||||
} from 'web/runtime/transition-util'
|
||||
import VNode from 'core/vdom/vnode'
|
||||
|
||||
const props = extend(
|
||||
|
@ -1,7 +1,8 @@
|
||||
|
||||
import VNode from 'core/vdom/vnode'
|
||||
import type { VNodeDirective, VNodeWithData } from 'typescript/vnode'
|
||||
import { enter, leave } from '../modules/transition'
|
||||
import { enter, leave } from 'web/runtime/modules/transition'
|
||||
|
||||
|
||||
// recursively search for possible transition defined inside the component root
|
||||
function locateNode(vnode: VNode | VNodeWithData): VNodeWithData {
|
||||
|
@ -5,13 +5,13 @@ import { activeInstance } from 'core/instance/lifecycle'
|
||||
|
||||
import { once, isDef, isUndef, isObject, toNumber } from 'shared/util'
|
||||
|
||||
import {
|
||||
import {
|
||||
nextFrame,
|
||||
resolveTransition,
|
||||
whenTransitionEnds,
|
||||
addTransitionClass,
|
||||
removeTransitionClass,
|
||||
} from '../transition-util'
|
||||
removeTransitionClass } from 'web/runtime/transition-util'
|
||||
|
||||
import type { VNodeWithData } from 'typescript/vnode'
|
||||
import VNode from 'core/vdom/vnode'
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { inBrowser, isIE9 } from 'core/util/index'
|
||||
import { addClass, removeClass } from './class-util'
|
||||
import { addClass, removeClass } from 'web/runtime/class-util'
|
||||
import { remove, extend, cached } from 'shared/util'
|
||||
|
||||
export function resolveTransition(
|
||||
|
Loading…
Reference in New Issue
Block a user