semantic.js
function() {
            if(settings.throttle) {
              clearTimeout(module.timer);
              module.timer = setTimeout(function() {
                $context.triggerHandler('scrollchange' + eventNamespace, [ $context.scrollTop() ]);
              }, settings.throttle);
            }
            else {
              requestAnimationFrame(function() {
                $context.triggerHandler('scrollchange' + eventNamespace, [ $context.scrollTop() ]);
              });
            }
          }
function() {
            if(settings.throttle) {
              clearTimeout(module.timer);
              module.timer = setTimeout(function() {
                $context.triggerHandler('scrollchange' + eventNamespace, [ $context.scrollTop() ]);
              }, settings.throttle);
            }
            else {
              requestAnimationFrame(function() {
                $context.triggerHandler('scrollchange' + eventNamespace, [ $context.scrollTop() ]);
              });
            }
          }
function ( ) { if ( settings . throttle ) { clearTimeout ( module . timer ) ; module . timer = setTimeout ( function ( ) { $context . triggerHandler ( 'scrollchange' + eventNamespace , [ $context . scrollTop ( ) ] ) ; } , settings . throttle ) ; } else { requestAnimationFrame ( function ( ) { $context . triggerHandler ( 'scrollchange' + eventNamespace , [ $context . scrollTop ( ) ] ) ; } ) ; } }
publishes scrollchange event on one scroll
publishes scrollchange event on one scroll