Skip to content

Widgets update syntax #177

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 15 commits into from
Jan 14, 2015
Merged

Widgets update syntax #177

merged 15 commits into from
Jan 14, 2015

Conversation

theengineear
Copy link
Contributor

@chriddyp , this is the new (perhaps still-in-flux) syntax for postMessage.

I also include a fix for doubly sent messages to the iframe. Not sure where that was coming from, but this is a cheap fix that got me to where i needed to be with testing functionality.

chriddyp and others added 6 commits January 7, 2015 13:17
make docstream copy pasteable; fix parentheses
Though these requirements are unecessary for Python versions after 2.6,
they’re small, harmless libs to import. They ended up being included
in stdlib anyways.
Add strict requirements for python 2.6. (more)
All of our messages seem to be being sent twice! Not sure where that’s coming from. This is a temporary fix that synced with the new frontend postMessage hopefully we can revert this.
@theengineear
Copy link
Contributor Author

Note, this is merging into the widgets branch, not to master.

@theengineear
Copy link
Contributor Author

@chriddyp , the new syntax is on prod now. You'll need to merge in these changes to the widgets branch for your stuff to work (feel free to do so!)

Note, the syntax changed a bit, see here for new variable names: https://github.com/plotly/streambed/blob/master/shelly/embedplot/static/embedplot/main.js#L313-341

And see take a peek in graph_widget.py as well.

chriddyp added a commit that referenced this pull request Jan 14, 2015
@chriddyp chriddyp merged commit feca305 into widgets Jan 14, 2015
@chriddyp chriddyp deleted the widgets-update-syntax branch January 14, 2015 17:56
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