diff options
| author | Alon Levy <alon@pobox.com> | 2014-12-29 17:52:38 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-01-05 13:23:57 +0200 |
| commit | e1203339003c32eb646b199d2ae69b7082228cc9 (patch) | |
| tree | ee0f25de577a1bd81dfa79b4b59c7747bb77c71d /src/client/model/diff.js | |
| parent | a4adf9cdf1b3f3aa2d85c188c1eb44ab13e0a660 (diff) | |
client: introduce is_attr_diff, start using diffBus for UI updating
Diffstat (limited to 'src/client/model/diff.js')
| -rw-r--r-- | src/client/model/diff.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/model/diff.js b/src/client/model/diff.js index 87fb03dd..4ad0d169 100644 --- a/src/client/model/diff.js +++ b/src/client/model/diff.js @@ -180,5 +180,6 @@ define([], new_attr_diff : new_attr_diff, new_vis_diff : new_vis_diff, new_diff_set : new_diff_set, + is_attr_diff: function (obj) { return obj instanceof Attr_Diff; }, } - });
\ No newline at end of file + }); |
