(initOpts: BuilderInitOpts)
| 211 | } |
| 212 | |
| 213 | async function initBuilderWrap(initOpts: BuilderInitOpts) { |
| 214 | try { |
| 215 | await initBuilder(initOpts); |
| 216 | } catch (e) { |
| 217 | getApi().sendLog("Error in initBuilder " + e.message + "\n" + e.stack); |
| 218 | console.error("Error in initBuilder", e); |
| 219 | } finally { |
| 220 | document.body.style.visibility = null; |
| 221 | document.body.style.opacity = null; |
| 222 | document.body.classList.remove("is-transparent"); |
| 223 | } |
| 224 | } |
| 225 | |
| 226 | async function initBuilder(initOpts: BuilderInitOpts) { |
| 227 | getApi().sendLog("Init Builder " + JSON.stringify(initOpts)); |
nothing calls this directly
no test coverage detected