Commit 8c58241e authored by Romain Courteaud's avatar Romain Courteaud

Drop not needed variable.

parent 81fc3c1b
...@@ -8,15 +8,13 @@ ...@@ -8,15 +8,13 @@
}) })
.declareMethod('render', function (data) { .declareMethod('render', function (data) {
var gadget = this, return new Dygraph(
graph = new Dygraph( this.__element,
data || NoisyData, data || NoisyData,
{ {
roolPeriod: 7, roolPeriod: 7,
errorBars: true errorBars: true
} }
); );
return graph;
}); });
}(window, rJS, Dygraph, NoisyData)); }(window, rJS, Dygraph, NoisyData));
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