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

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

Issue 2603443002: Clang format JS: Disallow single line functions, conditionals, loops, and switch statements (Closed)
Patch Set: update c/b/r/ as well 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
« no previous file with comments | « ui/webui/resources/js/cr/ui/focus_outline_manager.js ('k') | ui/webui/resources/js/cr/ui/grid.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/focus_row.js
diff --git a/ui/webui/resources/js/cr/ui/focus_row.js b/ui/webui/resources/js/cr/ui/focus_row.js
index 36b5865440638f81496d980145acb7e65bc95ead..652b0353f61a2ab23e4fb8dda774747ac55322f6 100644
--- a/ui/webui/resources/js/cr/ui/focus_row.js
+++ b/ui/webui/resources/js/cr/ui/focus_row.js
@@ -126,7 +126,9 @@ cr.define('cr.ui', function() {
},
/** Dereferences nodes and removes event handlers. */
- destroy: function() { this.eventTracker.removeAll(); },
+ destroy: function() {
+ this.eventTracker.removeAll();
+ },
/**
* @param {!Element} sampleElement An element for to find an equivalent for.
« no previous file with comments | « ui/webui/resources/js/cr/ui/focus_outline_manager.js ('k') | ui/webui/resources/js/cr/ui/grid.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698