function(opts) {
		opts.actions = opts.actions || 'scroll';
		if (typeof opts.actions === 'string') {
			opts.actions = opts.actions.split(/[,;]/);
		} else if (typeof opts.actions === 'function') {
			opts.actions = [opts.actions];
		}
		return opts;
	}
function(opts) {
		opts.actions = opts.actions || 'scroll';
		if (typeof opts.actions === 'string') {
			opts.actions = opts.actions.split(/[,;]/);
		} else if (typeof opts.actions === 'function') {
			opts.actions = [opts.actions];
		}
		return opts;
	}
function ( opts ) { opts . actions = opts . actions || 'scroll' ; if ( typeof opts . actions === 'string' ) { opts . actions = opts . actions . split ( / [,;] / ) ; } else if ( typeof opts . actions === 'function' ) { opts . actions = [ opts . actions ] ; } return opts ; }
actions
actions