summaryrefslogtreecommitdiff
path: root/byob.js
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2013-04-04 21:13:47 +0200
committerjmoenig <jens@moenig.org>2013-04-04 21:13:47 +0200
commit2e7ea3c14fc928e33d9040fb48ef9a919f90e8ec (patch)
treec0b0f448972ae0cbb830f5c737bcd9f33b6168b5 /byob.js
parent80ee7b8c5361e468aef4e2398ecdf2b87059e254 (diff)
downloadsnap-yow-2e7ea3c14fc928e33d9040fb48ef9a919f90e8ec.tar.gz
snap-yow-2e7ea3c14fc928e33d9040fb48ef9a919f90e8ec.zip
Fix: Make Comments Detachable from Prototype Hats
Diffstat (limited to 'byob.js')
-rw-r--r--byob.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/byob.js b/byob.js
index 1a4f1e8..2999dbd 100644
--- a/byob.js
+++ b/byob.js
@@ -105,7 +105,7 @@ CommentMorph, localize, CSlotMorph*/
// Global stuff ////////////////////////////////////////////////////////
-modules.byob = '2013-April-03';
+modules.byob = '2013-April-04';
// Declarations
@@ -1587,6 +1587,8 @@ BlockEditorMorph.prototype.updateDefinition = function () {
if (head.comment) {
this.definition.comment = head.comment.fullCopy();
this.definition.comment.block = true; // serialize in short form
+ } else {
+ this.definition.comment = null;
}
}