summaryrefslogtreecommitdiff
path: root/scripts/model/graph.js
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2014-11-05 00:41:27 +0200
committerLV-426 <lv-426@taproot.org.il>2014-11-09 14:56:58 +0200
commit753196f3dd62f8c1fedb0036e922d3a220093ee9 (patch)
tree2886afce457bef291d6745d4dc6bcd0ef7c8ee37 /scripts/model/graph.js
parent82e87d0f203d14097f818f84a27dfc92f267422c (diff)
commit diff_set upon sentence analysis:
- backend_commit - allows client accumulating changes & select better commit timing
Diffstat (limited to 'scripts/model/graph.js')
-rw-r--r--scripts/model/graph.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/model/graph.js b/scripts/model/graph.js
index e3db1a1a..6ea6a3e4 100644
--- a/scripts/model/graph.js
+++ b/scripts/model/graph.js
@@ -478,6 +478,16 @@ function Graph(el) {
}
this.empty = empty;
+ // @ajax-trans
+ this.commit_diff_set = function (diff_set) {
+
+ function on_success(data){
+ // TODO impl
+ }
+
+ rz_api_mesh.broadcast_possible_next_diff_block(diff_set);
+ }
+
/**
/**
* perform initial DB load from backend