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
@@ -4,12 +4,12 @@ package foo
@JsModule("libfoo")
@JsNonModule
@native fun foo(x: Int): Int = noImpl
external fun foo(x: Int): Int = noImpl
@JsModule("libbar")
@JsNonModule
@JsName("baz")
@native fun bar(x: Int): Int = noImpl
external fun bar(x: Int): Int = noImpl
fun box(): String {
assertEquals(65, foo(42))