Remove block for single-statement if

fork
Chotiwat Chawannakul 12 years ago
parent 46c5dd5eef
commit 8323a6f738

@ -178,9 +178,9 @@ exports.parseBodyStructure = function(cur, literals, prefix, partID) {
++next;
// body
if (partLen > next && Array.isArray(cur[next])) {
if (partLen > next && Array.isArray(cur[next]))
part.body = exports.parseBodyStructure(cur[next], literals, prefix, 1);
} else
else
part.body = null;
++next;
}

Loading…
Cancel
Save