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

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

Issue 512003002: Revert of Revert "Typecheck JS files for chrome://extensions" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « ui/webui/resources/js/cr/ui/list.js ('k') | ui/webui/resources/js/cr/ui/list_selection_controller.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..e548a8080186febe25af62b5dc25a7e0313748e7 100644
--- a/ui/webui/resources/js/cr/ui/list_item.js
+++ b/ui/webui/resources/js/cr/ui/list_item.js
@@ -6,7 +6,6 @@
/**
* Creates a new list item element.
- * @param {string} opt_label The text label for the item.
* @constructor
* @extends {HTMLLIElement}
*/
@@ -49,7 +48,6 @@
/**
* 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 +57,12 @@
/**
* 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');
« no previous file with comments | « ui/webui/resources/js/cr/ui/list.js ('k') | ui/webui/resources/js/cr/ui/list_selection_controller.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698