1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-28 09:10:17 +02:00

make ContentWraps conditional and add console in files mode

This commit is contained in:
Kushagra Gour
2018-10-04 17:13:17 +05:30
parent 9866b2dbd9
commit abdb287b1c
3 changed files with 148 additions and 21 deletions

View File

@@ -34,7 +34,6 @@ export default class ContentWrap extends Component {
this.logCount = 0;
window.onMessageFromConsole = this.onMessageFromConsole.bind(this);
window.previewException = this.previewException.bind(this);
// `clearConsole` is on window because it gets called from inside iframe also.
window.clearConsole = this.clearConsole.bind(this);