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

Replace jquery.postmessage with vanilla postmessage implementation #24

Open
gunnarlium opened this issue May 12, 2016 · 0 comments
Open

Comments

@gunnarlium
Copy link
Member

The 3rd party postmessage lib is designed to work with very old browsers that we no longer support, meaning it does a lot of unnecessary work. It also intercepts postmessage from other pages, which may not follow the format it expects. An example of this is when the data is already a JSON object, which does not need to be parsed.

Supporting vanilla postmessage is pretty straightforward in modern browsers.

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