summaryrefslogtreecommitdiff
path: root/blocks.js
diff options
context:
space:
mode:
authoryuan <y.yuan@berkeley.edu>2014-05-27 00:57:19 -0700
committeryuan <y.yuan@berkeley.edu>2014-05-27 00:57:19 -0700
commite1b97b98df9219865d08566bb10309603a9b12fe (patch)
tree9e586a44cb92833239d4077c8353f45181b1db87 /blocks.js
parent6a4b4afbe98fa99623a81a89e2f6505ff5704d38 (diff)
downloadsnap-byow-e1b97b98df9219865d08566bb10309603a9b12fe.tar.gz
snap-byow-e1b97b98df9219865d08566bb10309603a9b12fe.zip
added graphics effects that work for all redraws; incorporated most recent updates to Snap!
Diffstat (limited to 'blocks.js')
-rw-r--r--blocks.js16
1 files changed, 6 insertions, 10 deletions
diff --git a/blocks.js b/blocks.js
index 69ae610..da5e929 100644
--- a/blocks.js
+++ b/blocks.js
@@ -913,16 +913,12 @@ SyntaxElementMorph.prototype.labelPart = function (spec) {
part = new InputSlotMorph(
null,
false,
- {
- /*
- color : 'color',
- fisheye : 'fisheye',
- whirl : 'whirl',
- pixelate : 'pixelate',
- mosaic : 'mosaic',
- brightness : 'brightness',
- */
- ghost : ['ghost']
+ { brightness : ['brightness'],
+ ghost : ['ghost'],
+ negative : ['negative'],
+ comic: ['comic'],
+ duplicate: ['duplicate'],
+ confetti: ['confetti'],
},
true
);