summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/model/graph.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client/model/graph.js b/src/client/model/graph.js
index 99c63886..aa3f3b51 100644
--- a/src/client/model/graph.js
+++ b/src/client/model/graph.js
@@ -14,6 +14,7 @@ function Graph(spec) {
id_to_link_map,
id_to_link_id_set,
diffBus = new Bacon.Bus(),
+ activityBus = new Bacon.Bus(),
cached_links,
invalidate_links = true,
cached_nodes,
@@ -34,6 +35,10 @@ function Graph(spec) {
// bus contains the server events, not the user events (most of the time the same just with delay).
this.diffBus = diffBus;
+ // Same as diffBus, but includes operations done in the past, loaded when
+ // the document is loaded (commit log)
+ this.activityBus = activityBus;
+
var links_forEach = function (f) {
for (var link_key in id_to_link_map) {
f(id_to_link_map[link_key]);