aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/resources/linkable/samples/jsMain/kotlin
diff options
context:
space:
mode:
authorAndrzej Ratajczak <andrzej.ratajczak98@gmail.com>2020-04-10 16:59:25 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-05-13 10:03:48 +0200
commit6166ddfeb6ee977a302d4cacc80dac23cc7e2baf (patch)
tree1fb93e53c8fbd5f76cf2f1438fa0ff4cdfe3494e /plugins/base/src/test/resources/linkable/samples/jsMain/kotlin
parent79d1827b5d249c0a597c6c2f9cb91ff8f5689d94 (diff)
downloaddokka-6166ddfeb6ee977a302d4cacc80dac23cc7e2baf.tar.gz
dokka-6166ddfeb6ee977a302d4cacc80dac23cc7e2baf.tar.bz2
dokka-6166ddfeb6ee977a302d4cacc80dac23cc7e2baf.zip
Working tests for includes, sources and samples. Minor bugfixes
Diffstat (limited to 'plugins/base/src/test/resources/linkable/samples/jsMain/kotlin')
-rw-r--r--plugins/base/src/test/resources/linkable/samples/jsMain/kotlin/JsClass.kt9
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/base/src/test/resources/linkable/samples/jsMain/kotlin/JsClass.kt b/plugins/base/src/test/resources/linkable/samples/jsMain/kotlin/JsClass.kt
new file mode 100644
index 00000000..b61ce704
--- /dev/null
+++ b/plugins/base/src/test/resources/linkable/samples/jsMain/kotlin/JsClass.kt
@@ -0,0 +1,9 @@
+package p2
+
+class JsClass {
+
+ /**
+ * @sample samples.SamplesJs.exampleUsage
+ */
+ fun printWithExclamation(msg: String) = println(msg + "!")
+} \ No newline at end of file