dist/crocodoc.viewer.js
function (index, callback) {
            $.when(pages[index] && pages[index].load())
                .always(callback);
        }
function (index, callback) {
            $.when(pages[index] && pages[index].load())
                .always(callback);
        }
function ( index , callback ) { $ . when ( pages [ index ] && pages [ index ] . load ( ) ) . always ( callback ) ; }
Call the load method on the page object at the specified index
@param  {int}      index    The index of the page to load
@param  {Function} callback Callback function to call always (regardless of page load success/fail)
@returns {void}
Call the load method on the page object at the specified index