From 1469a896b4c31a03e5c5f6eb27a27d9751bb76ea Mon Sep 17 00:00:00 2001 From: killerboss Date: Fri, 8 Nov 2024 16:26:59 +0100 Subject: [PATCH] created event emitter --- .idea/artifacts/chatrum_js_1_0_SNAPSHOT.xml | 6 +++ .idea/artifacts/chatrum_jvm_1_0_SNAPSHOT.xml | 6 +++ .idea/gradle.xml | 3 +- .idea/misc.xml | 5 ++- .yarnrc | 1 + build.gradle.kts | 46 +++++++++++++++++--- settings.gradle.kts | 4 ++ src/commonMain/kotlin/EventEmitter.kt | 17 ++++++++ src/commonMain/kotlin/Main.kt | 2 + src/jsMain/kotlin/Main.kt | 4 ++ src/jvmMain/kotlin/Main.kt | 1 + src/main/kotlin/Main.kt | 16 ------- 12 files changed, 87 insertions(+), 24 deletions(-) create mode 100644 .idea/artifacts/chatrum_js_1_0_SNAPSHOT.xml create mode 100644 .idea/artifacts/chatrum_jvm_1_0_SNAPSHOT.xml create mode 100644 .yarnrc create mode 100644 src/commonMain/kotlin/EventEmitter.kt create mode 100644 src/commonMain/kotlin/Main.kt create mode 100644 src/jsMain/kotlin/Main.kt create mode 100644 src/jvmMain/kotlin/Main.kt delete mode 100644 src/main/kotlin/Main.kt diff --git a/.idea/artifacts/chatrum_js_1_0_SNAPSHOT.xml b/.idea/artifacts/chatrum_js_1_0_SNAPSHOT.xml new file mode 100644 index 0000000..6a20bbd --- /dev/null +++ b/.idea/artifacts/chatrum_js_1_0_SNAPSHOT.xml @@ -0,0 +1,6 @@ + + + $PROJECT_DIR$/build/libs + + + \ No newline at end of file diff --git a/.idea/artifacts/chatrum_jvm_1_0_SNAPSHOT.xml b/.idea/artifacts/chatrum_jvm_1_0_SNAPSHOT.xml new file mode 100644 index 0000000..9782be3 --- /dev/null +++ b/.idea/artifacts/chatrum_jvm_1_0_SNAPSHOT.xml @@ -0,0 +1,6 @@ + + + $PROJECT_DIR$/build/libs + + + \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 14746e7..e653f1e 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -1,10 +1,11 @@ +