public/js/data-access.js in kolo-0.8.1 vs public/js/data-access.js in kolo-0.8.2

- old
+ new

@@ -111,10 +111,14 @@ }; })(this)); } } + Db.prototype.systemNotification = function(name, value) { + return this.viewModel.systemNotification(name, value); + }; + Db.prototype.find = function(id) { var item, _i, _len, _ref; _ref = this.items(); for (_i = 0, _len = _ref.length; _i < _len; _i++) { item = _ref[_i]; @@ -176,11 +180,11 @@ this.autoLoading = true; setTimeout((function(_this) { return function() { return _this.load(true, afterLoad); }; - })(this), 30000); + })(this), 120000); } return false; }; Db.prototype.postTo = function(url, data, afterPost) { @@ -444,9 +448,13 @@ }; Model.prototype.doDestroy = function() { this.deselect(); return this.db.doDestroy(this); + }; + + Model.prototype.systemNotification = function(name, value) { + return this.db.systemNotification(name, value); }; return Model; })();