@mtgame/core 0.1.27 → 0.1.28
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 +6 -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/football-game-log.js +7 -2
- package/esm5/models/football-game-log.js +7 -2
- package/fesm2015/mtgame-core.js +6 -1
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +6 -1
- package/fesm5/mtgame-core.js.map +1 -1
- package/package.json +1 -1
package/fesm5/mtgame-core.js
CHANGED
|
@@ -3542,7 +3542,12 @@ var FootballGameLog = /** @class */ (function (_super) {
|
|
|
3542
3542
|
configurable: true
|
|
3543
3543
|
});
|
|
3544
3544
|
FootballGameLog.prototype.isScoreType = function () {
|
|
3545
|
-
return [
|
|
3545
|
+
return [
|
|
3546
|
+
FootballGameLogTypes.goal,
|
|
3547
|
+
FootballGameLogTypes.penalty_goal,
|
|
3548
|
+
FootballGameLogTypes.small_penalty_goal,
|
|
3549
|
+
FootballGameLogTypes.auto_goal,
|
|
3550
|
+
].indexOf(this.logType) > -1;
|
|
3546
3551
|
};
|
|
3547
3552
|
FootballGameLog.prototype.isAfter = function (log) {
|
|
3548
3553
|
if (this.time === log.time && this.period === log.period) {
|