For example, I want to generate javascript
<script type='text/javascript'>
root.add_child('Andy');
root.add_child('James');
</script>
but haml
:javascript
- ['Andy', 'James'].each do |name|
root.add_child('#{name}');
does not work..
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---