Skip to content

Commit

Permalink
Temporary fix for transform-es2015-typeof-symbol IE issue with window
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Brain committed Mar 8, 2017
1 parent 0755fae commit ca686bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interface/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export function request(options) {
options.window = options.window.contentWindow;
}

if (typeof options.window !== 'object' || options.window === null) {
if (options.window === null) {
throw new Error('Expected options.window to be a window object, iframe, or iframe element id.');
}

Expand Down

0 comments on commit ca686bf

Please # to comment.