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

Unified Diff: third_party/WebKit/Source/devtools/front_end/resources/DOMStorageItemsView.js

Issue 2444223002: [Devtools] Cleanup DataGrid's typecast and identifier naming (Closed)
Patch Set: changes Created 4 years, 2 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: third_party/WebKit/Source/devtools/front_end/resources/DOMStorageItemsView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/resources/DOMStorageItemsView.js b/third_party/WebKit/Source/devtools/front_end/resources/DOMStorageItemsView.js
index f4d4009cdc4639d25542c26fb784b6348bc37b94..14dfdd2c7e2bfb2295ac15032c5ef01a964ce8bd 100644
--- a/third_party/WebKit/Source/devtools/front_end/resources/DOMStorageItemsView.js
+++ b/third_party/WebKit/Source/devtools/front_end/resources/DOMStorageItemsView.js
@@ -182,10 +182,10 @@ WebInspector.DOMStorageItemsView.prototype = {
_dataGridForDOMStorageItems: function(items)
{
- var columns = [
- {id: "key", title: WebInspector.UIString("Key"), editable: true, weight: 50},
- {id: "value", title: WebInspector.UIString("Value"), editable: true, weight: 50}
- ];
+ var columns = /** @type {!Array<!WebInspector.DataGrid.ColumnDescriptor>} */ ([
+ {id: "key", title: WebInspector.UIString("Key"), sortable: false, editable: true, weight: 50},
+ {id: "value", title: WebInspector.UIString("Value"), sortable: false, editable: true, weight: 50}
+ ]);
var nodes = [];

Powered by Google App Engine
This is Rietveld 408576698