-
Notifications
You must be signed in to change notification settings - Fork 84
MacGap2 wish list
joshuaflores edited this page Feb 1, 2015
·
3 revisions
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.