From 6e1a37095868f174d31d5c627c3659b70f9b92dd Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Thu, 19 Oct 2017 17:11:15 +0300 Subject: [PATCH] Fix interactive variables declaration order. --- src/jquery.flot.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/jquery.flot.js b/src/jquery.flot.js index c2c7dbf..0b9d4ca 100644 --- a/src/jquery.flot.js +++ b/src/jquery.flot.js @@ -814,6 +814,10 @@ Licensed under the MIT license. hooks: {} }, + // interactive features + highlights = [], + redrawTimeout = null, + // the canvas for the plot itself surface = null, @@ -3378,10 +3382,6 @@ Licensed under the MIT license. } } - // interactive features - var highlights = [], - redrawTimeout = null; - /** * returns the data item the mouse is over, or null if none is found */