diff options
author | nea <romangraef@gmail.com> | 2022-08-26 14:56:23 +0200 |
---|---|---|
committer | nea <romangraef@gmail.com> | 2022-08-26 14:56:23 +0200 |
commit | 176e37844c17eaabb5c9da0f9c23237df9c0b5a8 (patch) | |
tree | 2c7d485355eed738ce1c30b03b7424e9f4a9db48 /src/jsMain/kotlin/moe/nea89/website/util.kt | |
parent | b87a65229ad9c7d09fd837b95e9e03624842669b (diff) | |
download | neamoe-176e37844c17eaabb5c9da0f9c23237df9c0b5a8.tar.gz neamoe-176e37844c17eaabb5c9da0f9c23237df9c0b5a8.tar.bz2 neamoe-176e37844c17eaabb5c9da0f9c23237df9c0b5a8.zip |
idk make it maveny
Diffstat (limited to 'src/jsMain/kotlin/moe/nea89/website/util.kt')
-rw-r--r-- | src/jsMain/kotlin/moe/nea89/website/util.kt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/jsMain/kotlin/moe/nea89/website/util.kt b/src/jsMain/kotlin/moe/nea89/website/util.kt new file mode 100644 index 0000000..47c7843 --- /dev/null +++ b/src/jsMain/kotlin/moe/nea89/website/util.kt @@ -0,0 +1,6 @@ +package moe.nea89.website + +fun <T> dyn(init: T.() -> Unit): dynamic = js("{}").also(init) + + + |