Skip to content

Commit

Permalink
Fix users()
Browse files Browse the repository at this point in the history
Was gettig `Cannot read property 'data' of undefined`, because @brain was never set
  • Loading branch information
justincampbell committed Feb 21, 2013
1 parent 54cc976 commit a1ff021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/brain.coffee
Expand Up @@ -51,7 +51,7 @@ class Brain extends EventEmitter
#
# Returns an Array of User objects.
users: ->
@brain.data.users
@data.users

# Public: Get a User object given a unique identifier.
#
Expand Down

0 comments on commit a1ff021

Please sign in to comment.