 class CollaborativeDrawingPane extends CollaborativePane
 
   constructor: (options = {}, data) ->
+
+    options.cssClass = KD.utils.curry "ws-drawing-pane", options.cssClass
 
     super options, data
 

      for own key, userData of value
        @userColors[userData.nickname] = userData.color


  addPoint: (x, y, nickname = KD.nick()) ->
    ctx             = @context
    ctx.strokeStyle = @userColors[nickname]


        @pointRef.set { x, y, nickname: KD.nick() }

  bindMouseUpOnCanvas: ->
    @canvas.on "mouseup", (e) =>
      @context.closePath()
      @startDrawing = no
      @stateRef.set   no

      @drawedQueue.unshift KD.nick(), @userColors[KD.nick()]
      @linesRef.push @drawedQueue.join "|"
      @drawedQueue.length = 0

  bindRemoteEvents: ->
    @isContextMoved = yes

    @pointRef.on "value", (snapshot) =>
