diff options
author | nea <romangraef@gmail.com> | 2022-08-26 14:09:53 +0200 |
---|---|---|
committer | nea <romangraef@gmail.com> | 2022-08-26 14:09:53 +0200 |
commit | ed931bbb10219b573b6227631bf3600319367ec4 (patch) | |
tree | 5a79cc3050bb0c11afbb6eebefdc5c1767b72f2b /src/main/kotlin/moe/nea89/website/util.kt | |
parent | 6207fd482a685527fda286e0df5d4fa87aa85149 (diff) | |
download | neamoe-ed931bbb10219b573b6227631bf3600319367ec4.tar.gz neamoe-ed931bbb10219b573b6227631bf3600319367ec4.tar.bz2 neamoe-ed931bbb10219b573b6227631bf3600319367ec4.zip |
move shit around
Diffstat (limited to 'src/main/kotlin/moe/nea89/website/util.kt')
-rw-r--r-- | src/main/kotlin/moe/nea89/website/util.kt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea89/website/util.kt b/src/main/kotlin/moe/nea89/website/util.kt new file mode 100644 index 0000000..47c7843 --- /dev/null +++ b/src/main/kotlin/moe/nea89/website/util.kt @@ -0,0 +1,6 @@ +package moe.nea89.website + +fun <T> dyn(init: T.() -> Unit): dynamic = js("{}").also(init) + + + |