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

Adding one more param to setTarget method - origin url #3

Merged
merged 5 commits into from
Jun 6, 2014

Conversation

bkoval
Copy link
Contributor

@bkoval bkoval commented Jun 5, 2014

No description provided.

@@ -45,11 +45,11 @@ Ponto can be used as a message transport protocol between a parent HTML window a

For parent window, this method gets two params, target indicator and targeted iframe's content window.
```javascript
Ponto.setTarget(Ponto.TARGET_IFRAME, document.querySelector('iframe').contentWindow);
Ponto.setTarget(Ponto.TARGET_IFRAME, 'http://iframeOrigin.com',document.querySelector('iframe').contentWindow);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Space after comma.

@rogatty
Copy link

rogatty commented Jun 6, 2014

👍

bkoval added a commit that referenced this pull request Jun 6, 2014
Adding one more param to setTarget method - origin url
@bkoval bkoval merged commit 899af3f into master Jun 6, 2014
@bkoval bkoval deleted the Explicit-origin-for-iframe-transport branch June 6, 2014 10:38
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

Successfully merging this pull request may close these issues.

2 participants