Commit 8c385e77 authored by David Schnur's avatar David Schnur

Merge pull request #79 from lasseebert/master

Removed implicit global variables in threshold plugin.
parents 332aa559 850c3cc6
...@@ -56,8 +56,9 @@ events. ...@@ -56,8 +56,9 @@ events.
var origpoints = datapoints.points, var origpoints = datapoints.points,
addCrossingPoints = s.lines.show; addCrossingPoints = s.lines.show;
threspoints = []; var threspoints = [];
newpoints = []; var newpoints = [];
var m;
for (i = 0; i < origpoints.length; i += ps) { for (i = 0; i < origpoints.length; i += ps) {
x = origpoints[i] x = origpoints[i]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment