diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-17 16:50:10 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-17 16:50:10 -0800 |
commit | c5da0cc4f84211ebefc189771deabfec9e9eb8ed (patch) | |
tree | d07b65240fb041fc39ba7a5f7a42076db814510c | |
parent | d81bb6a0598357cd56f3bc3d43eb8d7ccf0437a9 (diff) |
Removed a check in addLine.
-rw-r--r-- | js/lib/blocks.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/js/lib/blocks.js b/js/lib/blocks.js index d2072c6..c12be92 100644 --- a/js/lib/blocks.js +++ b/js/lib/blocks.js @@ -143,9 +143,6 @@ var breakOutOfLists = function(block) { // Add a line to the block at the tip. We assume the tip // can accept lines -- that check should be done before calling this. var addLine = function(ln) { - if (!(this.tip._open)) { - throw { msg: "Attempted to add line (" + ln + ") to closed container." }; - } this.tip._strings.push(ln.slice(this.offset)); }; |