summaryrefslogtreecommitdiff
path: root/src/client/model/graph.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-12-22 11:53:18 +0200
committerAlon Levy <alon@pobox.com>2014-12-22 11:53:18 +0200
commit6092cbbdd2864fcdd7f4c951915e8cb6629856c5 (patch)
tree6ffa511b3209982429ea58d9c65f53f446c48462 /src/client/model/graph.js
parent914e335962ac1d3aecec93b4a035cdc134555509 (diff)
client/graph: remove dead code (superceded by update_node)
Diffstat (limited to 'src/client/model/graph.js')
-rw-r--r--src/client/model/graph.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/client/model/graph.js b/src/client/model/graph.js
index a1647012..7e4d9ad7 100644
--- a/src/client/model/graph.js
+++ b/src/client/model/graph.js
@@ -465,17 +465,6 @@ function Graph() {
}
}
- this.editDates = function(id, state, start, end) {
- var n = find_node__by_id(id);
- if (state != n.state){
- return;
- }
- if ((n !== undefined)) {
- n.start = start;
- n.end = end;
- }
- }
-
/**
* editType:
*
@@ -485,10 +474,6 @@ function Graph() {
return this._editProperty(id, state, 'type', newtype);
}
- this.editURL = function(id, state, url) {
- return this._editProperty(id, state, 'url', url);
- }
-
this._editProperty = function(id, state, prop, value) {
var n = find_node__by_id(id);
if (state != n.state){
@@ -502,14 +487,6 @@ function Graph() {
return true;
}
- this.editStatus = function(id, state, status) {
- return this._editProperty(id, state, 'status', status);
- }
-
- this.editState = function(id, state, newstate) {
- return this._editProperty(id, state, 'state', newstate);
- }
-
this.findCoordinates = function(id) {
var n = find_node__by_id(id);
if ((index !== undefined)) {