@mtgame/core 0.0.29 → 0.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/mtgame-core.umd.js +9 -0
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/bundles/mtgame-core.umd.min.js +1 -1
- package/bundles/mtgame-core.umd.min.js.map +1 -1
- package/esm2015/models/hockey-statistic.js +6 -1
- package/esm5/models/hockey-statistic.js +10 -1
- package/fesm2015/mtgame-core.js +5 -0
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +9 -0
- package/fesm5/mtgame-core.js.map +1 -1
- package/models/hockey-statistic.d.ts +1 -0
- package/package.json +1 -1
|
@@ -2787,6 +2787,15 @@
|
|
|
2787
2787
|
enumerable: true,
|
|
2788
2788
|
configurable: true
|
|
2789
2789
|
});
|
|
2790
|
+
Object.defineProperty(HockeyStatistic.prototype, "userMinutes", {
|
|
2791
|
+
get: function () {
|
|
2792
|
+
var minutes = Math.floor(this.gameTime / 60);
|
|
2793
|
+
var seconds = Math.floor(this.gameTime - minutes * 60);
|
|
2794
|
+
return "" + (minutes < 10 ? 0 : '') + minutes + ":" + (seconds < 10 ? 0 : '') + seconds;
|
|
2795
|
+
},
|
|
2796
|
+
enumerable: true,
|
|
2797
|
+
configurable: true
|
|
2798
|
+
});
|
|
2790
2799
|
HockeyStatistic.toFront = function (data) { };
|
|
2791
2800
|
HockeyStatistic.toBack = function (data) { };
|
|
2792
2801
|
__decorate([
|