coffeescript-idea icon indicating copy to clipboard operation
coffeescript-idea copied to clipboard

Support double quoted heredocs

Open netzpirat opened this issue 15 years ago • 0 comments

The single quoted heredoc is parsed fine, but there is a second notation with double quoted heredocs that allows interpolation within the heredoc.

Example

$("""
  <div id='#{ @getID() }' class='tree'>
    <ul class='#{ if @sortable then 'sortable' else '' }'></ul>
  </div>
  """)

netzpirat avatar Sep 17 '10 09:09 netzpirat