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

Add action const POP_AND_REPLACE #1119

Merged
merged 5 commits into from
Sep 2, 2016

Conversation

bifrost
Copy link

@bifrost bifrost commented Aug 30, 2016

I needed a way to change the scene stack [a, b, c] -> [a, d] so swipe BACK action natural went from scene d to a. It is not possible with existing actionConst in one go. Therefore I had to create the new actionConst POP_AND_REPLACE that combine BACK action with REPLACE action, where popNum is optional and default 1.

@mention-bot
Copy link

@bifrost, thanks for your PR! By analyzing the annotation information on this pull request, we identified @joenoon, @zxcpoiu and @BANG88 to be potential reviewers

@aksonov aksonov merged commit da7af79 into aksonov:master Sep 2, 2016
@linonetwo
Copy link

Can you release it on npm? Badly need it!

@Naoto-Ida
Copy link

+1 would be a great addition for what I'm developing right now :)

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.

5 participants