src/extensions/default/JavaScriptRefactoring/RenameIdentifier.js
function requestFindReferences(session, offset) {
            var response = requestFindRefs(session, session.editor.document, offset);

            if (response && response.hasOwnProperty("promise")) {
                response.promise.done(handleFindRefs).fail(function () {
                    result.reject();
                });
            }
        }
function requestFindReferences(session, offset) {
            var response = requestFindRefs(session, session.editor.document, offset);

            if (response && response.hasOwnProperty("promise")) {
                response.promise.done(handleFindRefs).fail(function () {
                    result.reject();
                });
            }
        }
function requestFindReferences ( session , offset ) { var response = requestFindRefs ( session , session . editor . document , offset ) ; if ( response && response . hasOwnProperty ( "promise" ) ) { response . promise . done ( handleFindRefs ) . fail ( function ( ) { result . reject ( ) ; } ) ; } }
Make a find ref request.
@param {Session} session - the session
@param {number} offset - the offset of where to jump from
Make a find ref request .