MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / Application

Function Application

modules/piu/MC/piuMC.js:146–158  ·  view source on GitHub ↗
($, it = {})

Source from the content-addressed store, hash-verified

144 purge() { return native("PiuApplication_purge").call(this); },
145}
146export function Application($, it = {}) {
147 let self = (this) ? this : Object.create(application);
148 it._DeferLink = DeferLink;
149 it._Skin = Skin;
150 it._Style = Style;
151 it._Texture = Texture;
152 it._TouchLink = TouchLink;
153 it._View = View;
154 globalThis.application = self;
155 self._create($, it);
156 globalThis.screen.context.onDisplayReady();
157 return self;
158}
159Application.prototype = application;
160Application.template = template;
161Object.freeze(application);

Callers

nothing calls this directly

Calls 2

_createMethod · 0.80
onDisplayReadyMethod · 0.80

Tested by

no test coverage detected