mirror of
https://github.com/chinchang/web-maker.git
synced 2025-06-11 04:00:54 +02:00
remove logs
This commit is contained in:
@ -160,7 +160,6 @@ export default class ContentWrap extends Component {
|
|||||||
trackEvent('fn', 'hasCode');
|
trackEvent('fn', 'hasCode');
|
||||||
trackEvent.hasTrackedCode = true;
|
trackEvent.hasTrackedCode = true;
|
||||||
}
|
}
|
||||||
console.log('writing start', html);
|
|
||||||
|
|
||||||
if (shouldInlineJs) {
|
if (shouldInlineJs) {
|
||||||
if (this.detachedWindow) {
|
if (this.detachedWindow) {
|
||||||
@ -195,7 +194,7 @@ export default class ContentWrap extends Component {
|
|||||||
// console.log('setting back sandbox attr', sandbox);
|
// console.log('setting back sandbox attr', sandbox);
|
||||||
// this.frame.setAttribute('sandbox', cachedSandboxAttribute);
|
// this.frame.setAttribute('sandbox', cachedSandboxAttribute);
|
||||||
// this.frame.removeAttribute('sweet');
|
// this.frame.removeAttribute('sweet');
|
||||||
console.log('sending postmessage', html);
|
|
||||||
if (window.IS_EXTENSION) {
|
if (window.IS_EXTENSION) {
|
||||||
this.frame.contentDocument.open();
|
this.frame.contentDocument.open();
|
||||||
this.frame.contentDocument.write(contents);
|
this.frame.contentDocument.write(contents);
|
||||||
|
Reference in New Issue
Block a user