KT-17853: Kotlin.js switched parameters of Math.atan2

https://youtrack.jetbrains.com/issue/KT-17853
The current exposition of the JavaScript [Math object] switched the parameters names. 
The correct version is `atan2(y,x)`.
This commit is contained in:
Gaetan Zoritchak
2017-05-11 18:16:37 +02:00
committed by ilya-g
parent 74288ff8ae
commit c00918c9f8
+1 -1
View File
@@ -11,7 +11,7 @@ public external object Math {
public fun acos(value: Double): Double
public fun asin(value: Double): Double
public fun atan(value: Double): Double
public fun atan2(x: Double, y: Double): Double
public fun atan2(y: Double, x: Double): Double
public fun cos(value: Double): Double
public fun sin(value: Double): Double
public fun exp(value: Double): Double