New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow spin to be required on server. #283

merged 1 commit into from Mar 18, 2015


None yet
2 participants

This change allows Spin to be required as a Common JS module without having a DOM available. It also consolidates the initialization code into one place.

This is crucial for using Spin in isomorphic apps. Nothing should be affected other than this ability being added.

I wasn't sure why the stylesheet initialization code was in a IEFE, so I left it as is.

fgnass added a commit that referenced this pull request Mar 18, 2015

Merge pull request #283 from davidmccabe/master
Allow spin to be required on server.

@fgnass fgnass merged commit 5fbe9cf into fgnass:master Mar 18, 2015

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