enabled the compiling of most of the collections based standard kotlin library to JavaScript

This commit is contained in:
James Strachan
2012-06-22 14:52:13 +01:00
parent 43b78649f3
commit 7b36a22264
3 changed files with 2 additions and 10 deletions
@@ -78,7 +78,7 @@ public fun <T> java.lang.Iterable<T>.contains(item : T) : Boolean {
}
for (var elem in this) {
if (elem.equals(item)) {
if (elem == item) {
return true
}
}
@@ -68,7 +68,6 @@
</fileset>
<fileset dir="${basedir}/../../stdlib/src/kotlin">
<include name="Preconditions.kt"/>
<!--
<include name="Iterators.kt"/>
<include name="JUtil.kt"/>
<include name="JUtilCollections.kt"/>
@@ -76,7 +75,6 @@
<include name="JLangIterables.kt"/>
<include name="JLangIterablesLazy.kt"/>
<include name="JLangIterablesSpecial.kt"/>
-->
<!--
<include name="Ordering.kt"/>
-->