diff options
author | dbeam@chromium.org <dbeam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-20 02:50:45 +0000 |
---|---|---|
committer | dbeam@chromium.org <dbeam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-20 02:50:45 +0000 |
commit | c4991f239998abe4a577be06c4419666c85556cd (patch) | |
tree | 33cff918c80bc3333f095886a4d0ca0981cd9e94 /chrome/browser/resources/net_internals/time_util.js | |
parent | 3024571e695e2da3e3caaed51302806b93c8973d (diff) | |
download | chromium_src-c4991f239998abe4a577be06c4419666c85556cd.zip chromium_src-c4991f239998abe4a577be06c4419666c85556cd.tar.gz chromium_src-c4991f239998abe4a577be06c4419666c85556cd.tar.bz2 |
[web_dev_style] (Boolean|Number|String) -> (boolean|number|string) and add
presubmit check.
BUG=113202
TEST=chrome/browser/resources/test_presubmit.py
Review URL: https://codereview.chromium.org/11628003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174083 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources/net_internals/time_util.js')
-rw-r--r-- | chrome/browser/resources/net_internals/time_util.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/resources/net_internals/time_util.js b/chrome/browser/resources/net_internals/time_util.js index 9e412bbf..8751947 100644 --- a/chrome/browser/resources/net_internals/time_util.js +++ b/chrome/browser/resources/net_internals/time_util.js @@ -25,7 +25,7 @@ var timeutil = (function() { * This function converts the tick count to a Javascript "time", which is * the UTC time in milliseconds. * - * @param {String} timeTicks A time represented in "time ticks". + * @param {string} timeTicks A time represented in "time ticks". * @return {number} The Javascript time that |timeTicks| represents. */ function convertTimeTicksToTime(timeTicks) { @@ -36,7 +36,7 @@ var timeutil = (function() { * The browser gives us times in terms of "time ticks" in milliseconds. * This function converts the tick count to a Date() object. * - * @param {String} timeTicks A time represented in "time ticks". + * @param {string} timeTicks A time represented in "time ticks". * @return {Date} The time that |timeTicks| represents. */ function convertTimeTicksToDate(timeTicks) { @@ -69,7 +69,7 @@ var timeutil = (function() { * Returns a string representation of |date|. * * @param {Date} date The date to be represented. - * @return {String} A string representation of |date|. + * @return {string} A string representation of |date|. */ function dateToString(date) { var dateStr = date.getFullYear() + '-' + |