in HAML, we can write comments using
-# some comment and it won't become HTML and made public
but if it is inside
:javascript
-# comments like this line will break the javascript interpreter as it becomes javascript code
// so we are forced to use comment like this and is publicly viewable
is there a way to make it non-public?
#{}
- blocks are evaluated, so you can write
#{ # this is a ruby comment, but still a comment (newline is required)
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With