see 'output-testcases.txt' for a description of this file format


##desc
complex whitespace
##input
<article name={
  if test()
    'yes'
  else
    'no'
}>
{

  for n in getRange()
    <div> a
      some cool text
      <li class={"as"+1}>{ n+1 }<a /> <a /> </li>
    </div>
}

</article>
##end

##desc
more complex output
##input
call(() ->
  React.renderComponent(
    <span date="{new Date()}" />,
    sink('example')
  )
, 500)

React.createClass({
  render: ->
    return <div color="blue">
      {<li>click{  <img coolattr /> } </li> for i in getRange()} 
    </div>
})
##end

##desc
multiline elements
##input
  <div>
  <div>
  <div>
  <div>
    <article name={ new Date() } number = 203
     range={getRange()}
    >
    </article>
  </div>
  </div>
  </div>
  </div>
##end

##desc
multiline tag with nested cjsx within an attribute
##input
<article 
  name={
    date = new Date()
    <div className="user" dob={date} />
  } 
>
  blah blah blah
</article>
##end


##desc
the car example
##input
# @cjsx React.DOM 
Car = React.createClass
  render: ->
    <article doors={4} safety={getRange()}  data-top-down="yep" checked>
      <div />
      <div />
      <p>Which seat can I take? {@props?.seat}</p>
    </article>
##end
