I tried to reproduce this simple tutorial about the script localScroll (jQuery). I used it and used the HTML code with Nanoc and it worked. Then, I tried to transform the HTML code in a HAML code.
Now, when I'm trying to compile this code, I always have the same type of compilation error:
layout /default/:12: syntax error, unexpected $undefined ...</script>\n </head>\n <body>\n <div id='box-links'>\n ... layout /default/:12: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '(' ... </head>\n <body>\n <div id='box-links'>\n <a#{_ham...
I'm also giving you my js script:
$(document).ready(function()
{
$('#box-links').localScroll({
target:'body'
});
});
As you can see, scripts are quite simple. I suppose that my error is not complicated but I don't find a solution.
` for line breaks, and you can use the "Code Sample" button to format multi-line code. – Colin Brock Nov 16 '13 at 23:35
again and I'll use the "Code Sample" button next time – user3000510 Nov 16 '13 at 23:49