Skip to content

Commit a971928

Browse files
committed
jshint fixes.
1 parent 52b1b49 commit a971928

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

src/gameobjects/BitmapText.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,6 @@ Phaser.BitmapText.prototype.updateText = function () {
310310
var scale = this._fontSize / data.size;
311311
var lines = [];
312312

313-
// var c = 0;
314313
var y = 0;
315314

316315
this.textWidth = 0;
@@ -323,8 +322,6 @@ Phaser.BitmapText.prototype.updateText = function () {
323322

324323
lines.push(line);
325324

326-
// console.log(line);
327-
328325
if (line.width > this.textWidth)
329326
{
330327
this.textWidth = line.width;
@@ -333,11 +330,8 @@ Phaser.BitmapText.prototype.updateText = function () {
333330
y += (data.lineHeight * scale);
334331

335332
text = text.substr(line.text.length + 1);
336-
337-
c++;
338333

339-
} while (line.end === false)
340-
// } while (line.end === false && c < 10)
334+
} while (line.end === false);
341335

342336
this.textHeight = y;
343337

0 commit comments

Comments
 (0)