git://git.webkit.org
/
WebKit-https.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Unreviewed race condition fix. Exit early when xScale or yScale is not defined.
[WebKit-https.git]
/
Websites
/
perf.webkit.org
/
public
/
v2
/
interactive-chart.js
diff --git
a/Websites/perf.webkit.org/public/v2/interactive-chart.js
b/Websites/perf.webkit.org/public/v2/interactive-chart.js
index d06d593cf322bdf0adc5bb88d808ba4cb6d9e6f0..9a04540a865b78e0b8517f566206ef8242cae400 100644
(file)
--- a/
Websites/perf.webkit.org/public/v2/interactive-chart.js
+++ b/
Websites/perf.webkit.org/public/v2/interactive-chart.js
@@
-645,6
+645,8
@@
App.InteractiveChartComponent = Ember.Component.extend({
var xScale = this._x;
var yScale = this._y;
+ if (!xScale || !yScale)
+ return;
// Expand the width of each range as needed and sort ranges by the left-edge of ranges.
var minWidth = 3;