         messages: []
 
     connectionsToPeerIds: (connections) ->
-        _.map connections, (connection) => connection.peer
+        _.map connections, (connection) -> connection.peer
 
     componentWillMount: ->
         who = getSegments()[1]


                connection = peer.connect "x"

                connection.on "error", (error) =>
                    alert error

                connection.on "open", =>


                                do (connection) =>

                                    connection.on "error", (error) ->
                                        alert error.type

                                    connection.on "open", =>
