A recent post reminded me that while recent Firefox versions support E4X in JavaScript 1.6 (which I found one day doing a Google search for "javascript heredoc"), all browsers really need to implement this.
I mean, wouldn't it be great if you could do this in your cross-browser JavaScripts? var multilinetext = <><![CDATA[ this is an awesome heredoc ]]></>.toString(); (also, wouldn't it be great if the implementation wasn't encumbered by E4X syntax?) - Ben "Cowboy" Ben Alman http://benalman.com/ RJ3 Productions Broken Buddha Records -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
