mirror of
https://github.com/google/blockly.git
synced 2026-01-07 00:50:27 +01:00
Wrong language.
This commit is contained in:
@@ -188,7 +188,7 @@ Blockly.PHP['math_number_property'] = function(block) {
|
||||
' return true;',
|
||||
'}']);
|
||||
code = functionName + '(' + number_to_check + ')';
|
||||
return [code, Blockly.JavaScript.ORDER_FUNCTION_CALL];
|
||||
return [code, Blockly.PHP.ORDER_FUNCTION_CALL];
|
||||
}
|
||||
switch (dropdown_property) {
|
||||
case 'EVEN':
|
||||
@@ -381,4 +381,4 @@ Blockly.PHP['math_atan2'] = function(block) {
|
||||
Blockly.PHP.ORDER_COMMA) || '0';
|
||||
return ['atan2(' + argument1 + ', ' + argument0 + ') / pi() * 180',
|
||||
Blockly.PHP.ORDER_DIVISION];
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user