refactor: reduce component mergeHook arg count

Because f43ce3a5 removed the two extra args from init hook
This commit is contained in:
Evan You 2018-03-23 19:06:49 -04:00
parent 8227fb3524
commit faaf142cb6
1 changed files with 3 additions and 3 deletions

View File

@ -236,9 +236,9 @@ function installComponentHooks (data: VNodeData) {
} }
function mergeHook (f1, f2) { function mergeHook (f1, f2) {
const merged = (a, b, c, d) => { const merged = (a, b) => {
f1(a, b, c, d) f1(a, b)
f2(a, b, c, d) f2(a, b)
} }
merged._merged = true merged._merged = true
return merged return merged