Commit 39d400d1 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

cleanup javascript.

parent e9301c94
...@@ -257,7 +257,7 @@ ...@@ -257,7 +257,7 @@
}); });
rows.push(columns); rows.push(columns);
}); });
}; }
manpy_dict['nodes'] = nodes; manpy_dict['nodes'] = nodes;
manpy_dict['edges'] = data['edges']; manpy_dict['edges'] = data['edges'];
manpy_dict['general'] = data['general']; manpy_dict['general'] = data['general'];
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
n += 1; n += 1;
} }
return element_type + '_' + n; return element_type + '_' + n;
} };
that.generateElementId = function () { that.generateElementId = function () {
var n = 1; var n = 1;
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
n += 1; n += 1;
} }
return 'DreamNode_' + n; return 'DreamNode_' + n;
} };
priv.initJsPlumb = function () { priv.initJsPlumb = function () {
jsPlumb.setRenderMode(jsPlumb.SVG); jsPlumb.setRenderMode(jsPlumb.SVG);
...@@ -228,7 +228,7 @@ ...@@ -228,7 +228,7 @@
lineWidth: 2, lineWidth: 2,
outlineColor: "transparent", outlineColor: "transparent",
outlineWidth: 4 outlineWidth: 4
}, }
}); });
jsPlumb.makeTarget(jsPlumb.getSelector(".window"), { jsPlumb.makeTarget(jsPlumb.getSelector(".window"), {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment