Added csscomb

Small fixes
This commit is contained in:
RainLoop Team 2014-08-29 19:30:52 +04:00
parent 39255ae061
commit 8013c0dc25
16 changed files with 5232 additions and 4474 deletions

View file

@ -5,21 +5,27 @@
'use strict';
var
ko = require('ko')
ko = require('ko'),
Utils = require('Utils')
;
/**
* @constructor
*
* @param {string} sEmail
* @param {boolean=} bCanBeDelete = true
* @constructor
*/
function AccountModel(sEmail, bCanBeDelete)
{
this.email = sEmail;
this.deleteAccess = ko.observable(false);
this.canBeDalete = ko.observable(bCanBeDelete);
this.canBeDalete = ko.observable(Utils.isUnd(bCanBeDelete) ? true : !!bCanBeDelete);
}
/**
* @type {string}
*/
AccountModel.prototype.email = '';
/**

View file

@ -16,7 +16,7 @@
*/
function FilterModel()
{
this.new = ko.observable(true);
this.isNew = ko.observable(true);
this.enabled = ko.observable(true);
this.name = ko.observable('');