SAMYANG/m/asset/js/sy.m.plugin.js
/**
         * Determines the way of scrolling up or down:
         * by 'automatically' scrolling a section or by using the default and normal scrolling.
         */
Determines the way of scrolling up or down:
by 'automatically' scrolling a section or by using the default and normal scrolling.
Determines the way of scrolling up or down : by ' automatically ' scrolling a section or by using the default and normal scrolling .
function scrolling(type) {
            if (!isScrollAllowed.m[type]) {
                return;
            }
            var scrollSection = (type === 'down') ? moveSectionDown : moveSectionUp;
            if (options.scrollOverflow) {
                var scrollable = options.scrollOverflowHandler.scrollable($(SECTION_ACTIVE_SEL));
                var check = (type === 'down') ? 'bottom' : 'top';
                if (scrollable.length > 0) {
                    if (options.scrollOverflowHandler.isScrolled(check, scrollable)) {
                        scrollSection();
                    } else {
                        return true;
                    }
                } else {
                    scrollSection();
                }
            } else {
                scrollSection();
            }
        }
function scrolling ( type ) { if ( ! isScrollAllowed . m [ type ] ) { return ; } var scrollSection = ( type === 'down' ) ? moveSectionDown : moveSectionUp ; if ( options . scrollOverflow ) { var scrollable = options . scrollOverflowHandler . scrollable ( $ ( SECTION_ACTIVE_SEL ) ) ; var check = ( type === 'down' ) ? 'bottom' : 'top' ; if ( scrollable . length > 0 ) { if ( options . scrollOverflowHandler . isScrolled ( check , scrollable ) ) { scrollSection ( ) ; } else { return true ; } } else { scrollSection ( ) ; } } else { scrollSection ( ) ; } }
Determines the way of scrolling up or down:
 by 'automatically' scrolling a section or by using the default and normal scrolling.
Determines the way of scrolling up or down : by ' automatically ' scrolling a section or by using the default and normal scrolling .
//is the scrollbar at the start/end of the scroll? // moved up/down // moved up/down