Kotlin and Meteor JS

Hi

Not sure is this the best way or not.

I think, You don't need edit koltin.js.

I'm interested to try accessing Meteor object from my Kotlin classes. I found kotlin-jslib.jar contain things like jquery, my guess i need to do something similar in order to access Meteor object from Kotlin side.

Yes, You are right.

For interacting with native JS from Kotlin code you will need to declare functions, classes, etc., that you want to use in the Kotlin code using `native` annotation. For example see:
<kotlin-sources>   /js/js.libraries/src/code/dom*   /js/js.libraries/src/jquery/*   /js/js.libraries/src/html5/* etc.

I looked your meteor.kt, it’s look like right. I didn’t use meteor, but I can try to help You, so feel free to ask here any questions.

Is there any documentation about Kotlin interaction in javascript world?

Unfortunately we don’t have any documentation about it. You can read this thread and of course ask any questions here.