summaryrefslogtreecommitdiff
path: root/byob.js
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2013-07-04 15:31:05 +0200
committerjmoenig <jens@moenig.org>2013-07-04 15:31:05 +0200
commitb59f7f3e274688a4c70df6e9a16f02d88005a381 (patch)
tree4166e0d642e4c5bcaefafa90ae63a32c3ed8e307 /byob.js
parent8e0f60fdd68a145d7f2acc5d350d5214c844fd54 (diff)
downloadsnap-byow-b59f7f3e274688a4c70df6e9a16f02d88005a381.tar.gz
snap-byow-b59f7f3e274688a4c70df6e9a16f02d88005a381.zip
Codification (blocks to text) support complete
text code mapping and block header support, both via GUI and primitives, for built-in blocks and for custom ones.
Diffstat (limited to 'byob.js')
-rw-r--r--byob.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/byob.js b/byob.js
index d8c0813..8954c6a 100644
--- a/byob.js
+++ b/byob.js
@@ -105,7 +105,7 @@ CommentMorph, localize, CSlotMorph, SpeechBubbleMorph, MorphicPreferences*/
// Global stuff ////////////////////////////////////////////////////////
-modules.byob = '2013-June-18';
+modules.byob = '2013-July-04';
// Declarations
@@ -139,6 +139,7 @@ function CustomBlockDefinition(spec, receiver) {
this.declarations = {}; // {'inputName' : [type, default]}
this.comment = null;
this.codeMapping = null; // experimental, generate text code
+ this.codeHeader = null; // experimental, generate text code
// don't serialize (not needed for functionality):
this.receiver = receiver || null; // for serialization only (pointer)