Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Including xdomain into angular application gives "Illegal invocation" error #211

Open
shivangiBilora opened this issue Apr 16, 2018 · 0 comments

Comments

@shivangiBilora
Copy link

shivangiBilora commented Apr 16, 2018

Hi

I tried including the script directly into index.html file as:

<script src="https://cdn.rawgit.com/jpillora/xdomain/0.7.4/dist/xdomain.min.js"></script>
<script>
xdomain.slaves({
  "https://abc.xyz.com": "/proxy.html"
});
</script>

This is an angular 5 application, and the moment I include these scripts, it throws multiple errors saying "Illegal invocation"... Does anyone have any idea what is this about, and how can I resolve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant