Skip to content
This repository has been archived by the owner on Oct 4, 2020. It is now read-only.

Return value of the correct constructor from _readEventTarget #104

Merged

Conversation

no-longer-on-githu-b
Copy link
Contributor

Fixes #103.

@no-longer-on-githu-b
Copy link
Contributor Author

It appears this function was even more horribly broken. The version in this PR swaps the branches in the conditional expression around so that Left is returned in case of error, and Right in case of success, instead of the other way around.

@garyb
Copy link
Member

garyb commented Jun 8, 2017

😱 thanks!

@garyb garyb merged commit 32a8e55 into purescript-deprecated:master Jun 8, 2017
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.

2 participants