From e10b38bfcc31b72b27b16902a44ed321322090e8 Mon Sep 17 00:00:00 2001 From: David Schnur Date: Thu, 22 Nov 2012 13:10:42 -0500 Subject: [PATCH] Re-expose formatDate on the plot object. --- jquery.flot.time.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/jquery.flot.time.js b/jquery.flot.time.js index ee8639e..6421337 100644 --- a/jquery.flot.time.js +++ b/jquery.flot.time.js @@ -361,4 +361,10 @@ for details. version: '1.0' }); + // Time-axis support used to be in Flot core, which exposed the + // formatDate function on the plot object. Various plugins depend + // on the function, so we need to re-expose it here. + + $.plot.formatDate = formatDate; + })(jQuery);