I can't remember/figure out what this means in js,...
# javascript
g
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.
Create external function Grapes.jQuery() and use that! Solved
Put a @JsName("$") in front of the external declaration.