diff options
| author | jmoenig <jens@moenig.org> | 2013-06-25 09:46:21 +0200 |
|---|---|---|
| committer | jmoenig <jens@moenig.org> | 2013-06-25 09:46:21 +0200 |
| commit | 9c6b2a3e6f152d8f2cc67f450b267ddca358a788 (patch) | |
| tree | 27d7def94e2bd7cd7ed5de6465ff8a80c65ba565 /blocks.js | |
| parent | 416d92d78b4e72fc9c3ccbc41c1ef98874d7e500 (diff) | |
| download | snap-byow-9c6b2a3e6f152d8f2cc67f450b267ddca358a788.tar.gz snap-byow-9c6b2a3e6f152d8f2cc67f450b267ddca358a788.zip | |
code mapping: dialog input is now multi-line monospaced
Diffstat (limited to 'blocks.js')
| -rw-r--r-- | blocks.js | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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() |
