src/view/MainViewManager.js
function _closeList(paneId, fileList) {
        _forEachPaneOrPanes(paneId, function (pane) {
            var closedList = pane.removeViews(fileList);
            closedList.forEach(function (file) {
                _removeFileFromMRU(pane.id, file);
            });

            exports.trigger("workingSetRemoveList", closedList, pane.id);
        });
    }
function _closeList(paneId, fileList) {
        _forEachPaneOrPanes(paneId, function (pane) {
            var closedList = pane.removeViews(fileList);
            closedList.forEach(function (file) {
                _removeFileFromMRU(pane.id, file);
            });

            exports.trigger("workingSetRemoveList", closedList, pane.id);
        });
    }
function _closeList ( paneId , fileList ) { _forEachPaneOrPanes ( paneId , function ( pane ) { var closedList = pane . removeViews ( fileList ) ; closedList . forEach ( function ( file ) { _removeFileFromMRU ( pane . id , file ) ; } ) ; exports . trigger ( "workingSetRemoveList" , closedList , pane . id ) ; } ) ; }
Closes a list of file in the specified pane or panes
@param {!string} paneId - id of the pane in which to open the document
@param {!Array.<File>} fileList - files to close
This function does not fail if the file is not open
Closes a list of file in the specified pane or panes