Merge pull request #21 from fschaefer/patch-1

Fix globally exposed variables.
master
Wes 2012-05-07 05:03:22 -07:00
commit cb137b535e
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
var $appendTo = $(opts.chartElement);
// build the tree
$this = $(this);
var $this = $(this);
var $container = $("<div class='" + opts.chartClass + "'/>");
if($this.is("ul")) {
buildNode($this.find("li:first"), $container, 0, opts);
@ -165,7 +165,7 @@
$downLineRow.append($downLineCell);
// draw the connecting line from the parent node to the horizontal line
$downLine = $("<div></div>").addClass("line down");
var $downLine = $("<div></div>").addClass("line down");
$downLineCell.append($downLine);
$tbody.append($downLineRow);