diff options
| author | LV-426 <lv-426@taproot.org.il> | 2014-11-19 03:23:52 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-11-25 15:09:32 +0200 |
| commit | 82d7c563c2ac23315f85e7659542b63c1db2dc3d (patch) | |
| tree | f197e424db6ec26937ff313c55fd50229ece309a /src/rz_core.js | |
| parent | 5bc8f18710e2a4db6f5bfd5221ef1d30906a2b28 (diff) | |
rm unused el param
Diffstat (limited to 'src/rz_core.js')
| -rw-r--r-- | src/rz_core.js | 5 |
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%') |
