mirror of
https://github.com/google/blockly.git
synced 2026-01-06 00:20:37 +01:00
@@ -152,7 +152,7 @@ Blockly.PHP['text_charAt'] = function(block) {
|
||||
code = functionName + '(' + text + ')';
|
||||
return [code, Blockly.PHP.ORDER_FUNCTION_CALL];
|
||||
}
|
||||
throw 'Unhandled option (text_charAt).';
|
||||
throw Error('Unhandled option (text_charAt).');
|
||||
};
|
||||
|
||||
Blockly.PHP['text_getSubstring'] = function(block) {
|
||||
|
||||
Reference in New Issue
Block a user