Merge pull request #11 from passy/patch-1
Prevent leak of 'graph' into global scope. Thanks passy! Ricardo
This commit is contained in:
commit
1e4ddf43d7
@ -52,7 +52,7 @@ nv.render = function render(step) {
|
||||
nv.dispatch.render_start();
|
||||
|
||||
setTimeout(function() {
|
||||
var chart;
|
||||
var chart, graph;
|
||||
|
||||
for (var i = 0; i < step && (graph = render.queue[i]); i++) {
|
||||
chart = graph.generate();
|
||||
|
Loading…
Reference in New Issue
Block a user