mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 14:37:02 +03:00
js -> jsx
This commit is contained in:
parent
3bcf23f8fa
commit
08ccf55577
43 changed files with 2342 additions and 2347 deletions
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
import {_} from 'common';
|
||||
import ko from 'ko';
|
||||
import Utils from 'Common/Utils';
|
||||
import {isUnd} from 'Common/Utils';
|
||||
import {AbstractComponent} from 'Component/Abstract';
|
||||
|
||||
class AbstracRadio extends AbstractComponent
|
||||
|
|
@ -16,13 +16,13 @@ class AbstracRadio extends AbstractComponent
|
|||
this.values = ko.observableArray([]);
|
||||
|
||||
this.value = params.value;
|
||||
if (Utils.isUnd(this.value) || !this.value.subscribe)
|
||||
if (isUnd(this.value) || !this.value.subscribe)
|
||||
{
|
||||
this.value = ko.observable('');
|
||||
}
|
||||
|
||||
this.inline = Utils.isUnd(params.inline) ? false : params.inline;
|
||||
this.readOnly = Utils.isUnd(params.readOnly) ? false : !!params.readOnly;
|
||||
this.inline = isUnd(params.inline) ? false : params.inline;
|
||||
this.readOnly = isUnd(params.readOnly) ? false : !!params.readOnly;
|
||||
|
||||
if (params.values)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue