From 850c3cc630f4bc3929226564c15d32e1a7c06dec Mon Sep 17 00:00:00 2001 From: Lasse Dahl Ebert Date: Fri, 28 Sep 2012 14:30:55 +0200 Subject: [PATCH] Converted implicit global variables to local variables --- jquery.flot.threshold.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jquery.flot.threshold.js b/jquery.flot.threshold.js index f40b0af..d68c404 100644 --- a/jquery.flot.threshold.js +++ b/jquery.flot.threshold.js @@ -56,8 +56,9 @@ events. var origpoints = datapoints.points, addCrossingPoints = s.lines.show; - threspoints = []; - newpoints = []; + var threspoints = []; + var newpoints = []; + var m; for (i = 0; i < origpoints.length; i += ps) { x = origpoints[i]