overleaf/services/chat/public/coffee/collections/connectedUsers.coffee
2014-08-15 10:50:36 +01:00

9 lines
187 B
CoffeeScript

define [
"libs/backbone"
"models/user"
], (Backbone, User) ->
ConnectedUsers = Backbone.Collection.extend
model: User
initialize: (models, options) ->
{@chat, @room} = options