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

Unified Diff: chrome/browser/resources/device_log_ui/device_log_ui.js

Issue 2600683002: Run tools/clang-format-js on some of chrome/browser/resources/ (Closed)
Patch Set: event_handler.js Created 4 years 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: chrome/browser/resources/device_log_ui/device_log_ui.js
diff --git a/chrome/browser/resources/device_log_ui/device_log_ui.js b/chrome/browser/resources/device_log_ui/device_log_ui.js
index acee79aa41d603abe20b08884e5828d4adce4f97..7472d8e6f305b82e6dde22bcd3276f4cd21eeaab 100644
--- a/chrome/browser/resources/device_log_ui/device_log_ui.js
+++ b/chrome/browser/resources/device_log_ui/device_log_ui.js
@@ -63,10 +63,7 @@ var DeviceLogUI = (function() {
else
timestamp = logEntry['timestampshort'];
textWrapper.textContent = loadTimeData.getStringF(
- 'logEntryFormat',
- timestamp,
- fileinfo,
- logEntry['event']);
+ 'logEntryFormat', timestamp, fileinfo, logEntry['event']);
res.appendChild(createTypeTag(type));
res.appendChild(createLevelTag(level));
res.appendChild(textWrapper);
@@ -97,7 +94,7 @@ var DeviceLogUI = (function() {
var getLogCallback = function(data) {
try {
createEventLog(JSON.parse(data));
- } catch(e) {
+ } catch (e) {
var container = $('log-container');
container.textContent = 'No log entries';
}
@@ -148,7 +145,5 @@ var DeviceLogUI = (function() {
requestLog();
});
- return {
- getLogCallback: getLogCallback
- };
+ return {getLogCallback: getLogCallback};
})();

Powered by Google App Engine
This is Rietveld 408576698