Updated: dependencies

+ small fixes
This commit is contained in:
RainLoop Team 2016-10-18 20:52:43 +03:00
parent 760d9e6243
commit ae996b75f1
16 changed files with 59 additions and 67 deletions

View file

@ -1,7 +1,9 @@
import $ from '$';
import ko from 'ko';
import {isUnd} from 'Common/Utils';
import {i18nToNodes} from 'Common/Translator';
class AbstractComponent
{
@ -35,7 +37,7 @@ const componentExportHelper = (ClassObject, templateID = '') => ({
params.component = componentInfo;
params.element = $(componentInfo.element);
require('Common/Translator').i18nToNodes(params.element);
i18nToNodes(params.element);
if (!isUnd(params.inline) && ko.unwrap(params.inline))
{