dist/crocodoc.viewer.js
function handleScroll() {
        // if we are just starting scrolling, fire scrollstart event
        if (!scrollingStarted) {
            scrollingStarted = true;
            scope.broadcast('scrollstart', buildEventData());
        }
        clearTimeout(scrollendTID);
        scrollendTID = setTimeout(handleScrollEnd, SCROLL_END_TIMEOUT);
        fireScroll();
    }
function handleScroll() {
        // if we are just starting scrolling, fire scrollstart event
        if (!scrollingStarted) {
            scrollingStarted = true;
            scope.broadcast('scrollstart', buildEventData());
        }
        clearTimeout(scrollendTID);
        scrollendTID = setTimeout(handleScrollEnd, SCROLL_END_TIMEOUT);
        fireScroll();
    }
function handleScroll ( ) { // if we are just starting scrolling, fire scrollstart event if ( ! scrollingStarted ) { scrollingStarted = true ; scope . broadcast ( 'scrollstart' , buildEventData ( ) ) ; } clearTimeout ( scrollendTID ) ; scrollendTID = setTimeout ( handleScrollEnd , SCROLL_END_TIMEOUT ) ; fireScroll ( ) ; }
Handle scroll events
@returns {void}
@private
Handle scroll events