mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 13:09:21 +03:00
prettier --write
This commit is contained in:
parent
450528ff00
commit
8a0be3212d
164 changed files with 7053 additions and 9008 deletions
|
|
@ -1,14 +1,12 @@
|
|||
|
||||
import ko from 'ko';
|
||||
|
||||
import {ContactPropertyType} from 'Common/Enums';
|
||||
import {pInt, pString} from 'Common/Utils';
|
||||
import {i18n} from 'Common/Translator';
|
||||
import { ContactPropertyType } from 'Common/Enums';
|
||||
import { pInt, pString } from 'Common/Utils';
|
||||
import { i18n } from 'Common/Translator';
|
||||
|
||||
import {AbstractModel} from 'Knoin/AbstractModel';
|
||||
import { AbstractModel } from 'Knoin/AbstractModel';
|
||||
|
||||
class ContactPropertyModel extends AbstractModel
|
||||
{
|
||||
class ContactPropertyModel extends AbstractModel {
|
||||
/**
|
||||
* @param {number=} type = Enums.ContactPropertyType.Unknown
|
||||
* @param {string=} typeStr = ''
|
||||
|
|
@ -16,8 +14,7 @@ class ContactPropertyModel extends AbstractModel
|
|||
* @param {boolean=} focused = false
|
||||
* @param {string=} placeholder = ''
|
||||
*/
|
||||
constructor(type = ContactPropertyType.Unknown, typeStr = '', value = '', focused = false, placeholder = '')
|
||||
{
|
||||
constructor(type = ContactPropertyType.Unknown, typeStr = '', value = '', focused = false, placeholder = '') {
|
||||
super('ContactPropertyModel');
|
||||
|
||||
this.type = ko.observable(pInt(type));
|
||||
|
|
@ -38,4 +35,4 @@ class ContactPropertyModel extends AbstractModel
|
|||
}
|
||||
}
|
||||
|
||||
export {ContactPropertyModel, ContactPropertyModel as default};
|
||||
export { ContactPropertyModel, ContactPropertyModel as default };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue