Skip to content

Make getActiveElement work without document global#223

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

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

Conversation

@acusti

@acusti acusti commented Mar 21, 2017

Copy link
Copy Markdown
Contributor

🌶🔧 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

acusti commented Mar 21, 2017

Copy link
Copy Markdown
Contributor Author

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

@zpao

zpao commented Mar 21, 2017

Copy link
Copy Markdown
Contributor

@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
Copy Markdown
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