# Code coverage report for RxJS/dist/cjs/operators/publish.js

## Statements: 100% (13 / 13) Branches: 75% (3 / 4) Functions: 100% (3 / 3) Lines: 100% (12 / 12) Ignored: none

All files » RxJS/dist/cjs/operators/ » publish.js

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24

    1
    1

    2

    1

    1

    1

    1

    1
    12

    1
    12

    1'use strict';

    exports.__esModule = true;
    exports['default'] = publish;

    function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

    var _Subject = require('../Subject');

    var _Subject2 = _interopRequireDefault(_Subject);

    var _multicast = require('./multicast');

    var _multicast2 = _interopRequireDefault(_multicast);

    function subjectFactory() {
        return new _Subject2['default']();
    }

    function publish() {
        return _multicast2['default'].call(this, subjectFactory);
    }

    module.exports = exports['default'];