Index: tracing/tracing/base/utils.html |
diff --git a/tracing/tracing/base/utils.html b/tracing/tracing/base/utils.html |
index eddb023e7e37443e247e93fc81f4cbc316256e8c..2f71be02483540036cd083d9c6a19116d1956648 100644 |
--- a/tracing/tracing/base/utils.html |
+++ b/tracing/tracing/base/utils.html |
@@ -27,11 +27,11 @@ tr.exportTo('tr.b', function() { |
if (!(value instanceof Object)) { |
if (value === undefined || value === null) |
return value; |
- if (typeof value == 'string') |
+ if (typeof value === 'string') |
return value.substring(); |
- if (typeof value == 'boolean') |
+ if (typeof value === 'boolean') |
return value; |
- if (typeof value == 'number') |
+ if (typeof value === 'number') |
return value; |
throw new Error('Unrecognized: ' + typeof value); |
} |
@@ -44,7 +44,7 @@ tr.exportTo('tr.b', function() { |
return res; |
} |
- if (object.__proto__ != Object.prototype) |
+ if (object.__proto__ !== Object.prototype) |
throw new Error('Can only clone simple types'); |
var res = {}; |
for (var key in object) { |
@@ -62,7 +62,7 @@ tr.exportTo('tr.b', function() { |
}; |
} |
- if (typeof(e) == 'string') { |
+ if (typeof(e) === 'string') { |
return { |
typeName: 'StringError', |
message: e, |