Skip to content

Commit b3ba728

Browse files
authored
Merge pull request phaserjs#3026 from chenfanggm/master
fix Game.prototype.constructor
2 parents 42ecf4a + 765900d commit b3ba728

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

v3/src/boot/Game.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@ var Game = function (config)
8181
window.game = this;
8282
};
8383

84-
Game.prototype.constructor = Game;
85-
8684
Game.prototype = {
8785

8886
boot: function ()
@@ -169,4 +167,6 @@ Game.prototype = {
169167
}
170168
};
171169

170+
Game.prototype.constructor = Game;
171+
172172
module.exports = Game;

0 commit comments

Comments
 (0)