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

Unified Diff: ui/webui/resources/js/cr/ui/table/table_column.js

Issue 2779663002: Compile cr.ui.Table and cr.ui.table.* in gyp v2 (Closed)
Patch Set: . Created 3 years, 9 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/table/table_column.js
diff --git a/ui/webui/resources/js/cr/ui/table/table_column.js b/ui/webui/resources/js/cr/ui/table/table_column.js
index c5febceeebc117a569834c6f98d11caecad529d1..1a5ef2b08dee168ef939ba0f900e5956cc06101c 100644
--- a/ui/webui/resources/js/cr/ui/table/table_column.js
+++ b/ui/webui/resources/js/cr/ui/table/table_column.js
@@ -51,7 +51,7 @@ cr.define('cr.ui.table', function() {
* Renders table cell. This is the default render function.
* @param {*} dataItem The data item to be rendered.
* @param {string} columnId The column id.
- * @param {cr.ui.Table} table The table.
+ * @param {Element} table The table.
* @return {HTMLElement} Rendered element.
*/
renderFunction_: function(dataItem, columnId, table) {
@@ -64,7 +64,7 @@ cr.define('cr.ui.table', function() {
/**
* Renders table header. This is the default render function.
- * @param {cr.ui.Table} table The table.
+ * @param {Element} table The table.
* @return {Text} Rendered text node.
*/
headerRenderFunction_: function(table) {
@@ -121,13 +121,13 @@ cr.define('cr.ui.table', function() {
/**
* The column render function.
- * @type {function(*, string, cr.ui.Table): HTMLElement}
+ * @type {function(*, string, Element): HTMLElement}
*/
cr.defineProperty(TableColumn, 'renderFunction');
/**
* The column header render function.
- * @type {function(cr.ui.Table): Text}
+ * @type {function(Element): Text}
*/
cr.defineProperty(TableColumn, 'headerRenderFunction');
« no previous file with comments | « ui/webui/resources/js/cr/ui/table/compiled_resources2.gyp ('k') | ui/webui/resources/js/cr/ui/table/table_column_model.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698