legacy-dotfiles/emacs.d/nxhtml/tests/in/bug557700-6.erb

12 lines
179 B
Text
Raw Normal View History

var x = "<%= x %>";
var y = 5;
Second line is treated as if it was a string.
Problem with multiple lines inside ruby if:
<% if b %>
var x = 1;
alert(1);
<% end %>