equal
deleted
inserted
replaced
27 }; |
27 }; |
28 var _thrSave = Rkns._.throttle( |
28 var _thrSave = Rkns._.throttle( |
29 function() { |
29 function() { |
30 setTimeout(_save, 100); |
30 setTimeout(_save, 100); |
31 }, 1000); |
31 }, 1000); |
32 _proj.on("add:nodes add:edges add:users", function(_model) { |
32 _proj.on("add:nodes add:edges add:users add:views", function(_model) { |
33 _model.on("change remove", function(_model) { |
33 _model.on("change remove", function(_model) { |
34 _thrSave(); |
34 _thrSave(); |
35 }); |
35 }); |
36 _thrSave(); |
36 _thrSave(); |
37 }); |
37 }); |