summaryrefslogtreecommitdiff
path: root/blocks.js
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2014-01-08 17:51:34 +0100
committerjmoenig <jens@moenig.org>2014-01-08 17:51:34 +0100
commit1e959b8891df838b18c3bae40ba941c5f74df5cb (patch)
tree486a78a5e9d49f6572fbf6babba04f88560eb6bd /blocks.js
parent1da3ae32aaf3eb45564c04d6e0a2d0067829fe7c (diff)
downloadsnap-1e959b8891df838b18c3bae40ba941c5f74df5cb.tar.gz
snap-1e959b8891df838b18c3bae40ba941c5f74df5cb.zip
fixed StopOthers blocks and added another option
also updated the German translation
Diffstat (limited to 'blocks.js')
-rw-r--r--blocks.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/blocks.js b/blocks.js
index 8b6bcc2..1ad2239 100644
--- a/blocks.js
+++ b/blocks.js
@@ -1037,6 +1037,19 @@ SyntaxElementMorph.prototype.labelPart = function (spec) {
);
part.setContents(['encode URI']);
break;
+ case '%stopOthersChoices':
+ part = new InputSlotMorph(
+ null,
+ false,
+ {
+ 'all but this script' : ['all but this script'],
+ 'other scripts in sprite' : ['other scripts in sprite']
+ },
+ true
+ );
+ part.setContents(['all but this script']);
+ part.isStatic = true;
+ break;
case '%typ':
part = new InputSlotMorph(
null,