-
Notifications
You must be signed in to change notification settings - Fork 807
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change helperto safeHTMLElement now that appElement is gone
- Loading branch information
Andrew Fuller
committed
Jun 26, 2017
1 parent
cecef1d
commit 24caa29
Showing
4 changed files
with
9 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import ExecutionEnvironment from 'exenv'; | ||
|
||
const EE = ExecutionEnvironment; | ||
|
||
const SafeHTMLElement = EE.canUseDOM ? window.HTMLElement : {}; | ||
|
||
export default SafeHTMLElement; |