Added q.min file

This commit is contained in:
RainLoop Team 2015-03-26 02:16:53 +04:00
parent ed7acaa33f
commit c4aabb0cd4
7 changed files with 18 additions and 27 deletions

View file

@ -16,6 +16,7 @@
function AccountUserStore()
{
this.email = ko.observable('');
this.parentEmail = ko.observable('');
// this.incLogin = ko.observable('');
// this.outLogin = ko.observable('');
@ -54,6 +55,15 @@
AccountUserStore.prototype.populate = function ()
{
this.email(Settings.settingsGet('Email'));
this.parentEmail(Settings.settingsGet('ParentEmail'));
};
/**
* @returns {boolean}
*/
AccountUserStore.prototype.isRootAccount = function ()
{
return '' === this.parentEmail();
};
module.exports = new AccountUserStore();