Questions about the Javascript API

Hi, Robert.

Unfortunately right now we don’t have documentations for that, but You can see code here https://github.com/JetBrains/kotlin/tree/master/js/js.libraries/src
And I collected some useful links, I hope this will help you:
http://blog.jetbrains.com/kotlin/2013/10/writing-kotlin-in-the-browser/

We work on new API reference for both backends and big part of current stdlib will be available in the future for JS backend too.

2. I don't know about any project where Kotlin used in both side. In IDEA you can create two unrelated projects and set up a module in each of these using the same source directory, but different targets. Additionally You can try do it by ant or maven build by sharing source dirs between different ant/maven projects.

Anyway feel free to ask any question here or directly me(zalim.bashorov@jetbrains.com).