From e9f1e6587e0b25df8e814cefbedb3666af59cfa9 Mon Sep 17 00:00:00 2001 From: Harish Karumuthil Date: Wed, 22 Jul 2020 01:35:31 +0530 Subject: [PATCH] Add a name for all Vue instances. It will debugging / performance analysis. For eg: it will help while monitoring emitted events. --- src/vfjs-global-mixin/methods/vfjs-bus/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vfjs-global-mixin/methods/vfjs-bus/index.js b/src/vfjs-global-mixin/methods/vfjs-bus/index.js index 8154d7bf..3c8ae16d 100644 --- a/src/vfjs-global-mixin/methods/vfjs-bus/index.js +++ b/src/vfjs-global-mixin/methods/vfjs-bus/index.js @@ -18,7 +18,7 @@ const vfjsBus = { this.vfjsBus.$off(); }, vfjsBusInitialize() { - this.vfjsBus = new Vue(); + this.vfjsBus = new Vue({ name: 'vfjsBus' }); }, vfjsBusEventHandler(event, payload) { if (event && event in vfjsBusEventActions) {