MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / cn1RefreshAlias

Function cn1RefreshAlias

Ports/JavaScriptPort/src/main/webapp/port.js:740–746  ·  view source on GitHub ↗
(symbol, fn)

Source from the content-addressed store, hash-verified

738// port.js reassigns a cn1_* global, refresh the alias too or aliased
739// call sites keep invoking the replaced function.
740function cn1RefreshAlias(symbol, fn) {
741 if (typeof global.__cn1RefreshAlias === "function") {
742 global.__cn1RefreshAlias(symbol, fn);
743 } else if (global.__cn1Al && global.__cn1Al[symbol]) {
744 global[global.__cn1Al[symbol]] = fn;
745 }
746}
747
748function installMissingGlobalDelegate(symbol, delegateSymbol, marker) {
749 if (typeof global[symbol] === "function") {

Callers 6

aliasGlobalToImplFunction · 0.85
port.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected