@tslib/vue-ext
Advanced tools
Comparing version 1.0.22 to 1.0.23
@@ -21,5 +21,10 @@ "use strict"; | ||
}, | ||
computed: { | ||
$timerCounter() { | ||
const _this = this; | ||
return _this.$data.$timerCounter; | ||
} | ||
}, | ||
created: function () { | ||
const _this = this; | ||
_this.$timerCounter = _this.$data.$timerCounter; | ||
if (_this.$options && _this.$options.onTimer) { | ||
@@ -26,0 +31,0 @@ const timerFunc = _this.$options.onTimer.bind(_this); |
{ | ||
"name": "@tslib/vue-ext", | ||
"version": "1.0.22", | ||
"version": "1.0.23", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "config file loader for typescript", |
@@ -17,6 +17,10 @@ import Vue, { VueConstructor } from "vue"; | ||
}, | ||
computed: { | ||
$timerCounter() { | ||
const _this: any = this; | ||
return _this.$data.$timerCounter; | ||
} | ||
}, | ||
created: function() { | ||
const _this: any = this; | ||
_this.$timerCounter = _this.$data.$timerCounter; | ||
if (_this.$options && _this.$options.onTimer) { | ||
@@ -23,0 +27,0 @@ const timerFunc: Function = _this.$options.onTimer.bind(_this); |
Sorry, the diff of this file is not supported yet
30613
392