From c13bbcb32794fbb443a4f86d3b0526951ca3f7ba Mon Sep 17 00:00:00 2001 From: Evan You Date: Mon, 18 Apr 2016 13:41:26 -0400 Subject: [PATCH] fix directive merging --- src/runtime/instance/render.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/instance/render.js b/src/runtime/instance/render.js index ef1b1a2d..22541f75 100644 --- a/src/runtime/instance/render.js +++ b/src/runtime/instance/render.js @@ -251,7 +251,7 @@ function mergeParentData (vm, data, parentData) { } } if (parentData.directives) { - data.directives = parentData.directives.conact(data.directives || []) + data.directives = parentData.directives.concat(data.directives || []) } }