added a native array() function for the JS generation; also refactored the code generated collection APIs so that most of them can be used with JavaScript and included more array based APIs into the JS generation

This commit is contained in:
James Strachan
2012-07-05 15:49:10 +01:00
parent bea649bf87
commit b4dace2c29
59 changed files with 744 additions and 602 deletions
+4
View File
@@ -4,3 +4,7 @@ import java.util.*
library("comparator")
public fun comparator<T>(f : (T, T) -> Int) : Comparator<T> = js.noImpl
library("array")
public fun <T> array(vararg value: T): Array<T> = js.noImpl