Skip to content

Commit b365ebf

Browse files
committed
jshint fix.
1 parent f4a1f11 commit b365ebf

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

src/core/Game.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -671,14 +671,7 @@ Phaser.Game.prototype = {
671671
*/
672672
setUpRenderer: function () {
673673

674-
// if (this.config['canvasID'])
675-
// {
676-
this.canvas = Phaser.Canvas.create(this, this.width, this.height, this.config['canvasID'], true);
677-
// }
678-
// else
679-
// {
680-
// this.canvas = Phaser.Canvas.create(this, this.width, this.height);
681-
// }
674+
this.canvas = Phaser.Canvas.create(this, this.width, this.height, this.config['canvasID'], true);
682675

683676
if (this.config['canvasStyle'])
684677
{

src/loader/Loader.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2161,6 +2161,7 @@ Phaser.Loader.prototype = {
21612161
_this.fileComplete(file);
21622162
}
21632163
};
2164+
21642165
file.data.onerror = function () {
21652166
if (file.data.onload)
21662167
{

0 commit comments

Comments
 (0)