more of the stdlib compiling to JS
This commit is contained in:
@@ -21,7 +21,6 @@ public trait Iterator<T> {
|
||||
open fun remove() : Unit = js.noImpl
|
||||
}
|
||||
|
||||
library
|
||||
val Collections = object {
|
||||
library("collectionsMax")
|
||||
public fun max<T>(col : Collection<T>, comp : Comparator<T>) : T = js.noImpl
|
||||
|
||||
@@ -39,6 +39,7 @@ public class StdLibTestToJSTest extends StdLibTestSupport {
|
||||
|
||||
generateJavaScriptFiles(EcmaVersion.all(),
|
||||
"libraries/stdlib/test",
|
||||
"ListTest.kt",
|
||||
"StringTest.kt",
|
||||
"js/SimpleTest.kt");
|
||||
}
|
||||
|
||||
@@ -40,8 +40,7 @@ public class StdLibToJSTest extends StdLibTestSupport {
|
||||
generateJavaScriptFiles(EcmaVersion.all(),
|
||||
"libraries/stdlib/src",
|
||||
"kotlin/Preconditions.kt",
|
||||
// TODO re-enable when we've got the filter stuff ported to JS
|
||||
//"kotlin/dom/Dom.kt",
|
||||
"kotlin/dom/Dom.kt",
|
||||
"kotlin/support/AbstractIterator.kt");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user