summaryrefslogtreecommitdiff
path: root/blocks.js
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2013-06-25 09:46:21 +0200
committerjmoenig <jens@moenig.org>2013-06-25 09:46:21 +0200
commit9c6b2a3e6f152d8f2cc67f450b267ddca358a788 (patch)
tree27d7def94e2bd7cd7ed5de6465ff8a80c65ba565 /blocks.js
parent416d92d78b4e72fc9c3ccbc41c1ef98874d7e500 (diff)
downloadsnap-9c6b2a3e6f152d8f2cc67f450b267ddca358a788.tar.gz
snap-9c6b2a3e6f152d8f2cc67f450b267ddca358a788.zip
code mapping: dialog input is now multi-line monospaced
Diffstat (limited to 'blocks.js')
-rw-r--r--blocks.js8
1 files changed, 4 insertions, 4 deletions
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()