fix: "onNext" is called instead of "next" on an Observable. (#219)

This commit is contained in:
Valeriy
2018-07-06 12:41:34 +03:00
committed by Mrugesh Mohapatra
parent 5c50f147ec
commit 00ce364692

View File

@ -83,7 +83,7 @@ const buildProxyConsole = proxyLogger => ctx => {
const oldLog = ctx.window.console.log.bind(ctx.window.console);
ctx.window.__console = {};
ctx.window.__console.log = function proxyConsole(...args) {
proxyLogger.onNext(args);
proxyLogger.next(args);
return oldLog(...args);
};
return ctx;