All files / cd-messenger index.js

50% Statements 2/4
50% Branches 1/2
100% Functions 0/0
50% Lines 2/4
1 2 3 4 5 6 7 8 9 10    1x         1x    
/*global require, process*/
 
Iif (process.browser) {
  let Browser = require('./src/messenger-browser');
  module.exports = new Browser(require('./package.json'));
}
else {
  module.exports = require('./src/messenger-node');
}