make indentation and blocking style consistent.
This commit is contained in:
parent
a3af2a21cf
commit
c5b88dbff2
@ -19,8 +19,9 @@ if(typeof events.EventEmitter.prototype.once !== 'function') {
|
||||
function arrayString(val) {
|
||||
var result = '{';
|
||||
for (var i = 0 ; i < val.length; i++) {
|
||||
if (i > 0)
|
||||
if (i > 0) {
|
||||
result = result + ',';
|
||||
}
|
||||
if (val[i] instanceof Date) {
|
||||
result = result + JSON.stringify(val[i]);
|
||||
}
|
||||
@ -31,8 +32,10 @@ function arrayString(val) {
|
||||
result = result + arrayString(val[i]);
|
||||
}
|
||||
else
|
||||
{
|
||||
result = result +
|
||||
(val[i] === null ? 'NULL' : JSON.stringify(val[i]));
|
||||
(val[i] === null ? 'NULL' : JSON.stringify(val[i]));
|
||||
}
|
||||
}
|
||||
result = result + '}';
|
||||
return result;
|
||||
|
Loading…
Reference in New Issue
Block a user