Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(738)

Unified Diff: chrome/browser/resources/options2/autofill_options_list.js

Issue 9316086: Fix JavaScript errors in options2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: new violations found after rebase Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/options2/autofill_options_list.js
diff --git a/chrome/browser/resources/options2/autofill_options_list.js b/chrome/browser/resources/options2/autofill_options_list.js
index c9ed67ce9ff07d3aa0aaa37fa7ba5d20b3c142fd..c784b8894993cd437ad700145339e046b1fdac37 100644
--- a/chrome/browser/resources/options2/autofill_options_list.js
+++ b/chrome/browser/resources/options2/autofill_options_list.js
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -146,7 +146,7 @@ cr.define('options.autofillOptions', function() {
},
/**
- * @return This item's value.
+ * @return {string} This item's value.
* @protected
*/
value_: function() {
@@ -155,7 +155,7 @@ cr.define('options.autofillOptions', function() {
/**
* @param {Object} value The value to test.
- * @return true if the given value is non-empty.
+ * @return {boolean} True if the given value is non-empty.
* @protected
*/
valueIsNonEmpty_: function(value) {
@@ -163,7 +163,7 @@ cr.define('options.autofillOptions', function() {
},
/**
- * @return true if value1 is logically equal to value2.
+ * @return {boolean} True if value1 is logically equal to value2.
*/
valuesAreEqual_: function(value1, value2) {
return value1 === value2;
@@ -275,9 +275,9 @@ cr.define('options.autofillOptions', function() {
/** @inheritDoc */
value_: function() {
- return [ this.firstNameInput.value,
- this.middleNameInput.value,
- this.lastNameInput.value ];
+ return [this.firstNameInput.value,
+ this.middleNameInput.value,
+ this.lastNameInput.value];
},
/** @inheritDoc */
@@ -314,7 +314,7 @@ cr.define('options.autofillOptions', function() {
AutofillProfileList.prototype = {
__proto__: DeletableItemList.prototype,
- decorate: function() {
+ decorate: function() {
DeletableItemList.prototype.decorate.call(this);
this.addEventListener('blur', this.onBlur_);

Powered by Google App Engine
This is Rietveld 408576698