Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion dist/module/child/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ class ChildComponent {
}

if (childPayload.version !== __ZOID__.__VERSION__) {
throw new Error(`Parent window has zoid version ${childPayload.version}, child window has version ${__ZOID__.__VERSION__}`);
const msg = `Parent window has zoid version ${childPayload.version}, child window has version ${__ZOID__.__VERSION__}`; // throw new Error(msg);
// eslint-disable-next-line no-console

console.log(msg);
}

const {
Expand Down
8 changes: 4 additions & 4 deletions dist/zoid.frame.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/zoid.frame.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/zoid.frame.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/zoid.frame.min.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/zoid.frameworks.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/zoid.frameworks.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/zoid.frameworks.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/zoid.frameworks.min.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/zoid.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/zoid.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/zoid.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/zoid.min.js.map

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion src/child/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,10 @@ export class ChildComponent<P> {
}

if (childPayload.version !== __ZOID__.__VERSION__) {
throw new Error(`Parent window has zoid version ${ childPayload.version }, child window has version ${ __ZOID__.__VERSION__ }`);
const msg = `Parent window has zoid version ${ childPayload.version }, child window has version ${ __ZOID__.__VERSION__ }`;
// throw new Error(msg);
// eslint-disable-next-line no-console
console.log(msg);
}

const { parent, domain, exports, context, props } = childPayload;
Expand Down
Loading