Replace native with @native in js testData

This commit is contained in:
Denis Zharkov
2015-09-15 13:56:28 +03:00
parent 9adde77c47
commit e401a98a2b
46 changed files with 137 additions and 137 deletions
@@ -1,14 +1,14 @@
package foo
native
@native
fun String.replace(regexp: RegExp, replacement: String): String = noImpl
fun String.replaceAll(regexp: String, replacement: String): String = replace(RegExp(regexp, "g"), replacement)
native
@native
fun String.search(regexp: RegExp): Int = noImpl
native
@native
class RegExp(regexp: String, flags: String = "") {
fun exec(s: String): Array<String>? = noImpl
}