code: function(destination, template, infos, buildOptions){
      return gutil.combine(
        jsdoc.parser(infos),
        // jsdoc.reporter(),
        jsdoc.generator(destination, template, buildOptions)
      )();
    }
docs: // Wrap reporter helper var wrapReporter = function(reporter){ return function(options){ return through2.obj(function(file, enc, next){ var warnings = JSON.parse(file.contents.toString('utf8')).warnings; if(warnings && warnings.length){ // Don't trust the (yahoo) reporter too much try{ reporter(warnings, options); }catch(e){ return this.emit('error', new PluginError('gulp-jsdoc', 'Reporter crashed!' + e)); } } this.push(file); next(); }); }; };