Skip to content
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

enable server side rendering #2

Merged
merged 1 commit into from
Jun 10, 2015
Merged

Conversation

jkempff
Copy link
Contributor

@jkempff jkempff commented Jun 9, 2015

The SoundCloudAudio class assumes to always run in the browser.

If we only create an instance, if there actually is a window, server side rendering works like a charm.

I'm not sure, if there is a better way to accomplish this. What do you think?

I would really like to use your module within my app.

@voronianski
Copy link
Member

@jkempff this looks fine, thanks! 👍

voronianski added a commit that referenced this pull request Jun 10, 2015
enable server side rendering
@voronianski voronianski merged commit 375f1d8 into kosmetism:master Jun 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants