Merge pull request #11 from passy/patch-1

Prevent leak of 'graph' into global scope.

Thanks passy!
Ricardo
This commit is contained in:
Ricardo 2012-12-09 14:40:50 -08:00
commit 1e4ddf43d7

View File

@ -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();