jsdoc and jshint fixes.

This commit is contained in:
photonstorm 2014-05-24 02:53:48 +01:00
parent f3ef3aed19
commit be66a694a8
2 changed files with 4 additions and 4 deletions

View file

@ -889,7 +889,7 @@ Phaser.BitmapData.prototype = {
* @param {number} [b2] - An alternative blue color component to be written to the destination, in the range 0 - 255.
* @returns {Phaser.BitmapData} The BitmapData that the extract pixels were drawn on.
*/
extract: function (destination, r, g, b, a, resize, r2, g2, b2, a2) {
extract: function (destination, r, g, b, a, resize, r2, g2, b2) {
if (typeof a === 'undefined') { a = 255; }
if (typeof resize === 'undefined') { resize = false; }

View file

@ -259,7 +259,7 @@ Phaser.RetroFont.TEXT_SET10 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
Phaser.RetroFont.TEXT_SET11 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ.,\"-+!?()':;0123456789";
/**
* If you need this FlxSprite to have a fixed width and custom alignment you can set the width here.<br>
* If you need this RetroFont to have a fixed width and custom alignment you can set the width here.
* If text is wider than the width specified it will be cropped off.
*
* @method Phaser.RetroFont#setFixedWidth
@ -312,7 +312,7 @@ Phaser.RetroFont.prototype.setText = function (content, multiLine, characterSpac
};
/**
* Updates the BitmapData of the Sprite with the text
* Updates the texture with the new text.
*
* @method Phaser.RetroFont#buildRetroFontText
* @memberof Phaser.RetroFont
@ -406,7 +406,7 @@ Phaser.RetroFont.prototype.buildRetroFontText = function () {
* Internal function that takes a single line of text (2nd parameter) and pastes it into the BitmapData at the given coordinates.
* Used by getLine and getMultiLine
*
* @method Phaser.RetroFont#buildRetroFontText
* @method Phaser.RetroFont#pasteLine
* @memberof Phaser.RetroFont
* @param {string} line - The single line of text to paste.
* @param {number} x - The x coordinate.