I can't remember/figure out what this means in js, nor how the heck to do it in kotlin JS. I think this would effectively be overloading or overriding the jquery selector (in a function usually not globally)
Copy code
const $ = Backbone.$;
//JS Example
or
Copy code
val $ = Grapes.$;
//KotlinJS Where Grapes is an External Object.
Gunslingor
08/24/2020, 2:57 PM
Create external function Grapes.jQuery() and use that! Solved
Gunslingor
08/24/2020, 3:40 PM
Put a @JsName("$") in front of the external declaration.