           collapse.find('path').attr "d", path
           return
         toggleCollapse: (spliter) ->
-          console.log spliter
           pre = @items[spliter.preItemIdx]
           next = @items[spliter.nextItemIdx]
           rawSizeBoth = pre.size + next.size
           if spliter.collapsed
             pre.size = rawSizeBoth * spliter.preDivBoth
-            console.log pre.size
           else
             if spliter.collapseDirection is 'pre'
               pre.size = pre.minSize

    toPixel: (size) ->
      size + 'px'
  ]


          return
        registerObservers: () ->
          @resize()
          _debounceResize()
          angular.element($window).on 'resize', () =>
            @resize()
            return
          for spliter, spliter_idx in @spliters
            if spliter.collapsable
              spliter.collapse.on 'click', ((spliter) =>
                (evt) =>
                  @toggleCollapse(spliter)
              )(spliter)
            spliter.elem.on 'mousedown', ((spliter, spliter_idx) =>
              (evt) =>
                spliter.from = evt[@sizeType.coord]
                spliter.delta = 0
                evt.preventDefault()
                evt.stopPropagation()
                @spliterIsActive = true
                angular.element($window).on 'mousemove', (evt) =>
                  @activeSpliterIdx = spliter_idx
                  spliter.elem.css 'z-index', 99999
                  spliter.to = evt[@sizeType.coord]
                  pre = @items[spliter.preItemIdx]
                  next = @items[spliter.nextItemIdx]
