aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolden Rohrer <holden.rohrer@gmail.com>2019-12-18 23:07:39 -0500
committerHolden Rohrer <holden.rohrer@gmail.com>2019-12-18 23:07:39 -0500
commita8e1bb2c12467b358422d53f4bb0563dae01fb96 (patch)
tree313149e69aebcef6e37ffc33232e626304a0a13f
parent173810ea2a91a92638dff7e36f4ec5aa6f70607d (diff)
bugfixes in space
-rw-r--r--space.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/space.js b/space.js
index 63b916e..e562925 100644
--- a/space.js
+++ b/space.js
@@ -44,7 +44,7 @@ function Space(){ // CLASS
if (conform && incl.includes(line)){
for (let i=0; i<16; i++) self.data[curline].push(' ');
} else {
- self.data[curline].push(cont[read].split(''));
+ Array.prototype.push.apply(self.data[curline],cont[read].split(''));
read++;
}
}