@tslib/vue-ext
Advanced tools
Comparing version 1.0.20 to 1.0.21
@@ -23,2 +23,3 @@ "use strict"; | ||
const _this = this; | ||
_this.$timerCounter = _this.$data.$timerCounter; | ||
if (_this.$options && _this.$options.onTimer) { | ||
@@ -25,0 +26,0 @@ const timerFunc = _this.$options.onTimer.bind(_this); |
@@ -19,3 +19,3 @@ "use strict"; | ||
const vue = vue_1.default.extend.apply(vue_1.default, arguments); | ||
if (options && options.module) { | ||
if (options && options.module && options.name) { | ||
globalStore_1.store.commit(`registerVueComponents`, { | ||
@@ -22,0 +22,0 @@ module: options.module, |
{ | ||
"name": "@tslib/vue-ext", | ||
"version": "1.0.20", | ||
"version": "1.0.21", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "config file loader for typescript", |
@@ -19,2 +19,4 @@ import Vue, { VueConstructor } from "vue"; | ||
const _this: any = this; | ||
_this.$timerCounter = _this.$data.$timerCounter; | ||
if (_this.$options && _this.$options.onTimer) { | ||
@@ -21,0 +23,0 @@ const timerFunc: Function = _this.$options.onTimer.bind(_this); |
@@ -23,3 +23,3 @@ import Vue, { VueConstructor, FunctionalComponentOptions } from "vue"; | ||
if (options && options.module) { | ||
if (options && options.module && options.name) { | ||
store.commit(`registerVueComponents`, { | ||
@@ -26,0 +26,0 @@ module: options.module, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
30214
380