From d0523839dd1d6efdccdc3da25b00bf9435e5e4c5 Mon Sep 17 00:00:00 2001 From: Nikolay Igotti Date: Wed, 20 Oct 2021 09:53:44 +0300 Subject: [PATCH] Move web birds demo to 0.0.0-master-build413 --- examples/web-compose-bird/build.gradle.kts | 5 +++-- examples/web-compose-bird/src/jsMain/kotlin/main.kt | 4 +--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/examples/web-compose-bird/build.gradle.kts b/examples/web-compose-bird/build.gradle.kts index bb9e9e8097..a961b61550 100644 --- a/examples/web-compose-bird/build.gradle.kts +++ b/examples/web-compose-bird/build.gradle.kts @@ -1,8 +1,8 @@ import org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension plugins { - kotlin("multiplatform") version "1.5.21" - id("org.jetbrains.compose") version "1.0.0-alpha1" + kotlin("multiplatform") version "1.5.31" + id("org.jetbrains.compose") version "0.0.0-master-build413" } group = "com.theapache64.composebird" version = "1.0.0-alpha01" @@ -33,5 +33,6 @@ kotlin { afterEvaluate { rootProject.extensions.configure { versions.webpackDevServer.version = "4.0.0" + versions.webpackCli.version = "4.9.0" } } diff --git a/examples/web-compose-bird/src/jsMain/kotlin/main.kt b/examples/web-compose-bird/src/jsMain/kotlin/main.kt index 5525fc84c5..55a228407f 100644 --- a/examples/web-compose-bird/src/jsMain/kotlin/main.kt +++ b/examples/web-compose-bird/src/jsMain/kotlin/main.kt @@ -8,7 +8,6 @@ import kotlinx.browser.document import kotlinx.browser.window import kotlinx.coroutines.delay import org.jetbrains.compose.web.attributes.InputType -import org.jetbrains.compose.web.attributes.checked import org.jetbrains.compose.web.attributes.disabled import org.jetbrains.compose.web.css.marginTop import org.jetbrains.compose.web.css.px @@ -18,7 +17,6 @@ import org.w3c.dom.HTMLElement import org.w3c.dom.events.KeyboardEvent import org.w3c.dom.get - fun main() { val game: Game = ComposeBirdGame() @@ -82,7 +80,7 @@ fun main() { if (isTube || isBird) { // if it's either a tube node or bird, check it - checked() + checked(true) } if (!isBird) {