Skip to content

Commit

Permalink
Added description for pad len parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
afk-mario committed Feb 6, 2014
1 parent 68d5c73 commit df2a048
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils/Utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ Phaser.Utils = {
* dir = 1 (left), 2 (right), 3 (both)
* @method Phaser.Utils.pad
* @param {string} str - The target string.
* @param {number} len - Description.
* @param {number} pad - the string to pad it out with (defaults to a space).
* @param {number} [dir=3] the direction dir = 1 (left), 2 (right), 3 (both).
* @param {number} len - The number of characters to be added.
* @param {number} pad - The string to pad it out with (defaults to a space).
* @param {number} [dir=3] The direction dir = 1 (left), 2 (right), 3 (both).
* @return {string} The padded string
*/
pad: function (str, len, pad, dir) {
Expand Down

0 comments on commit df2a048

Please sign in to comment.