summaryrefslogtreecommitdiff
path: root/src/rz_core.js
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2014-11-19 03:23:52 +0200
committerAlon Levy <alon@pobox.com>2014-11-25 15:09:32 +0200
commit82d7c563c2ac23315f85e7659542b63c1db2dc3d (patch)
treef197e424db6ec26937ff313c55fd50229ece309a /src/rz_core.js
parent5bc8f18710e2a4db6f5bfd5221ef1d30906a2b28 (diff)
rm unused el param
Diffstat (limited to 'src/rz_core.js')
-rw-r--r--src/rz_core.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rz_core.js b/src/rz_core.js
index 3b2ba31e..edd33aab 100644
--- a/src/rz_core.js
+++ b/src/rz_core.js
@@ -67,13 +67,12 @@ var initDrawingArea = function () {
}
}
- var el = document.body;
-
- graph = new model_graph.Graph(el);
+ graph = new model_graph.Graph();
//Zoom scale behavior in zoom.js
zoomObject = d3.behavior.zoom().scaleExtent([0.1, 3]).on("zoom", zoom);
+ var el = document.body;
vis = d3.select(el).append("svg:svg")
.attr('id', 'canvas_d3')
.attr("width", '100%')