From df2a0485943983b53275db7ab045e4b497dd4f32 Mon Sep 17 00:00:00 2001 From: Mario Carballo Zama Date: Thu, 6 Feb 2014 00:20:40 -0600 Subject: [PATCH] Added description for pad len parameter --- src/utils/Utils.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/Utils.js b/src/utils/Utils.js index ac501e69..ccd6905a 100644 --- a/src/utils/Utils.js +++ b/src/utils/Utils.js @@ -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) {