From bff88b9fe1f0e10168613750091ba3bfbb551e9c Mon Sep 17 00:00:00 2001 From: Sergey Mashkov Date: Wed, 17 Jun 2015 20:40:15 +0300 Subject: [PATCH] Fix gradle test --- .../src/main/kotlin/example/library/Counter.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/tools/kotlin-gradle-plugin/src/test/resources/testProject/kotlin2JsProject/libraryProject/src/main/kotlin/example/library/Counter.kt b/libraries/tools/kotlin-gradle-plugin/src/test/resources/testProject/kotlin2JsProject/libraryProject/src/main/kotlin/example/library/Counter.kt index 020aa0cfdd0..f58d7a90055 100644 --- a/libraries/tools/kotlin-gradle-plugin/src/test/resources/testProject/kotlin2JsProject/libraryProject/src/main/kotlin/example/library/Counter.kt +++ b/libraries/tools/kotlin-gradle-plugin/src/test/resources/testProject/kotlin2JsProject/libraryProject/src/main/kotlin/example/library/Counter.kt @@ -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) } -} \ No newline at end of file +}