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/options/chromeos | |
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/options/chromeos')
4 files changed, 7 insertions, 7 deletions
diff --git a/chrome/browser/resources/options/chromeos/bluetooth_device_list.js b/chrome/browser/resources/options/chromeos/bluetooth_device_list.js index c52429d..c9ce653 100644 --- a/chrome/browser/resources/options/chromeos/bluetooth_device_list.js +++ b/chrome/browser/resources/options/chromeos/bluetooth_device_list.js @@ -157,7 +157,7 @@ cr.define('options.system.bluetooth', function() { * is hidden is not properly rendered when the list becomes visible. In * addition, deleting a single item from the list results in a stale cache * requiring an invalidation. - * @param {String=} opt_selection Optional address of device to select + * @param {string=} opt_selection Optional address of device to select * after refreshing the list. */ refresh: function(opt_selection) { @@ -174,7 +174,7 @@ cr.define('options.system.bluetooth', function() { /** * Retrieves the address of the selected device, or null if no device is * selected. - * @return {?String} Address of selected device or null. + * @return {?string} Address of selected device or null. * @private */ getSelectedDevice_: function() { @@ -186,7 +186,7 @@ cr.define('options.system.bluetooth', function() { /** * Selects the device with the matching address. - * @param {String} address The unique address of the device. + * @param {string} address The unique address of the device. * @private */ setSelectedDevice_: function(address) { diff --git a/chrome/browser/resources/options/chromeos/bluetooth_pair_device_overlay.js b/chrome/browser/resources/options/chromeos/bluetooth_pair_device_overlay.js index f0e1107..4a6abb3 100644 --- a/chrome/browser/resources/options/chromeos/bluetooth_pair_device_overlay.js +++ b/chrome/browser/resources/options/chromeos/bluetooth_pair_device_overlay.js @@ -22,7 +22,7 @@ cr.define('options', function() { /** * List of IDs for conditionally visible elements in the dialog. - * @type {Array.<String>} + * @type {Array.<string>} * @const */ var ELEMENTS = ['bluetooth-pairing-passkey-display', diff --git a/chrome/browser/resources/options/chromeos/internet_detail_ip_address_field.js b/chrome/browser/resources/options/chromeos/internet_detail_ip_address_field.js index 5155ecd..d0a096c 100644 --- a/chrome/browser/resources/options/chromeos/internet_detail_ip_address_field.js +++ b/chrome/browser/resources/options/chromeos/internet_detail_ip_address_field.js @@ -83,8 +83,8 @@ cr.define('options.internet', function() { * whitespace and leading zeros from each of the octets so that they conform * to the normal format for IP addresses. * @override - * @param {String} value Input IP address to be mutated. - * @return {String} mutated IP address. + * @param {string} value Input IP address to be mutated. + * @return {string} mutated IP address. */ mutateInput: function(value) { if (!value) diff --git a/chrome/browser/resources/options/chromeos/pointer_overlay.js b/chrome/browser/resources/options/chromeos/pointer_overlay.js index a62b876..d6a4de9 100644 --- a/chrome/browser/resources/options/chromeos/pointer_overlay.js +++ b/chrome/browser/resources/options/chromeos/pointer_overlay.js @@ -55,7 +55,7 @@ cr.define('options', function() { * button that activates the overlay is also updated to stay in sync. A * message is displayed in the main settings page if no pointer devices are * available. - * @param {String} label i18n key for the overlay title. + * @param {string} label i18n key for the overlay title. */ PointerOverlay.setTitle = function(label) { var button = $('pointer-settings-button'); |