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

WIP - some changes to the serializers. #1300

Closed
wants to merge 1 commit into from

Conversation

jasongrout
Copy link
Member

This was originally part of #1294, and was reverted in c64e5f6

@jasongrout jasongrout added this to the 7.0 milestone Apr 18, 2017
@jasongrout
Copy link
Member Author

The get_state changes are incorporated in #1302.

@jasongrout
Copy link
Member Author

I just rebased keeping the relevant changes from before.

}
} catch (e) {
console.error("Error serializing widget state attribute: ", k);
console.error(`Error serializing widget state attribute ${k} (value ${state[k]})`);
throw e;
Copy link
Member

Choose a reason for hiding this comment

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

I believe IE doesnt support this, right @SylvainCorlay, what's it called, template strings orso?

Copy link
Member Author

Choose a reason for hiding this comment

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

typescript compiles this down to normal js strings.

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

👍

jasongrout added a commit to jasongrout/ipywidgets that referenced this pull request May 17, 2017
…a second argument, not the widget manager.

We had not been calling the static _serialize_state method, and there was ambiguity with what the second argument was.

This incorporates the last part of jupyter-widgets#1300.
@jasongrout
Copy link
Member Author

Closed in favor of #1355, which has the last part of the above.

@jasongrout jasongrout closed this May 17, 2017
@github-actions github-actions bot added the resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion. label Feb 14, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants