forked from youtube/spfjs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass shared values when processing multipart responses.
This change allows values from one part of a multipart response to be handled during processing of subsequent parts. The motivating use case is to allow a response to specify a "name" to use during CSS-based animation once and have it apply to all subsequent parts. For example instead of: ```json [{"name": "my-page", "body": {"id-1": "content-1"}}, {"name": "my-page", "body": {"id-2": "content-2"}}, {"name": "my-page", "body": {"id-3": "content-3"}}] ``` The following would now be processed as if the above were sent: ```json [{"name": "my-page", "body": {"id-1": "content-1"}}, {"body": {"id-2": "content-2"}}, {"body": {"id-3": "content-3"}}] ``` Progress on youtube#299. SAVEPOINT handle shared values revert server revert islated client changes revert parts of spf.nav revert parts of spf.nav.response
- Loading branch information
Showing
3 changed files
with
70 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters