src/JSUtils/ScopeManager.js
function handleJumptoDef(response) {

        var file = response.file,
            offset = response.offset;

        var $deferredJump = getPendingRequest(file, offset, MessageIds.TERN_JUMPTODEF_MSG);

        if ($deferredJump) {
            response.fullPath = getResolvedPath(response.resultFile);
            $deferredJump.resolveWith(null, [response]);
        }
    }
function handleJumptoDef(response) {

        var file = response.file,
            offset = response.offset;

        var $deferredJump = getPendingRequest(file, offset, MessageIds.TERN_JUMPTODEF_MSG);

        if ($deferredJump) {
            response.fullPath = getResolvedPath(response.resultFile);
            $deferredJump.resolveWith(null, [response]);
        }
    }
function handleJumptoDef ( response ) { var file = response . file , offset = response . offset ; var $deferredJump = getPendingRequest ( file , offset , MessageIds . TERN_JUMPTODEF_MSG ) ; if ( $deferredJump ) { response . fullPath = getResolvedPath ( response . resultFile ) ; $deferredJump . resolveWith ( null , [ response ] ) ; } }
Handle the response from the tern node domain when
it responds with the definition

@param response - the response from the node domain
Handle the response from the tern node domain when it responds with the definition