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

Unified Diff: tracing/tracing/base/event_target.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/base/color.html ('k') | tracing/tracing/base/extension_registry.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/base/event_target.html
diff --git a/tracing/tracing/base/event_target.html b/tracing/tracing/base/event_target.html
index f1decc458e31e4a46dc83b70683537394d797da7..7c95eda54349658622929f277bbddfec0bba681f 100644
--- a/tracing/tracing/base/event_target.html
+++ b/tracing/tracing/base/event_target.html
@@ -25,7 +25,7 @@ tr.exportTo('tr.b', function() {
}
EventTarget.decorate = function(target) {
for (var k in EventTarget.prototype) {
- if (k == 'decorate')
+ if (k === 'decorate')
continue;
var v = EventTarget.prototype[k];
if (typeof v !== 'function')
@@ -68,7 +68,7 @@ tr.exportTo('tr.b', function() {
var index = handlers.indexOf(handler);
if (index >= 0) {
// Clean up if this was the last listener.
- if (handlers.length == 1)
+ if (handlers.length === 1)
delete this.listeners_[type];
else
handlers.splice(index, 1);
@@ -123,7 +123,7 @@ tr.exportTo('tr.b', function() {
var EventTargetHelper = {
decorate: function(target) {
for (var k in EventTargetHelper) {
- if (k == 'decorate')
+ if (k === 'decorate')
continue;
var v = EventTargetHelper[k];
if (typeof v !== 'function')
« no previous file with comments | « tracing/tracing/base/color.html ('k') | tracing/tracing/base/extension_registry.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698