Skip to content

Fix #333 #334

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

Merged
merged 4 commits into from
Dec 10, 2015
Merged

Fix #333 #334

merged 4 commits into from
Dec 10, 2015

Conversation

cpsievert
Copy link
Collaborator

No description provided.

@@ -11,6 +11,9 @@ HTMLWidgets.widget({
},

renderValue: function(el, x, instance) {
// make sure plots don't get created outside the network
window.PLOTLYENV.BASE_URL = x.base_url;
Copy link
Member

Choose a reason for hiding this comment

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

In case it doesn't exist:

window.PLOTLYENV = window.PLOTLYENV || {};
window.PLOTLYENV.BASE_URL = x.base_url;

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks!

@cpsievert
Copy link
Collaborator Author

The message below was automatically generated after build https://travis-ci.org/ropensci/plotly/builds/96076387

Detected 1 differences ->

http://cpsievert.github.io/plotly-test-table/05e169f/scatterplots-jitter

@cpsievert
Copy link
Collaborator Author

The message below was automatically generated after build https://travis-ci.org/ropensci/plotly/builds/96073604

Detected 1 differences ->

http://cpsievert.github.io/plotly-test-table/39c2343/scatterplots-jitter

cpsievert added a commit that referenced this pull request Dec 10, 2015
@cpsievert cpsievert merged commit d7a340c into master Dec 10, 2015
@cpsievert cpsievert deleted the fix/base-url branch December 10, 2015 17:41
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