dist/crocodoc.viewer.js
function (data) {
            var zoomMode = this.state.zoomState.zoomMode;
            this.state.viewportDimensions = data;
            this.updateZoomLevels();
            this.setZoom(zoomMode);
        }
function (data) {
            var zoomMode = this.state.zoomState.zoomMode;
            this.state.viewportDimensions = data;
            this.updateZoomLevels();
            this.setZoom(zoomMode);
        }
function ( data ) { var zoomMode = this . state . zoomState . zoomMode ; this . state . viewportDimensions = data ; this . updateZoomLevels ( ) ; this . setZoom ( zoomMode ) ; }
Handle resize messages
@param   {Object} data Object containing width and height of the viewport
@returns {void}
Handle resize messages