mirror of
https://github.com/google/blockly.git
synced 2026-01-05 08:00:09 +01:00
Math.PI => Math.pi
The Dart test was failing prior to this.
This commit is contained in:
committed by
GitHub
parent
e1217252ff
commit
58bfab7c6c
@@ -494,6 +494,6 @@ Blockly.Dart['math_atan2'] = function(block) {
|
||||
Blockly.Dart.ORDER_NONE) || '0';
|
||||
var argument1 = Blockly.Dart.valueToCode(block, 'Y',
|
||||
Blockly.Dart.ORDER_NONE) || '0';
|
||||
return ['Math.atan2(' + argument1 + ', ' + argument0 + ') / Math.PI * 180',
|
||||
return ['Math.atan2(' + argument1 + ', ' + argument0 + ') / Math.pi * 180',
|
||||
Blockly.Dart.ORDER_MULTIPLICATIVE];
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user