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

Method onOpenFileCallback

tools/xsbug/main.js:311–318  ·  view source on GitHub ↗
(application)

Source from the content-addressed store, hash-verified

309 }
310 }
311 onOpenFileCallback(application) {
312 const onOpenFileList = this.onOpenFileList;
313 delete this.onOpenFileList;
314 if (!onOpenFileList)
315 return;
316 for (const path of onOpenFileList)
317 this.onOpenFile(application, path);
318 }
319 onPathChanged(application, path) {
320 application.invalidateMenus();
321 }

Callers

nothing calls this directly

Calls 1

onOpenFileMethod · 0.95

Tested by

no test coverage detected