Skip to content

Commit 353cb3d

Browse files
committed
expose internal transition API
1 parent 8033b24 commit 353cb3d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/instance/api/global.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ import {
88
commonTagRE,
99
reservedTagRE,
1010
warn,
11-
isPlainObject
11+
isPlainObject,
12+
extend
1213
} from '../../util/index'
1314

1415
import config from '../../config'
@@ -19,6 +20,7 @@ import * as text from '../../parsers/text'
1920
import * as template from '../../parsers/template'
2021
import * as directive from '../../parsers/directive'
2122
import * as expression from '../../parsers/expression'
23+
import * as transition from '../../transition/index'
2224
import FragmentFactory from '../../fragment/factory'
2325
import internalDirectives from '../../directives/internal/index'
2426

@@ -194,4 +196,7 @@ export default function (Vue) {
194196
}
195197
}
196198
})
199+
200+
// expose internal transition API
201+
extend(Vue.transition, transition)
197202
}

0 commit comments

Comments
 (0)