xantier
07/31/2017, 2:14 PMbashor
08/01/2017, 3:12 PMdiodredd
08/01/2017, 3:28 PMtlaukkan
08/02/2017, 3:26 PMthos
08/02/2017, 6:36 PMzsmb
08/02/2017, 7:00 PMzsmb
08/03/2017, 5:04 PMexternal interface JQueryPromiseCallback<T> {
@nativeInvoke
operator fun invoke(value: T? = definedExternally, vararg args: Any)
}
I need an instance of this as a function parameter, I tried creating one like this:
object: JQueryPromiseCallback<Any> {
override fun invoke(value: Any?, vararg args: Any) {
}
})
However, I'm getting an error on the invoke function:
TheOverriding 'external' function with optional parameters
@nativeInvoke
annotation is also deprecated, and gives me a deprecation message that I can't figure out:
Am I supposed to correct the file that ts2kt generated? If so, how?Use inline extension function with body using dynamic
bmo
08/05/2017, 1:24 PMtlaukkan
08/05/2017, 5:52 PMthos
08/08/2017, 9:20 AMspand
08/08/2017, 2:59 PMnatpryce
08/11/2017, 12:13 PMthen
returns a “thenable” result (usually another Promise). I’ve implemented a version that does: https://try.kotlinlang.org/#/UserProjects/hi5gtn3e98h5ivrpve1b193j80/e7m31fl1smt0r00jd1ii7pe9nvgp
08/13/2017, 4:00 AMmbstavola
08/14/2017, 7:39 PMsteamstreet
08/16/2017, 9:46 PMmuralimohan962
08/19/2017, 7:28 AMfigitaki
08/22/2017, 8:14 PMkotlin-fullstack-sample
but I'm getting the following error from webpack when I try to include the compiled kotlin2js output in my webpack bundle:
Module not found: Can't resolve 'kotlinx-html-js' in '/Users/figitaki/Developer/kotlin/demo-kotlin-scripts/src'
I looked on npm
and there's no package called kotlin-html-js
any ideas?karelpeeters
08/25/2017, 6:42 PMkarelpeeters
08/25/2017, 6:45 PMnish
08/27/2017, 3:12 PMnish
08/27/2017, 3:13 PMkarelpeeters
08/31/2017, 8:42 PMkotlin.js
and main.js
in production?zvozin37
09/02/2017, 12:51 AMzvozin37
09/02/2017, 12:53 AMsnrostov
09/02/2017, 1:27 PMlewik
09/04/2017, 4:07 PMkarelpeeters
09/04/2017, 10:03 PMonClick="main.action(event)"
, I'd like to do it without the main
. Is that possible?karelpeeters
09/04/2017, 11:08 PMstyle
doesn't exist:```
val tabs = document.getElementsByClassName("tabContent")
tabs.asList().forEach {
it.style.color = "red"
}
```gaetan
09/05/2017, 12:08 AMfunctionaldude
09/05/2017, 9:49 AMReactBuilder$invoke is not defined
. It worked with 1.1.2-2
, but after the 1.1.4
the whole project broke, reverting to 1.1.2-2
didn't help.functionaldude
09/05/2017, 9:49 AMReactBuilder$invoke is not defined
. It worked with 1.1.2-2
, but after the 1.1.4
the whole project broke, reverting to 1.1.2-2
didn't help.konsoletyper
09/05/2017, 9:52 AMfunctionaldude
09/05/2017, 10:15 AM1.1.4
konsoletyper
09/05/2017, 2:07 PMfunctionaldude
09/05/2017, 4:55 PM