Skip to content
joshuaflores edited this page Feb 1, 2015 · 3 revisions

add a headless controller JS file

Would like to see some discussion but I think it would possibly be good if MacGap loaded a JS file (eg app.js) first, which was not attached to any webview specifically (or more accurately perhaps, is attached to all webviews that are ever created). This JS would then in turn instantiate one or more windows as needed and provide a means of communicating between any open windows. By convention it would typically also control the menu and other global stuff.

The existing MG2 config.json file would possibly disappear and move into the window creation method, such that each window could be given a different set of available commands. Not sure on the security angle of this.

iCloud Support

Multiple && New Application Instances