Code refactoring (v2)

This commit is contained in:
RainLoop Team 2016-06-17 02:23:49 +03:00
parent 90d95d3ca4
commit 80ab02363e
29 changed files with 858 additions and 857 deletions

View file

@ -1,5 +1,5 @@
import Translator from 'Common/Translator';
import {i18n} from 'Common/Translator';
import {defautOptionsAfterRender} from 'Common/Utils';
import {componentExportHelper} from 'Component/Abstract';
import {AbstractInput} from 'Component/AbstractInput';
@ -21,7 +21,7 @@ class SelectComponent extends AbstractInput
if (this.optionsCaption)
{
this.optionsCaption = Translator.i18n(this.optionsCaption);
this.optionsCaption = i18n(this.optionsCaption);
}
this.defautOptionsAfterRender = defautOptionsAfterRender;