From 9d98787ae471a98493277a3aab3216689ff93c21 Mon Sep 17 00:00:00 2001 From: "olau@iola.dk" Date: Tue, 10 Mar 2009 10:21:25 +0000 Subject: [PATCH] Fixed use of keyword, reported by Booink git-svn-id: https://flot.googlecode.com/svn/trunk@145 1e0a6537-2640-0410-bfb7-f154510ff394 --- jquery.flot.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jquery.flot.js b/jquery.flot.js index 96f9d25..dd6e461 100644 --- a/jquery.flot.js +++ b/jquery.flot.js @@ -300,7 +300,7 @@ // determine the increment if (s.bars.show) { s.datapoints.incr = 3; - format.push({ default: 0 }); + format.push({ d: 0 }); } /* @@ -345,7 +345,7 @@ x = y = null; // make sure everything is cleared for (m = 2; m < incr; ++m) - points[k + m] = p[m] == null ? format[m-2].default : p[m]; + points[k + m] = p[m] == null ? format[m-2].d : p[m]; points[k + 1] = y; points[k] = x;