Closed osartun closed 7 years ago
I forked this repo and applied the necessary changes and created pull request https://github.com/ded/domready/pull/55 to solve this issue.
The PR was merged, so this issue can be closed then https://github.com/ded/domready/pull/55#event-1209259868
I have an app that uses SSR, but the
domready
package didn't work asdocument
isn't defined on the server. That's why it fails on line 13:Instead it should check if document is defined.