Fix gradle test

This commit is contained in:
Sergey Mashkov
2015-06-17 20:40:15 +03:00
parent e852b2d748
commit bff88b9fe1
@@ -1,15 +1,15 @@
package example.library
import org.w3c.dom.Text
import kotlin.js.dom.html.window
import kotlin.browser.*
public class Counter(val el: Text) {
fun step(n: Int) {
el.wholeText = "Counter: ${n}"
document.title = "Counter: ${n}"
window.setTimeout({step(n+1)}, 1000)
}
fun start() {
step(0)
}
}
}