summaryrefslogtreecommitdiff
path: root/scripts/rz_core.js
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2014-11-11 01:43:31 +0200
committerAlon Levy <alon@pobox.com>2014-11-11 14:30:09 +0200
commit5f7525801ace4a273d77a7e04adeff532a96f5c4 (patch)
tree0bfd1b6aa9c59fe48848da224c5d904ac161cb68 /scripts/rz_core.js
parent067af14c0f9920f2cd5af7c409aee6ac3f8cba14 (diff)
main.js: rm module dependecy on rz_core for sole function: expand()
Diffstat (limited to 'scripts/rz_core.js')
-rw-r--r--scripts/rz_core.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/scripts/rz_core.js b/scripts/rz_core.js
index e4a2a3f4..a4d5c323 100644
--- a/scripts/rz_core.js
+++ b/scripts/rz_core.js
@@ -717,18 +717,10 @@ function customSize(type) {
return size;
}
-function expand(obj){
- if (!obj.savesize) {
- obj.savesize = obj.size;
- }
- obj.size = Math.max(obj.savesize, obj.value.length);
-}
-
window.graph = graph;
window.force = force;
return {
- expand: expand,
graph: graph,
force: force,
load_from_json: function(result) {