js -> jsx

This commit is contained in:
RainLoop Team 2016-06-07 00:57:52 +03:00
parent 3bcf23f8fa
commit 08ccf55577
43 changed files with 2342 additions and 2347 deletions

View file

@ -1,5 +1,5 @@
import Utils from 'Common/Utils';
import {isNonEmptyArray, isUnd} from 'Common/Utils';
import EmailModel from 'Model/Email';
class MessageHelper
@ -20,7 +20,7 @@ class MessageHelper
len = 0
;
if (Utils.isNonEmptyArray(emails))
if (isNonEmptyArray(emails))
{
for (index = 0, len = emails.length; index < len; index++)
{
@ -43,7 +43,7 @@ class MessageHelper
len = 0
;
if (Utils.isNonEmptyArray(emails))
if (isNonEmptyArray(emails))
{
for (index = 0, len = emails.length; index < len; index++)
{
@ -70,7 +70,7 @@ class MessageHelper
result = []
;
if (Utils.isNonEmptyArray(json))
if (isNonEmptyArray(json))
{
for (index = 0, len = json.length; index < len; index++)
{
@ -99,7 +99,7 @@ class MessageHelper
for (; index < len; index++)
{
if (Utils.isUnd(unic[inputEmails[index].email]))
if (isUnd(unic[inputEmails[index].email]))
{
unic[inputEmails[index].email] = true;
localEmails.push(inputEmails[index]);