snappymail/dev/Stores/Admin/Package.js

25 lines
389 B
JavaScript
Raw Normal View History

(function () {
'use strict';
var
ko = require('ko')
;
/**
* @constructor
*/
2015-02-03 07:58:58 +08:00
function PackageAdminStore()
{
2015-02-03 07:58:58 +08:00
this.packages = ko.observableArray([]);
this.packages.loading = ko.observable(false).extend({'throttle': 100});
this.packagesReal = ko.observable(true);
this.packagesMainUpdatable = ko.observable(true);
}
2015-02-03 07:58:58 +08:00
module.exports = new PackageAdminStore();
}());