Code coverage report for cjs/InnerSubscriber.js

Statements: 93.94% (31 / 33)      Branches: 62.5% (10 / 16)      Functions: 100% (8 / 8)      Lines: 100% (25 / 25)      Ignored: none     

All files » cjs/ » InnerSubscriber.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 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48    1   1   601   1   1   1   1 1   1 601   601 601 601 601 601         1 1062 1062     1 58     1 372     1     1 1  
'use strict';
 
exports.__esModule = true;
 
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
 
function _classCallCheck(instance, Constructor) { Iif (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }
 
function _inherits(subClass, superClass) { Iif (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); Eif (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
 
var _Subscriber2 = require('./Subscriber');
 
var _Subscriber3 = _interopRequireDefault(_Subscriber2);
 
var InnerSubscriber = (function (_Subscriber) {
    _inherits(InnerSubscriber, _Subscriber);
 
    function InnerSubscriber(parent, outerValue, outerIndex) {
        _classCallCheck(this, InnerSubscriber);
 
        _Subscriber.call(this);
        this.parent = parent;
        this.outerValue = outerValue;
        this.outerIndex = outerIndex;
        this.index = 0;
    }
 
    //# sourceMappingURL=InnerSubscriber.js.map
 
    InnerSubscriber.prototype._next = function _next(value) {
        var index = this.index++;
        this.parent.notifyNext(this.outerValue, value, this.outerIndex, index);
    };
 
    InnerSubscriber.prototype._error = function _error(error) {
        this.parent.notifyError(error, this);
    };
 
    InnerSubscriber.prototype._complete = function _complete() {
        this.parent.notifyComplete(this);
    };
 
    return InnerSubscriber;
})(_Subscriber3['default']);
 
exports['default'] = InnerSubscriber;
module.exports = exports['default'];
//# sourceMappingURL=InnerSubscriber.js.map