score:1

Accepted answer

i've found the problem. rubymine (and i think intellij idea too) indent coffeescript files with spaces. just change indentations to tabs, and error will disappear.

intellij idea settings (coffeescript indentions)

score:1

i think it should be indented once more.

right now it's even with the prop of onsubmit:

    react.dom.form
        onsubmit: @handlesubmit
        react.dom.div # problem is here
            classname: 'form-group'

but maybe it should be incremented once more:

    react.dom.form
        onsubmit: @handlesubmit
        # -> 
            react.dom.div # problem is here
                classname: 'form-group'

Related Query

More Query from same tag