Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
getRoom = (roomId) ->
room = nowjs.getGroup roomId
return room if room.augumented
room.drawings = [] = (x, y) ->
room.currentDrawing = [ x: x, y: y ] x, y = (x, y) ->
room.currentDrawing.push x: x, y: y x, y = ->
room.drawings.push room.currentDrawing
room.augumented = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.