more of the stdlib compiling to JS

This commit is contained in:
James Strachan
2012-06-23 06:58:40 +01:00
parent b712719ae4
commit 4a4cf0467f
5 changed files with 10 additions and 11 deletions
-1
View File
@@ -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");
}
}