diff options
author | Madhura Jayaratne <madhura.cj@gmail.com> | 2013-05-04 13:07:50 +0400 |
---|---|---|
committer | Madhura Jayaratne <madhura.cj@gmail.com> | 2013-05-04 13:07:50 +0400 |
commit | ce77a26a7314922bbf29ddba1bb97df2bd082d48 (patch) | |
tree | 72fbe0f8c3dfc422078b83fa0e78b1994ca4c82c /js/chart.js | |
parent | ee8c4895875374879fe32fe8a96ebf87deecea7c (diff) |
Initialize to null for '!== null' checks to work
Diffstat (limited to 'js/chart.js')
-rw-r--r-- | js/chart.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/chart.js b/js/chart.js index fd0cffc785..ee4e23f01e 100644 --- a/js/chart.js +++ b/js/chart.js @@ -216,7 +216,7 @@ JQPlotChartFactory.prototype.createChart = function (type, elementId) { */ var JQPlotChart = function (elementId) { Chart.call(this, elementId); - this.plot; + this.plot = null; this.validator; }; JQPlotChart.prototype = new Chart(); |