2
Fork 0

some white space and comma fixes

This commit is contained in:
Willem 2016-11-20 16:11:05 +01:00
parent 8586667828
commit d4f681e28c

View file

@ -115,14 +115,14 @@
progres: { progres: {
items: { items: {
enable: true, enable: true,
size: 50, size: 50
}, },
bar: { bar: {
enable: true, enable: true,
percentage: true, percentage: true
} }
}, },
delayDss: false, // TODO: move to cache type options delayDss: false // TODO: move to cache type options
}, },
cache: { cache: {
meta: null, meta: null,
@ -301,7 +301,7 @@
}); });
} }
}; };
}, }
} }
}; };
@ -551,8 +551,6 @@
valueNew.splice(keyIdx,1); valueNew.splice(keyIdx,1);
} }
} }
//utilDebug('cleanupCache value1: '+JSON.stringify(value));
//utilDebug('cleanupCache value2: '+JSON.stringify(valueNew));
utilRunStack('cleanupCacheItems',diff, function(key, cb) { utilRunStack('cleanupCacheItems',diff, function(key, cb) {
cacheDeleteValue(typeKey.type,key,cb); cacheDeleteValue(typeKey.type,key,cb);
@ -887,9 +885,9 @@
var inputValueHost = null; var inputValueHost = null;
if (inputValueRaw.indexOf("://") >= 0) { if (inputValueRaw.indexOf("://") >= 0) {
inputValueHost = inputValueRaw.split('/')[2]; inputValueHost = inputValueRaw.split('/')[2];
} else { } else {
inputValueHost = inputValueRaw.split('/')[0]; inputValueHost = inputValueRaw.split('/')[0];
} }
var inputValuePath = inputValueRaw.split(inputValueHost)[1]; var inputValuePath = inputValueRaw.split(inputValueHost)[1];
if (options.question.validate.min.value !== false && inputValueHost.length < options.question.validate.min.value) { if (options.question.validate.min.value !== false && inputValueHost.length < options.question.validate.min.value) {