summaryrefslogtreecommitdiff
path: root/blocks.js
diff options
context:
space:
mode:
Diffstat (limited to 'blocks.js')
-rw-r--r--blocks.js17
1 files changed, 16 insertions, 1 deletions
diff --git a/blocks.js b/blocks.js
index 1ad2239..9997d70 100644
--- a/blocks.js
+++ b/blocks.js
@@ -155,7 +155,7 @@ DialogBoxMorph, BlockInputFragmentMorph, PrototypeHatBlockMorph, Costume*/
// Global stuff ////////////////////////////////////////////////////////
-modules.blocks = '2014-January-08';
+modules.blocks = '2014-January-09';
var SyntaxElementMorph;
var BlockMorph;
@@ -1037,6 +1037,20 @@ SyntaxElementMorph.prototype.labelPart = function (spec) {
);
part.setContents(['encode URI']);
break;
+ case '%stopChoices':
+ part = new InputSlotMorph(
+ null,
+ false,
+ {
+ 'all' : ['all'],
+ 'this script' : ['this script'],
+ 'this block' : ['this block']
+ },
+ true
+ );
+ part.setContents(['all']);
+ part.isStatic = true;
+ break;
case '%stopOthersChoices':
part = new InputSlotMorph(
null,
@@ -3279,6 +3293,7 @@ CommandBlockMorph.prototype.snap = function () {
CommandBlockMorph.prototype.isStop = function () {
return ([
+ 'doStopThis',
'doStop',
'doStopBlock',
'doStopAll',