diff --git a/client/modules/IDE/reducers/files.js b/client/modules/IDE/reducers/files.js index 6cade0d7..b004caca 100644 --- a/client/modules/IDE/reducers/files.js +++ b/client/modules/IDE/reducers/files.js @@ -15,6 +15,7 @@ const defaultHTML =
+ diff --git a/dist/static/assets/webcam.js b/dist/static/assets/webcam.js index 39e4a595..5e26e19a 100644 --- a/dist/static/assets/webcam.js +++ b/dist/static/assets/webcam.js @@ -454,22 +454,3 @@ if (event.reason && event.reason.message && event.reason.stack){ }], '*'); } }; - -(function(){ - const oldLog = console.log; - console.log = function (...params) { - oldLog.apply(console, params); - - const err = new Error(); - const logSrc = err.stack.split("\n")[1]; - const args = params.map((a) => ""+a); // to string - window.parent.postMessage([{ - log: [{ - method: 'log', - data: args, - id: Date.now().toString() - }], - source: logSrc - }], '*'); - }; -})(); \ No newline at end of file