@mtgame/core 0.0.62 → 0.0.63
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 +3 -1
- 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-game-statistic.js +4 -2
- package/esm5/models/hockey-game-statistic.js +4 -2
- package/fesm2015/mtgame-core.js +3 -1
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +3 -1
- package/fesm5/mtgame-core.js.map +1 -1
- package/models/hockey-game-statistic.d.ts +1 -1
- package/package.json +1 -1
package/fesm5/mtgame-core.js
CHANGED
|
@@ -2773,7 +2773,9 @@ var HockeyGameStatistic = /** @class */ (function (_super) {
|
|
|
2773
2773
|
});
|
|
2774
2774
|
Object.defineProperty(HockeyGameStatistic.prototype, "gameMinutes", {
|
|
2775
2775
|
get: function () {
|
|
2776
|
-
|
|
2776
|
+
var minutes = Math.floor(this.gameTime / 60);
|
|
2777
|
+
var seconds = this.gameTime - minutes * 60;
|
|
2778
|
+
return "" + (minutes < 9 ? '0' : '') + minutes + ":" + (seconds < 9 ? '0' : '') + seconds;
|
|
2777
2779
|
},
|
|
2778
2780
|
enumerable: true,
|
|
2779
2781
|
configurable: true
|