From b59f7f3e274688a4c70df6e9a16f02d88005a381 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Thu, 4 Jul 2013 15:31:05 +0200 Subject: 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. --- byob.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'byob.js') 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) -- cgit v1.3.1