Permalink
Browse files

some progress on the API doc

  • Loading branch information...
1 parent 1615c47 commit 0eb0fadce547a506316f2e8669328aecf87ce1fa @rsms rsms committed Jul 21, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 doc/api.md
View
@@ -27,7 +27,7 @@ Represents a session. You can think of a "session" as a logged in and running Sp
> **Note:** Even though this API allows for virtually unlimited number of concurrent Session objects, it is still considered experimental because libspotify has not been extensively tested with session concurrency (i.e. there might be thread sync bugs lurking in the depts of libspotify).
-All methods except `login` require the session to be in a logged in state when called, or weird and highly unexpected things will happen.
+All methods except `login` require the session to be in a logged in state (`session.connectionState === "logged_in"`) when called, or weird and highly unexpected things will happen.
### spotify.Session.prototype.login(username, password, callback(err))

0 comments on commit 0eb0fad

Please sign in to comment.