lib/index.js
function Electronify(path, options) {
    if (!_isReady) {
        app.on("ready", () => Electronify(path, options));
        return app;
    }

    // Defaults
    var bwOpts = ul.merge(options, {
        width: 800
      , height: 600
      , _path: path
    });

    _opts = bwOpts;
    createWindow(_opts);

    return app;
}
function Electronify(path, options) {
    if (!_isReady) {
        app.on("ready", () => Electronify(path, options));
        return app;
    }

    // Defaults
    var bwOpts = ul.merge(options, {
        width: 800
      , height: 600
      , _path: path
    });

    _opts = bwOpts;
    createWindow(_opts);

    return app;
}
function Electronify ( path , options ) { if ( ! _isReady ) { app . on ( "ready" , ( ) => Electronify ( path , options ) ) ; return app ; } // Defaults var bwOpts = ul . merge ( options , { width : 800 , height : 600 , _path : path } ) ; _opts = bwOpts ; createWindow ( _opts ) ; return app ; }
Electronify
Creates a new browser window based on Electron.

@name Electronify
@function
@param {String} path The path to the HTML file.
@param {Object} options An object representing the browser window options. It has the following defaults:

- `width` (Number): The window width (default: `800`).
- `height` (Number): The window height (default: `600`).

@return {ElectronApp} The Electron app object extended with the following fields:

- `mainWindow` (BrowserWindow): The browser window that was created.
Electronify Creates a new browser window based on Electron .