jw
02/27/2019, 1:39 PMgetUrl), functions which take async callbacks (getBackgroundPage), and functions which perform actions (reload()). But then it has this getManifest() function which takes no arguments, isn't async with a callback, and isn't performing some kind of action. Were I encapsulating this in a class, I would do val manifest: Json get() = delegate.getManifest() to expose it as a property. This is an external interface though so I'm forced into fun getManifest()spand
02/27/2019, 1:53 PMspand
02/27/2019, 1:54 PMval ExternalInterface.manifest : Manifest get() = asDynamic().manifestjw
02/27/2019, 1:55 PMval manifest: Json @JvmName("getManifest") get() would just workSvyatoslav Kuzmich [JB]
02/28/2019, 6:46 PMval manifest: Json @JsName("getManifest") getjw
02/28/2019, 6:56 PMget() since you have to do that with functions 🤦♂️jw
02/28/2019, 6:56 PM