Skip to content

Commit be66a69

Browse files
committed
jsdoc and jshint fixes.
1 parent f3ef3ae commit be66a69

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/gameobjects/BitmapData.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@ Phaser.BitmapData.prototype = {
889889
* @param {number} [b2] - An alternative blue color component to be written to the destination, in the range 0 - 255.
890890
* @returns {Phaser.BitmapData} The BitmapData that the extract pixels were drawn on.
891891
*/
892-
extract: function (destination, r, g, b, a, resize, r2, g2, b2, a2) {
892+
extract: function (destination, r, g, b, a, resize, r2, g2, b2) {
893893

894894
if (typeof a === 'undefined') { a = 255; }
895895
if (typeof resize === 'undefined') { resize = false; }

src/gameobjects/RetroFont.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ Phaser.RetroFont.TEXT_SET10 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
259259
Phaser.RetroFont.TEXT_SET11 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ.,\"-+!?()':;0123456789";
260260

261261
/**
262-
* If you need this FlxSprite to have a fixed width and custom alignment you can set the width here.<br>
262+
* If you need this RetroFont to have a fixed width and custom alignment you can set the width here.
263263
* If text is wider than the width specified it will be cropped off.
264264
*
265265
* @method Phaser.RetroFont#setFixedWidth
@@ -312,7 +312,7 @@ Phaser.RetroFont.prototype.setText = function (content, multiLine, characterSpac
312312
};
313313

314314
/**
315-
* Updates the BitmapData of the Sprite with the text
315+
* Updates the texture with the new text.
316316
*
317317
* @method Phaser.RetroFont#buildRetroFontText
318318
* @memberof Phaser.RetroFont
@@ -406,7 +406,7 @@ Phaser.RetroFont.prototype.buildRetroFontText = function () {
406406
* Internal function that takes a single line of text (2nd parameter) and pastes it into the BitmapData at the given coordinates.
407407
* Used by getLine and getMultiLine
408408
*
409-
* @method Phaser.RetroFont#buildRetroFontText
409+
* @method Phaser.RetroFont#pasteLine
410410
* @memberof Phaser.RetroFont
411411
* @param {string} line - The single line of text to paste.
412412
* @param {number} x - The x coordinate.

0 commit comments

Comments
 (0)