We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The playground that you see at http://gopherjs.org/play/ is actually inside an iframe pointing to http://gopherjs.org/playground/index.html.
But the code uses the current frame's URL to generate the shared link.
So, sharing kinda works, but the generated link has the form of:
http://gopherjs.org/playground/index.html#/Myqj0bQVev
Which takes you out of the iframe with the nicer URL. And http://gopherjs.org/play/#/Myqj0bQVev does not work because it doesn't read the URL of the parent frame.
The text was updated successfully, but these errors were encountered:
Use location of topmost window.
2a33516
Fixes #14.
Fixed! \o/
http://gopherjs.org/play/#/Myqj0bQVev now works! And sharing produces the same form of URLs.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
The playground that you see at http://gopherjs.org/play/ is actually inside an iframe pointing to http://gopherjs.org/playground/index.html.
But the code uses the current frame's URL to generate the shared link.
So, sharing kinda works, but the generated link has the form of:
http://gopherjs.org/playground/index.html#/Myqj0bQVev
Which takes you out of the iframe with the nicer URL. And http://gopherjs.org/play/#/Myqj0bQVev does not work because it doesn't read the URL of the parent frame.
The text was updated successfully, but these errors were encountered: