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

Firefox tries to run gapi.auth when it isn't set #51

Closed
cdsmith opened this issue Aug 13, 2014 · 2 comments
Closed

Firefox tries to run gapi.auth when it isn't set #51

cdsmith opened this issue Aug 13, 2014 · 2 comments
Labels

Comments

@cdsmith
Copy link
Collaborator

cdsmith commented Aug 13, 2014

In Firefox, this message sometimes appears in the JavaScript console:

TypeError: gapi.auth is undefined

This is most likely a result of a timing problem, where some call that relies on sign-in state is being made before the authentication API is completely loaded.

@cdsmith cdsmith added the bug label Aug 13, 2014
@mattn
Copy link

mattn commented Mar 13, 2015

I get this on google chrome.

loadAsync('https://apis.google.com/js/client:plusone.js', function() {

Maybe, this :plusone should be removed?

@cdsmith
Copy link
Collaborator Author

cdsmith commented Aug 6, 2015

Fixed. I had some broken code setting up a callback, and it was being called too early.

@cdsmith cdsmith closed this as completed Aug 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants