Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

fix #551, add toJSON to ZoneTask to prevent cyclic error #576

Merged
merged 1 commit into from
Jan 12, 2017

Conversation

JiaLiPassion
Copy link
Collaborator

in issue #551, vaddin use zone.js and use JSON.stringify the dom element, because zone.js patched
eventlistener, the JSON.stringify will serialize ZoneTask as well, and ZoneTask has reference to Zone, JSON.stringify(zoneTask) will cause cyclic error.

in this PR, I just leave the simplified information with toJSON() callback.

@mhevery mhevery merged commit 03d19f9 into angular:master Jan 12, 2017
@JiaLiPassion JiaLiPassion deleted the issue-551 branch January 12, 2017 01:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants