docs/vendor.js
function fromArray(input, scheduler) {
    if (!scheduler) {
        return new _Observable__WEBPACK_IMPORTED_MODULE_0__["Observable"](Object(_util_subscribeToArray__WEBPACK_IMPORTED_MODULE_2__["subscribeToArray"])(input));
    }
    else {
        return new _Observable__WEBPACK_IMPORTED_MODULE_0__["Observable"](function (subscriber) {
            var sub = new _Subscription__WEBPACK_IMPORTED_MODULE_1__["Subscription"]();
            var i = 0;
            sub.add(scheduler.schedule(function () {
                if (i === input.length) {
                    subscriber.complete();
                    return;
                }
                subscriber.next(input[i++]);
                if (!subscriber.closed) {
                    sub.add(this.schedule());
                }
            }));
            return sub;
        });
    }
}
function fromArray(input, scheduler) {
    if (!scheduler) {
        return new _Observable__WEBPACK_IMPORTED_MODULE_0__["Observable"](Object(_util_subscribeToArray__WEBPACK_IMPORTED_MODULE_2__["subscribeToArray"])(input));
    }
    else {
        return new _Observable__WEBPACK_IMPORTED_MODULE_0__["Observable"](function (subscriber) {
            var sub = new _Subscription__WEBPACK_IMPORTED_MODULE_1__["Subscription"]();
            var i = 0;
            sub.add(scheduler.schedule(function () {
                if (i === input.length) {
                    subscriber.complete();
                    return;
                }
                subscriber.next(input[i++]);
                if (!subscriber.closed) {
                    sub.add(this.schedule());
                }
            }));
            return sub;
        });
    }
}
function fromArray ( input , scheduler ) { if ( ! scheduler ) { return new _Observable__WEBPACK_IMPORTED_MODULE_0__ [ "Observable" ] ( Object ( _util_subscribeToArray__WEBPACK_IMPORTED_MODULE_2__ [ "subscribeToArray" ] ) ( input ) ) ; } else { return new _Observable__WEBPACK_IMPORTED_MODULE_0__ [ "Observable" ] ( function ( subscriber ) { var sub = new _Subscription__WEBPACK_IMPORTED_MODULE_1__ [ "Subscription" ] ( ) ; var i = 0 ; sub . add ( scheduler . schedule ( function ( ) { if ( i === input . length ) { subscriber . complete ( ) ; return ; } subscriber . next ( input [ i ++ ] ) ; if ( ! subscriber . closed ) { sub . add ( this . schedule ( ) ) ; } } ) ) ; return sub ; } ) ; } }
PURE_IMPORTS_START _Observable,_Subscription,_util_subscribeToArray PURE_IMPORTS_END
PURE_IMPORTS_START _Observable _Subscription _util_subscribeToArray PURE_IMPORTS_END