function infscr_pause(pause) {

            var opts = this.options;

            // If pause is not 'pause' or 'resume', toggle it's value
            if (pause !== 'pause' && pause !== 'resume' && pause !== 'toggle' && pause !== null) {
                this._debug('Invalid argument. Toggling pause value instead');
            };

            pause = (pause && (pause == 'pause' || pause == 'resume')) ? pause : 'toggle';

            switch (pause) {
                case 'pause':
                    opts.isPaused = true;
                    break;

                case 'resume':
                    opts.isPaused = false;
                    break;

                case 'toggle':
                    opts.isPaused = !opts.isPaused;
                    break;
            }

            this._debug('Paused', opts.isPaused);
            return false;

        }
// Pause / temporarily disable plugin from firing
Pause / temporarily disable plugin from firing
Pause / temporarily disable plugin from firing
function infscr_pause(pause) {
            var opts = this.options;
            if (pause !== 'pause' && pause !== 'resume' && pause !== 'toggle' && pause !== null) {
                this._debug('Invalid argument. Toggling pause value instead');
            };
            pause = (pause && (pause == 'pause' || pause == 'resume')) ? pause : 'toggle';
            switch (pause) {
                case 'pause':
                    opts.isPaused = true;
                    break;
                case 'resume':
                    opts.isPaused = false;
                    break;
                case 'toggle':
                    opts.isPaused = !opts.isPaused;
                    break;
            }
            this._debug('Paused', opts.isPaused);
            return false;
        }
function infscr_pause ( pause ) { var opts = this . options ; if ( pause !== 'pause' && pause !== 'resume' && pause !== 'toggle' && pause !== null ) { this . _debug ( 'Invalid argument. Toggling pause value instead' ) ; } ; pause = ( pause && ( pause == 'pause' || pause == 'resume' ) ) ? pause : 'toggle' ; switch ( pause ) { case 'pause' : opts . isPaused = true ; break ; case 'resume' : opts . isPaused = false ; break ; case 'toggle' : opts . isPaused = ! opts . isPaused ; break ; } this . _debug ( 'Paused' , opts . isPaused ) ; return false ; }
Pause / temporarily disable plugin from firing
Pause / temporarily disable plugin from firing
// If pause is not 'pause' or 'resume', toggle it's value