From c5da0cc4f84211ebefc189771deabfec9e9eb8ed Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Sat, 17 Jan 2015 16:50:10 -0800
Subject: Removed a check in addLine.

---
 js/lib/blocks.js | 3 ---
 1 file changed, 3 deletions(-)

(limited to 'js')

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));
 };
 
-- 
cgit v1.2.3