Glavin001 / atom-preview

:construction: (NO LONGER MAINTAINED) :construction: - :eyeglasses: Ultimate previewer of source code in Atom.
https://atom.io/packages/preview
MIT License
51 stars 23 forks source link

Added CJSX support #97

Closed screendriver closed 9 years ago

screendriver commented 9 years ago

See also #96

Glavin001 commented 9 years ago

I need to add an example file for this.

How about:

Car = React.createClass
  render: ->
    <Vehicle doors={4} locked={isLocked()} data-colour="red" on>
      <Parts.FrontSeat />
      <Parts.BackSeat />
      <p className="seat">Which seat can I take? {@props?.seat or 'none'}</p>
      {# also, this is a comment }
    </Vehicle>
screendriver commented 9 years ago

Looks good :+1:

Glavin001 commented 9 years ago

Published to v.0.16.0

Thank you for your contribution!

screendriver commented 9 years ago

Thank you. Updated and it's working :relaxed: