@mtgame/core 0.0.28 → 0.0.30
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 +10 -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-statistic.js +6 -1
- package/esm2015/models/volleyball-game-statistic.js +2 -2
- package/esm5/models/hockey-statistic.js +10 -1
- package/esm5/models/volleyball-game-statistic.js +2 -2
- package/fesm2015/mtgame-core.js +6 -1
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +10 -1
- package/fesm5/mtgame-core.js.map +1 -1
- package/models/hockey-statistic.d.ts +1 -0
- package/mtgame-core.metadata.json +1 -1
- 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 = 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([
|
|
@@ -5709,7 +5718,7 @@ var VolleyballGameStatistic = /** @class */ (function (_super) {
|
|
|
5709
5718
|
excellent_serve_receives: 'excellentServeReceives',
|
|
5710
5719
|
points: 'points',
|
|
5711
5720
|
faults: 'faults',
|
|
5712
|
-
|
|
5721
|
+
yellow_cards: 'yellowCards',
|
|
5713
5722
|
}
|
|
5714
5723
|
})
|
|
5715
5724
|
], VolleyballGameStatistic);
|