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

Unified Diff: tracing/tracing/ui/base/mouse_mode_selector.html

Issue 2390373003: Change all == to === and != to !== in trace viewer. (Closed)
Patch Set: more changes from code review 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
« no previous file with comments | « tracing/tracing/ui/base/list_view.html ('k') | tracing/tracing/ui/base/name_bar_chart.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/base/mouse_mode_selector.html
diff --git a/tracing/tracing/ui/base/mouse_mode_selector.html b/tracing/tracing/ui/base/mouse_mode_selector.html
index 417e44f54732325ca8e9672d8b9a622ae0057bfa..3570826ac99a1623696ae46bc6436efafbe87bf4 100644
--- a/tracing/tracing/ui/base/mouse_mode_selector.html
+++ b/tracing/tracing/ui/base/mouse_mode_selector.html
@@ -213,7 +213,7 @@ tr.exportTo('tr.ui.b', function() {
this.supportedModeMask_ = supportedModeMask;
Polymer.dom(this.buttonsEl_).textContent = '';
for (var modeName in MOUSE_SELECTOR_MODE) {
- if (modeName == 'ALL_MODES')
+ if (modeName === 'ALL_MODES')
continue;
var mode = MOUSE_SELECTOR_MODE[modeName];
if ((this.supportedModeMask_ & mode) === 0)
@@ -404,7 +404,7 @@ tr.exportTo('tr.ui.b', function() {
onKeyDown_: function(e) {
// Keys dispatched to INPUT elements still bubble, even when they're
// handled. So, skip any events that targeted the input element.
- if (e.path[0].tagName == 'INPUT')
+ if (e.path[0].tagName === 'INPUT')
return;
if (e.keyCode === ' '.charCodeAt(0))
@@ -415,7 +415,7 @@ tr.exportTo('tr.ui.b', function() {
onKeyUp_: function(e) {
// Keys dispatched to INPUT elements still bubble, even when they're
// handled. So, skip any events that targeted the input element.
- if (e.path[0].tagName == 'INPUT')
+ if (e.path[0].tagName === 'INPUT')
return;
if (e.keyCode === ' '.charCodeAt(0))
« no previous file with comments | « tracing/tracing/ui/base/list_view.html ('k') | tracing/tracing/ui/base/name_bar_chart.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698