diff options
| author | LV-426 <lv-426@taproot.org.il> | 2015-01-13 01:51:01 +0200 |
|---|---|---|
| committer | LV-426 <lv-426@taproot.org.il> | 2015-01-13 01:51:01 +0200 |
| commit | e6ab11939fa2055224243676ee31332ed48b39d5 (patch) | |
| tree | 8c8c06dc3425b4020ddf98f5df3d6ce0cd0dc117 /src | |
| parent | df7393bce9b00dade07a26c15e9406b2e6c7fbc5 (diff) | |
commit_diff__attr doc string
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/model/graph.js | 7 |
1 files changed, 7 insertions, 0 deletions
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'); |
