packages/browser-sync/lib/index.js
function noop(name) {
    return function() {
        var args = Array.prototype.slice.call(arguments);
        if (singleton) {
            return singleton[name].apply(singleton, args);
        } else {
            if (publicUtils.isStreamArg(name, args)) {
                return new PassThrough({ objectMode: true });
            }
        }
    };
}
function noop(name) {
    return function() {
        var args = Array.prototype.slice.call(arguments);
        if (singleton) {
            return singleton[name].apply(singleton, args);
        } else {
            if (publicUtils.isStreamArg(name, args)) {
                return new PassThrough({ objectMode: true });
            }
        }
    };
}
function noop ( name ) { return function ( ) { var args = Array . prototype . slice . call ( arguments ) ; if ( singleton ) { return singleton [ name ] . apply ( singleton , args ) ; } else { if ( publicUtils . isStreamArg ( name , args ) ) { return new PassThrough ( { objectMode : true } ) ; } } } ; }
Helper to allow methods to be called on the module export
before there's a running instance
@param {String} name
@returns {Function}
Helper to allow methods to be called on the module export before there s a running instance