From b07f69b73798723bb3ad6874f9e6b0ea91c14a9e Mon Sep 17 00:00:00 2001 From: Dmitry Semenyuk Date: Mon, 19 Dec 2016 20:10:36 +0300 Subject: [PATCH] Set default value for ignoredElements to []. (as https://vuejs.org/v2/api/#ignoredElements puts it) --- src/core/config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/config.js b/src/core/config.js index 823ca964473..d895b335d52 100644 --- a/src/core/config.js +++ b/src/core/config.js @@ -8,7 +8,7 @@ export type Config = { silent: boolean; devtools: boolean; errorHandler: ?Function; - ignoredElements: ?Array; + ignoredElements: Array; keyCodes: { [key: string]: number }; // platform isReservedTag: (x?: string) => boolean; @@ -46,7 +46,7 @@ const config: Config = { /** * Ignore certain custom elements */ - ignoredElements: null, + ignoredElements: [], /** * Custom user key aliases for v-on