function _createWindow(view, options) {
    var window = _Factory.newWindow(options),
        withDrawer;

    if (OS_IOS && options.modal) {
        window.add(view);
        window = Ti.UI.iOS.createNavigationWindow({
            autoAdjustScrollViewInsets: false,
            fullscreen: true,
            modal: true,
            window: window,
        });
    }

    /* Handle the drawer option */
    if (options.drawer !== undefined) {
        withDrawer = options.drawer && !options.modal;
        delete options.drawer;
    } else {
        withDrawer = _config.defaultWithDrawer && !options.modal;
    }

    /* Add the view, or not, depending the options */
    ((OS_IOS && !options.modal) || (OS_ANDROID && !withDrawer)) && window.add(view);

    /* Return the stub */
    return _Factory.newWindowStub(window, _currentFlow, options.modal,
        OS_ANDROID && withDrawer ? view : undefined);
}
/* Create a window, more doc at the end of the file. */
Create a window, more doc at the end of the file.
Create a window more doc at the end of the file .
function _createWindow(view, options) {
    var window = _Factory.newWindow(options),
        withDrawer;
    if (OS_IOS && options.modal) {
        window.add(view);
        window = Ti.UI.iOS.createNavigationWindow({
            autoAdjustScrollViewInsets: false,
            fullscreen: true,
            modal: true,
            window: window,
        });
    }
    if (options.drawer !== undefined) {
        withDrawer = options.drawer && !options.modal;
        delete options.drawer;
    } else {
        withDrawer = _config.defaultWithDrawer && !options.modal;
    }
    ((OS_IOS && !options.modal) || (OS_ANDROID && !withDrawer)) && window.add(view);
    return _Factory.newWindowStub(window, _currentFlow, options.modal,
        OS_ANDROID && withDrawer ? view : undefined);
}
function _createWindow ( view , options ) { var window = _Factory . newWindow ( options ) , withDrawer ; if ( OS_IOS && options . modal ) { window . add ( view ) ; window = Ti . UI . iOS . createNavigationWindow ( { autoAdjustScrollViewInsets : false , fullscreen : true , modal : true , window : window , } ) ; } if ( options . drawer !== undefined ) { withDrawer = options . drawer && ! options . modal ; delete options . drawer ; } else { withDrawer = _config . defaultWithDrawer && ! options . modal ; } ( ( OS_IOS && ! options . modal ) || ( OS_ANDROID && ! withDrawer ) ) && window . add ( view ) ; return _Factory . newWindowStub ( window , _currentFlow , options . modal , OS_ANDROID && withDrawer ? view : undefined ) ; }
Create a window, more doc at the end of the file.
Create a window more doc at the end of the file .
/* Handle the drawer option */ /* Add the view, or not, depending the options */ /* Return the stub */