Remove apparently unneeded scrub on procedures.

This commit is contained in:
Neil Fraser
2016-08-03 18:32:20 -07:00
parent d362c73a04
commit 2be214ca74
5 changed files with 0 additions and 5 deletions

View File

@@ -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;