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

Unified Diff: ui/webui/resources/js/cr/ui/list_item.js

Issue 475633006: Typecheck JS files for chrome://extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@D_asserts_codingconvention
Patch Set: looked twice Created 6 years, 4 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: ui/webui/resources/js/cr/ui/list_item.js
diff --git a/ui/webui/resources/js/cr/ui/list_item.js b/ui/webui/resources/js/cr/ui/list_item.js
index a670a1f27f424f5fffc8623a2abbcedb3c5c5445..dc777f95eb5f5fc9dac747e838434f30f38a6bd5 100644
--- a/ui/webui/resources/js/cr/ui/list_item.js
+++ b/ui/webui/resources/js/cr/ui/list_item.js
@@ -49,7 +49,6 @@ cr.define('cr.ui', function() {
/**
* Whether the item is selected. Setting this does not update the underlying
* selection model. This is only used for display purpose.
- * @type {boolean}
*/
cr.defineProperty(ListItem, 'selected', cr.PropertyKind.BOOL_ATTR,
function() {
@@ -59,13 +58,12 @@ cr.define('cr.ui', function() {
/**
* Whether the item is the lead in a selection. Setting this does not update
* the underlying selection model. This is only used for display purpose.
- * @type {boolean}
*/
cr.defineProperty(ListItem, 'lead', cr.PropertyKind.BOOL_ATTR);
/**
* This item's index in the containing list.
- * @type {number}
+ * type {number}
*/
cr.defineProperty(ListItem, 'listIndex');

Powered by Google App Engine
This is Rietveld 408576698