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

Side by Side Diff: chrome/browser/resources/sync_file_system_internals/dump_database.js

Issue 2909503003: WebUI: Enable ESLint rule for missing semicolons. (Closed)
Patch Set: Undo local_ntp changes from this CL. Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * Handles DumpDatabase tab for syncfs-internals. 6 * Handles DumpDatabase tab for syncfs-internals.
7 */ 7 */
8 var DumpDatabase = (function() { 8 var DumpDatabase = (function() {
9 'use strict'; 9 'use strict';
10 10
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 var div = document.createElement('div'); 71 var div = document.createElement('div');
72 var table = document.createElement('table'); 72 var table = document.createElement('table');
73 var header = document.createElement('thead'); 73 var header = document.createElement('thead');
74 var body = document.createElement('tbody'); 74 var body = document.createElement('tbody');
75 createDatabaseDumpTable(div, header, body, databaseDump[i]); 75 createDatabaseDumpTable(div, header, body, databaseDump[i]);
76 table.appendChild(header); 76 table.appendChild(header);
77 table.appendChild(body); 77 table.appendChild(body);
78 div.appendChild(table); 78 div.appendChild(table);
79 placeholder.appendChild(div); 79 placeholder.appendChild(div);
80 } 80 }
81 } 81 };
82 82
83 function main() { 83 function main() {
84 getDatabaseDump(); 84 getDatabaseDump();
85 $('refresh-database-dump').addEventListener('click', getDatabaseDump); 85 $('refresh-database-dump').addEventListener('click', getDatabaseDump);
86 } 86 }
87 87
88 document.addEventListener('DOMContentLoaded', main); 88 document.addEventListener('DOMContentLoaded', main);
89 return DumpDatabase; 89 return DumpDatabase;
90 })(); 90 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698