| 135 | } |
| 136 | |
| 137 | export 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 | } |
| 152 | Application.prototype = application; |
| 153 | Application.template = template; |
| 154 | Object.freeze(application); |