aboutsummaryrefslogtreecommitdiff
path: root/src/parseTools.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-02-26 15:35:42 -0500
committerAlon Zakai <alonzakai@gmail.com>2013-02-26 15:35:42 -0500
commita953e386a95082f1a7e00f88b4bbc5b91ba0cc4f (patch)
tree9a3f8ca651b066f05591b222546016e1062c3110 /src/parseTools.js
parentf3cc2377985a3a4b6de0ef36213f68df1db125e7 (diff)
split chunked global initializations over several lines
Diffstat (limited to 'src/parseTools.js')
-rw-r--r--src/parseTools.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parseTools.js b/src/parseTools.js
index 357d33a1..6e0d6e32 100644
--- a/src/parseTools.js
+++ b/src/parseTools.js
@@ -1548,7 +1548,7 @@ function makePointer(slab, pos, allocator, type, ptr) {
var ret = '';
var index = 0;
while (index < array.length) {
- ret = (ret ? ret + '.concat(' : '') + '[' + array.slice(index, index + chunkSize).map(JSON.stringify) + ']' + (ret ? ')' : '');
+ ret = (ret ? ret + '.concat(' : '') + '[' + array.slice(index, index + chunkSize).map(JSON.stringify) + ']' + (ret ? ')\n' : '');
index += chunkSize;
}
return ret;