From 9c6b2a3e6f152d8f2cc67f450b267ddca358a788 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Tue, 25 Jun 2013 09:46:21 +0200 Subject: code mapping: dialog input is now multi-line monospaced --- blocks.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'blocks.js') diff --git a/blocks.js b/blocks.js index 46a7e7e..ce2a714 100644 --- a/blocks.js +++ b/blocks.js @@ -155,7 +155,7 @@ DialogBoxMorph, BlockInputFragmentMorph, PrototypeHatBlockMorph*/ // Global stuff //////////////////////////////////////////////////////// -modules.blocks = '2013-June-24'; +modules.blocks = '2013-June-25'; var SyntaxElementMorph; var BlockMorph; @@ -2201,7 +2201,7 @@ BlockMorph.prototype.mapToCode = function () { } }, this - ).prompt( + ).promptCode( 'Code mapping', key === 'evaluateCustomBlock' ? this.definition.codeMapping || '' : StageMorph.prototype.codeMappings[key] || '', @@ -6388,7 +6388,7 @@ InputSlotMorph.prototype.mapToCode = function () { StageMorph.prototype.codeMappings.string = code; }, this - ).prompt( + ).promptCode( 'Code mapping - String <#1>', StageMorph.prototype.codeMappings.string || '', this.world() @@ -8534,7 +8534,7 @@ MultiArgMorph.prototype.mapToCode = function (key, label) { StageMorph.prototype.codeMappings[key] = code; }, this - ).prompt( + ).promptCode( 'Code mapping - ' + label, StageMorph.prototype.codeMappings[key] || '', this.world() -- cgit v1.3.1