mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-06 07:57:02 +03:00
Add more strict rules (eslint)
This commit is contained in:
parent
b43bb17cdb
commit
52e2698cdf
38 changed files with 488 additions and 434 deletions
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
import {_} from 'common';
|
||||
import _ from '_';
|
||||
import ko from 'ko';
|
||||
import {isUnd} from 'Common/Utils';
|
||||
import {AbstractComponent} from 'Component/Abstract';
|
||||
|
|
@ -27,9 +27,7 @@ class AbstracRadio extends AbstractComponent
|
|||
|
||||
if (params.values)
|
||||
{
|
||||
this.values(_.map(params.values, (label, value) => {
|
||||
return {label: label, value: value};
|
||||
}));
|
||||
this.values(_.map(params.values, (label, value) => ({label: label, value: value})));
|
||||
}
|
||||
|
||||
this.click = _.bind(this.click, this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue