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

Function Application

modules/piu/PC/Common/piuPC.js:137–151  ·  view source on GitHub ↗
($, it = {})

Source from the content-addressed store, hash-verified

135}
136
137export function Application($, it = {}) {
138 let self = (this) ? this : Object.create(application);
139 it._DeferLink = DeferLink;
140 it._Skin = Skin;
141 it._Style = Style;
142 it._Texture = Texture;
143 it._TouchLink = TouchLink;
144 it._View = View;
145 globalThis.application = self;
146 globalThis.controlKey = false;
147 globalThis.optionKey = false;
148 globalThis.shiftKey = false;
149 self._create($, it);
150 return self;
151}
152Application.prototype = application;
153Application.template = template;
154Object.freeze(application);

Callers

nothing calls this directly

Calls 1

_createMethod · 0.80

Tested by

no test coverage detected