dist/crocodoc.viewer.js
function ajaxSuccess(req) {
                if (util.isFn(opt.success)) {
                    opt.success.call(createRequestWrapper(req));
                }
                return req;
            }
function ajaxSuccess(req) {
                if (util.isFn(opt.success)) {
                    opt.success.call(createRequestWrapper(req));
                }
                return req;
            }
function ajaxSuccess ( req ) { if ( util . isFn ( opt . success ) ) { opt . success . call ( createRequestWrapper ( req ) ) ; } return req ; }
Function to call on successful AJAX request
@returns {void}
@private
Function to call on successful AJAX request