1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-06-06 17:45:26 +02:00

remove logs

This commit is contained in:
Kushagra Gour 2024-05-04 23:55:04 +05:30
parent e71979c5f5
commit f24285a5f0

View File

@ -160,7 +160,6 @@ export default class ContentWrap extends Component {
trackEvent('fn', 'hasCode');
trackEvent.hasTrackedCode = true;
}
console.log('writing start', html);
if (shouldInlineJs) {
if (this.detachedWindow) {
@ -195,7 +194,7 @@ export default class ContentWrap extends Component {
// console.log('setting back sandbox attr', sandbox);
// this.frame.setAttribute('sandbox', cachedSandboxAttribute);
// this.frame.removeAttribute('sweet');
console.log('sending postmessage', html);
if (window.IS_EXTENSION) {
this.frame.contentDocument.open();
this.frame.contentDocument.write(contents);