mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-11-16 04:34:42 +08:00
aa84077ac4
Additional code refactoring
22 lines
340 B
JavaScript
22 lines
340 B
JavaScript
|
|
(function () {
|
|
|
|
'use strict';
|
|
|
|
var
|
|
ko = require('ko')
|
|
;
|
|
|
|
/**
|
|
* @constructor
|
|
*/
|
|
function PluginAdminStore()
|
|
{
|
|
this.collection = ko.observableArray([]);
|
|
this.collection.loading = ko.observable(false).extend({'throttle': 100});
|
|
this.collection.error = ko.observable('');
|
|
}
|
|
|
|
module.exports = new PluginAdminStore();
|
|
|
|
}());
|