@mtgame/core 0.1.78 → 0.1.79
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.
|
@@ -3267,6 +3267,9 @@
|
|
|
3267
3267
|
};
|
|
3268
3268
|
BasketballGameLog.prototype.compare = function (model) {
|
|
3269
3269
|
if (this.time === model.time && this.period === model.period) {
|
|
3270
|
+
if (this.datetime.getTime() === model.datetime.getTime()) {
|
|
3271
|
+
return this.id > model.id ? 1 : -1;
|
|
3272
|
+
}
|
|
3270
3273
|
return this.datetime.getTime() < model.datetime.getTime() ? 1 : -1;
|
|
3271
3274
|
}
|
|
3272
3275
|
if (this.period === model.period) {
|