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

i has a err like this #2

Open
hui453694187 opened this issue Jun 19, 2015 · 2 comments
Open

i has a err like this #2

hui453694187 opened this issue Jun 19, 2015 · 2 comments

Comments

@cabelin
Copy link

cabelin commented Sep 12, 2016

You need to import atmosphere.js in your page

@ghost
Copy link

ghost commented Nov 17, 2016

I got this error as well, but I'm building an ES6 Angular 1.5 application, meaning the way libs are added to the app is different from the traditional <script> tag on the index.html file.
I ran npm install atmosphere.js --save and npm i angular-atmosphere --save to get both atmosphere and this wrapper.

On my main app file, I'm doing
import 'atmosphere.js'; import 'angular-atmosphere';

But when I call the subscribe method of your service, I get the same error as the other user described.

Got any suggestion?
Thanks

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

No branches or pull requests

2 participants