Skip to content

Commit 63f9573

Browse files
committed
don't just hide the eval block, remove it
1 parent 3339972 commit 63f9573

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

js/basicblocks.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2217,6 +2217,7 @@ function initBasicProtoBlocks(palettes, blocks) {
22172217
trueFalseBlock.booleanZeroArgBlock();
22182218

22192219
// Only used to excute methods in the Math library
2220+
/*
22202221
var evalBlock = new ProtoBlock('eval');
22212222
evalBlock.palette = palettes.dict['number'];
22222223
blocks.protoBlockDict['eval'] = evalBlock;
@@ -2230,6 +2231,7 @@ function initBasicProtoBlocks(palettes, blocks) {
22302231
evalBlock.defaults.push('abs(x)');
22312232
evalBlock.hidden = true; // security hole
22322233
evalBlock.defaults.push(-100);
2234+
*/
22332235

22342236
var modBlock = new ProtoBlock('mod');
22352237
modBlock.palette = palettes.dict['number'];

0 commit comments

Comments
 (0)