lib/carte/client/views/card.cjsx in carte-server-0.0.25 vs lib/carte/client/views/card.cjsx in carte-server-0.0.26
- old
+ new
@@ -8,12 +8,10 @@
module.exports = React.createClass
displayName: 'Card'
componentDidMount: ->
@props.card.on 'change', @forceUpdate.bind(@, null)
- @props.card.on 'change', (model)->
- console.log 'change', model
getInitialState: ()->
showTools: false
editing: false
updating: false
@@ -25,10 +23,9 @@
onMouseLeave: ()->
@setState showTools: false
render: ->
- console.log 'Card: render'
<div className='col-sm-4 col-xs-12 list-group' style={marginBottom:'0px',padding:"5px"} onMouseOver={@onMouseOver} onMouseLeave={@onMouseLeave}>
<div className='list-group-item' style={height:'200px'}>
<div style={marginBottom:'10px'}>
{
if @props.card.get('focused')