On Monday 17 July 2006 13:49, Mason List wrote:
> I have a header.mas that looks for a jsHEAD attribute so I can put
> <script> sections into the <head> section. Unfortunately, I'm doing
> this:
>
> <%attr>
> jsHEAD => q{<script>
> ...more
> ...and more
> </script>}
> </%attr>
>
> Well that doesn't work because attrs must be a single line. So what
> can I do? Should I use a <%once> ?
<%attr>
jsHEAD => undef
<%attr>
% jsHEAD ||= q{
% ...
% };
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users