code: function requestJumptoDef(session, document, offset) {
          var path    = document.file.fullPath,
              fileInfo = {
                  type: MessageIds.TERN_FILE_INFO_TYPE_FULL,
                  name: path,
                  offsetLines: 0,
                  text: filterText(session.getJavascriptText())
              };
  
          var ternPromise = getJumptoDef(fileInfo, offset);
  
          return {promise: ternPromise};
      }
docs: Request Jump-To-Definition from Tern.
  
  @param {session} session - the session
  @param {Document} document - the document
  @param {{line: number, ch: number}} offset - the offset into the document
  @return {jQuery.Promise} - The promise will not complete until tern
  has completed.