eslint (additional rules)

This commit is contained in:
RainLoop Team 2016-06-30 03:02:45 +03:00
parent 77a1d3f3df
commit 8e8a041032
150 changed files with 21911 additions and 23106 deletions

View file

@ -7,6 +7,7 @@ import {AbstractComponent} from 'Component/Abstract';
class AbstractInput extends AbstractComponent
{
/**
* @constructor
* @param {Object} params
*/
constructor(params) {
@ -32,10 +33,9 @@ class AbstractInput extends AbstractComponent
var
size = ko.unwrap(this.size),
suffixValue = this.trigger ?
' ' + trim('settings-saved-trigger-input ' + this.classForTrigger()) : ''
;
' ' + trim('settings-saved-trigger-input ' + this.classForTrigger()) : '';
return (size > 0 ? 'span' + size : '') + suffixValue;
return (0 < size ? 'span' + size : '') + suffixValue;
}, this);