Index: tracing/tracing/base/math/math.html |
diff --git a/tracing/tracing/base/math/math.html b/tracing/tracing/base/math/math.html |
index e0658a4160bfecadbc1e49334f3c48f43c4a55a7..85e6547a18cb2de20ff1be01167bed44668e511a 100644 |
--- a/tracing/tracing/base/math/math.html |
+++ b/tracing/tracing/base/math/math.html |
@@ -35,8 +35,7 @@ tr.exportTo('tr.b.math', function() { |
/* Returns true when x and y are within delta of each other. */ |
function approximately(x, y, delta) { |
- if (delta === undefined) |
- delta = 1e-9; |
+ if (delta === undefined) delta = 1e-9; |
return Math.abs(x - y) < delta; |
} |
@@ -95,8 +94,7 @@ tr.exportTo('tr.b.math', function() { |
var tmpMat2d = mat2d.create(); |
vec2.createFromArray = function(arr) { |
- if (arr.length !== 2) |
- throw new Error('Should be length 2'); |
+ if (arr.length !== 2) throw new Error('Should be length 2'); |
var v = vec2.create(); |
vec2.set(v, arr[0], arr[1]); |
return v; |
@@ -120,8 +118,7 @@ tr.exportTo('tr.b.math', function() { |
}; |
vec2.interpolatePiecewiseFunction = function(points, x) { |
- if (x < points[0][0]) |
- return points[0][1]; |
+ if (x < points[0][0]) return points[0][1]; |
for (var i = 1; i < points.length; ++i) { |
if (x < points[i][0]) { |
var percent = normalize(x, points[i - 1][0], points[i][0]); |