src/document/DocumentCommandHandlers.js
function handleFileQuit(commandData) {
        return _handleWindowGoingAway(
            commandData,
            function () {
                brackets.app.quit();
            },
            function () {
                // if fail, don't exit: user canceled (or asked us to save changes first, but we failed to do so)
                brackets.app.abortQuit();
            }
        );
    }
function handleFileQuit(commandData) {
        return _handleWindowGoingAway(
            commandData,
            function () {
                brackets.app.quit();
            },
            function () {
                // if fail, don't exit: user canceled (or asked us to save changes first, but we failed to do so)
                brackets.app.abortQuit();
            }
        );
    }
function handleFileQuit ( commandData ) { return _handleWindowGoingAway ( commandData , function ( ) { brackets . app . quit ( ) ; } , function ( ) { // if fail, don't exit: user canceled (or asked us to save changes first, but we failed to do so) brackets . app . abortQuit ( ) ; } ) ; }
Closes the window, then quits the app
Closes the window then quits the app