Fix gradle test

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