src/JSUtils/node/TernNodeDomain.js
function getFile(name, next) {
    // save the callback
    fileCallBacks[name] = next;

    setImmediate(function () {
        try {
            ExtractContent.extractContent(name, handleGetFile, _requestFileContent);
        } catch (error) {
            console.log(error);
        }
    });
}
function getFile(name, next) {
    // save the callback
    fileCallBacks[name] = next;

    setImmediate(function () {
        try {
            ExtractContent.extractContent(name, handleGetFile, _requestFileContent);
        } catch (error) {
            console.log(error);
        }
    });
}
function getFile ( name , next ) { // save the callback fileCallBacks [ name ] = next ; setImmediate ( function ( ) { try { ExtractContent . extractContent ( name , handleGetFile , _requestFileContent ) ; } catch ( error ) { console . log ( error ) ; } } ) ; }
Provide the contents of the requested file to tern
@param {string} name - the name of the file
@param {Function} next - the function to call with the text of the file
once it has been read in.
Provide the contents of the requested file to tern