Skip to content

Conversation

@darobin
Copy link

@darobin darobin commented Sep 25, 2015

I am developing an isomorphic application that uses Tether. Obviously it is not expected to do anything useful on the server side, but it gets loaded all the same with the rest of the client code.

Right now there are two places in the code that, even without actually tethering any elements, still access document and window. Naturally, Node isn't too happy about that. This fix makes Tether load without crashing.

PS: I nuked dist/ and reran npm run build as per the instructions in CONTRIBUTING.md, but this created spurious changes. I'm including them, but the only real changes are in src/js/tether.js.

@geekjuice
Copy link
Contributor

This seems like a duplicate of #117. I'll be taking a look at that PR soon to see if there are better ways to handle this issue, but a fix should be right around the corner 👍

@geekjuice geekjuice closed this Sep 25, 2015
@darobin
Copy link
Author

darobin commented Sep 25, 2015

Bah, missed that! Good to know the fix is coming.

@geekjuice
Copy link
Contributor

Yup! Just came back from hiatus so slowly getting back to reviewing these outstanding issues. Feel free to follow that PR to track when it gets merged, but like I mentioned, I'm aiming for very, very, very soon 👍

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.

2 participants