mirror of
https://github.com/google/blockly.git
synced 2026-01-04 23:50:12 +01:00
Remove apparently unneeded scrub on procedures.
This commit is contained in:
@@ -56,7 +56,6 @@ Blockly.Dart['procedures_defreturn'] = function(block) {
|
||||
}
|
||||
var code = returnType + ' ' + funcName + '(' + args.join(', ') + ') {\n' +
|
||||
branch + returnValue + '}';
|
||||
code = Blockly.Dart.scrub_(block, code);
|
||||
// Add % so as not to collide with helper functions in definitions list.
|
||||
Blockly.Dart.definitions_['%' + funcName] = code;
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user