summaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea89/website/util.kt
diff options
context:
space:
mode:
authornea <romangraef@gmail.com>2022-08-26 14:09:53 +0200
committernea <romangraef@gmail.com>2022-08-26 14:09:53 +0200
commited931bbb10219b573b6227631bf3600319367ec4 (patch)
tree5a79cc3050bb0c11afbb6eebefdc5c1767b72f2b /src/main/kotlin/moe/nea89/website/util.kt
parent6207fd482a685527fda286e0df5d4fa87aa85149 (diff)
downloadneamoe-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.kt6
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)
+
+
+