@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
package/fesm5/mtgame-core.js
CHANGED
|
@@ -2574,6 +2574,15 @@ var HockeyStatistic = /** @class */ (function (_super) {
|
|
|
2574
2574
|
enumerable: true,
|
|
2575
2575
|
configurable: true
|
|
2576
2576
|
});
|
|
2577
|
+
Object.defineProperty(HockeyStatistic.prototype, "userMinutes", {
|
|
2578
|
+
get: function () {
|
|
2579
|
+
var minutes = Math.floor(this.gameTime / 60);
|
|
2580
|
+
var seconds = Math.floor(this.gameTime - minutes * 60);
|
|
2581
|
+
return "" + (minutes < 10 ? 0 : '') + minutes + ":" + (seconds < 10 ? 0 : '') + seconds;
|
|
2582
|
+
},
|
|
2583
|
+
enumerable: true,
|
|
2584
|
+
configurable: true
|
|
2585
|
+
});
|
|
2577
2586
|
HockeyStatistic.toFront = function (data) { };
|
|
2578
2587
|
HockeyStatistic.toBack = function (data) { };
|
|
2579
2588
|
__decorate([
|