JS: replace all usages of @native annotation with external modifier, in tests, stdlib, etc

This commit is contained in:
Alexey Andreev
2016-11-25 12:36:47 +03:00
parent e0cb56b3c3
commit 68412ae94f
173 changed files with 486 additions and 651 deletions
+1 -1
View File
@@ -1 +1 @@
@native public fun parseInt(s: String, radix: Int = 10): Int = noImpl
external public fun parseInt(s: String, radix: Int = 10): Int = noImpl
+1 -1
View File
@@ -136,7 +136,7 @@ inline fun <T, R> T.performWithFail2(job: (T)-> R, failJob: (e: RuntimeException
}
}
@native object Number {
external object Number {
fun parseInt(str: String): Int = noImpl
}