From e6ab11939fa2055224243676ee31332ed48b39d5 Mon Sep 17 00:00:00 2001 From: LV-426 Date: Tue, 13 Jan 2015 01:51:01 +0200 Subject: commit_diff__attr doc string --- src/client/model/graph.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/client/model/graph.js b/src/client/model/graph.js index f89c7c97..0c120b8c 100644 --- a/src/client/model/graph.js +++ b/src/client/model/graph.js @@ -768,6 +768,13 @@ function Graph(spec) { } this.commit_diff__topo = commit_diff__topo; + /** + * Apply a Attr_Diff: + * - commit diff to the local graph instanse + * - emit a diffBus event + * + * This function should not trigger remote transmission of diff object + */ function commit_diff__attr(attr_diff) { util.assert(model_diff.is_attr_diff(attr_diff), 'commit_diff__attr: argument type != Attr_Diff'); -- cgit v1.3.1