You can use the string interpolation syntax (#{...}) :
:javascript
var tab = #{@tab}
Take care of correctly escaping, however.
You can use the string interpolation syntax (#{...}) :
:javascript
var tab = #{@tab}
Take care of correctly escaping, however.