Sha256: 8dbfe385671575570c1bf585b4df2ae5c795c8e3199d2613a59dda572e8b52ce

Contents?: true

Size: 417 Bytes

Versions: 17

Compression:

Stored size: 417 Bytes

Contents

var helper = require('../helper');


var MultiReporter = function(reporters) {

  this.addAdapter = function(adapter) {
    reporters.forEach(function(reporter) {
      reporter.adapters.push(adapter);
    });
  };

  this.removeAdapter = function(adapter) {
    reporters.forEach(function(reporter) {
      helper.arrayRemove(reporter.adapters, adapter);
    });
  };
};


// PUBLISH
module.exports = MultiReporter;

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
hooch-0.4.2 jasmine/node_modules/karma/lib/reporters/multi.js
hooch-0.4.1 jasmine/node_modules/karma/lib/reporters/multi.js
hooch-0.4.0 jasmine/node_modules/karma/lib/reporters/multi.js
hooch-0.3.0 jasmine/node_modules/karma/lib/reporters/multi.js
hooch-0.2.1 jasmine/node_modules/karma/lib/reporters/multi.js
hooch-0.2.0 jasmine/node_modules/karma/lib/reporters/multi.js
hooch-0.1.0 jasmine/node_modules/karma/lib/reporters/multi.js
hooch-0.0.8 jasmine/node_modules/karma/lib/reporters/multi.js
hooch-0.0.7 jasmine/node_modules/karma/lib/reporters/multi.js
hooch-0.0.6 jasmine/node_modules/karma/lib/reporters/multi.js
entangled-0.0.16 spec/dummy/public/node_modules/karma/lib/reporters/multi.js
entangled-0.0.15 spec/dummy/public/node_modules/karma/lib/reporters/multi.js
entangled-0.0.14 spec/dummy/public/node_modules/karma/lib/reporters/multi.js
entangled-0.0.13 spec/dummy/public/node_modules/karma/lib/reporters/multi.js
entangled-0.0.12 spec/dummy/public/node_modules/karma/lib/reporters/multi.js
entangled-0.0.11 spec/dummy/public/node_modules/karma/lib/reporters/multi.js
entangled-0.0.10 spec/dummy/public/node_modules/karma/lib/reporters/multi.js