From 00ce364692a80125055a359b05efd96b66f55e84 Mon Sep 17 00:00:00 2001 From: Valeriy Date: Fri, 6 Jul 2018 12:41:34 +0300 Subject: [PATCH] fix: "onNext" is called instead of "next" on an Observable. (#219) --- packages/learn/src/templates/Challenges/utils/frame.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/learn/src/templates/Challenges/utils/frame.js b/packages/learn/src/templates/Challenges/utils/frame.js index 28511ab557..fa1dec6c38 100644 --- a/packages/learn/src/templates/Challenges/utils/frame.js +++ b/packages/learn/src/templates/Challenges/utils/frame.js @@ -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;