aboutsummaryrefslogtreecommitdiff
path: root/js/lib/blocks.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib/blocks.js')
-rw-r--r--js/lib/blocks.js3
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));
};