Skip to content

Make getActiveElement work without document global#223

Closed
acusti wants to merge 1 commit intofacebook:fbjs-0.8.xfrom
brandcast:fbjs-0.8.x
Closed

Make getActiveElement work without document global#223
acusti wants to merge 1 commit intofacebook:fbjs-0.8.xfrom
brandcast:fbjs-0.8.x

Conversation

@acusti
Copy link
Contributor

@acusti acusti commented Mar 21, 2017

🌶🔧 to address #222 (comment) and #222 (comment)

Tests and server-side rendering are breaking when no global document exists (an oversight from the original PR). This seems like a clean way to solve it.

@acusti
Copy link
Contributor Author

acusti commented Mar 21, 2017

I will also make a PR against master with the same commit.

@zpao
Copy link
Member

zpao commented Mar 21, 2017

@spicyj had merged #226 first and I cherry-picked that into the branch, so we're good. Thanks for the quick follow up though!

@zpao zpao closed this Mar 21, 2017
@sophiebits
Copy link
Contributor

Ah I missed this one. Thanks for sending it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants