From b8bdc55ed15408a347b61404f5f226b0d7e0aa7d Mon Sep 17 00:00:00 2001 From: James Strachan Date: Thu, 19 Jul 2012 14:04:50 +0100 Subject: [PATCH] added a link to the JS example --- js/ReadMe.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/js/ReadMe.md b/js/ReadMe.md index 837cf08bfce..8c1828510cd 100644 --- a/js/ReadMe.md +++ b/js/ReadMe.md @@ -14,4 +14,9 @@ There are various Kotlin APIs to JavaScript environments and libraries in the [j Any Kotlin test cases using the **org.junit.Test** annotation and the [kotlin.test](http://jetbrains.github.com/kotlin/versions/snapshot/apidocs/kotlin/test/package-summary.html) package, such as [this test case](https://github.com/JetBrains/kotlin/blob/master/libraries/stdlib/test/StringTest.kt#L5) are automatically converted to JavaScript using [QUnit](http://qunitjs.com/). -This allows the test cases to be [ran directly in a web page in any web browser](https://github.com/JetBrains/kotlin/blob/master/libraries/tools/kotlin-js-tests/ReadMe.md). \ No newline at end of file +This allows the test cases to be [ran directly in a web page in any web browser](https://github.com/JetBrains/kotlin/blob/master/libraries/tools/kotlin-js-tests/ReadMe.md). + +## Using the Kotlin Library in JavaScript + +There is a [simple sample](https://github.com/JetBrains/kotlin/blob/master/libraries/examples/browser-example/ReadMe.md) which shows how to use the [Kotlin Standard Library](http://jetbrains.github.com/kotlin/versions/snapshot/apidocs/index.html) from inside JavaScript in a web page or in a JVM using [kool.io](http://kool.io/)'s [JavaFX browser](https://github.com/koolio/kool/blob/master/samples/kool-template-sample/ReadMe.md) +