Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.

Add onbeforeunload support #19

Merged
merged 1 commit into from
May 14, 2015

Conversation

gfranko
Copy link

@gfranko gfranko commented May 12, 2015

This handles the situation when a user leaves a particular page and the window.onbeforeunload() method needs to be called. #16

Note: This is almost idential to the flux-router-component PR that I created.

@yahoocla
Copy link

CLA is valid!

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 62926f1 on gfranko:add-onbeforeunload-support into * on yahoo:master*.

@jedireza
Copy link
Contributor

cc// @mridgway @lingyan

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling a7ceed9 on gfranko:add-onbeforeunload-support into * on yahoo:master*.

@lingyan
Copy link
Contributor

lingyan commented May 14, 2015

👍 @mridgway @redonkulus ?

@redonkulus
Copy link
Contributor

👍 can you please squash your commits?

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling a38d507 on gfranko:add-onbeforeunload-support into * on yahoo:master*.

@gfranko gfranko force-pushed the add-onbeforeunload-support branch from a38d507 to 520eba4 Compare May 14, 2015 18:57
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 520eba4 on gfranko:add-onbeforeunload-support into * on yahoo:master*.

Added window.onbeforeunload functionality to fluxible-router

Make sure to delete the onbeforeunload method if a user wants to navigate to a different page

Removed logic from the navigate action and added logic for the handleHistory lib and the NavLink component per @mridgway

Remove unneccessary commented out code

Be safer about getting the current route map

Remove jsdom from the navigateAction-test.js file

Removed ynpm debug log

Updated .gitignore

Reverted .gitignore

Updated with changes per @lingyan

Remove the currentUrl condition per @lingyan

Updated

Remove the currentUrl condition per @lingyan

Updated per @lingyan
@gfranko gfranko force-pushed the add-onbeforeunload-support branch from 520eba4 to e8aee87 Compare May 14, 2015 19:00
@gfranko
Copy link
Author

gfranko commented May 14, 2015

@redonkulus Squashed!

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling e8aee87 on gfranko:add-onbeforeunload-support into * on yahoo:master*.

1 similar comment
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling e8aee87 on gfranko:add-onbeforeunload-support into * on yahoo:master*.

@redonkulus
Copy link
Contributor

👍

mridgway added a commit that referenced this pull request May 14, 2015
@mridgway mridgway merged commit 4478be6 into YahooArchive:master May 14, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants