ES5 space-unary-ops

This commit is contained in:
Amine Ben hammou
2017-09-21 08:52:30 +00:00
parent 33572b2dc7
commit 1f9bd04308
3 changed files with 3 additions and 4 deletions

View File

@@ -895,7 +895,7 @@ define(
for (var format in allowedDateFormats) {
var testedFormat = allowedDateFormats[format];
if (Moment(firstRowData, testedFormat, true).isValid()) {
var validationRule = (typeof(testedFormat) === 'function') ?
var validationRule = (typeof (testedFormat) === 'function') ?
'datetime' :
testedFormat;
// set validation on the column element