Skip to content

Commit 31839a1

Browse files
committed
remove unused before:hook
1 parent 621756e commit 31839a1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/core/instance/lifecycle.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@ export function lifecycleMixin (Vue: Class<Component>) {
183183
}
184184

185185
export function callHook (vm: Component, hook: string) {
186-
vm.$emit('pre-hook:' + hook)
187186
const handlers = vm.$options[hook]
188187
if (handlers) {
189188
for (let i = 0, j = handlers.length; i < j; i++) {

0 commit comments

Comments
 (0)