I'm having trouble getting zepto.js to work in the front end on SS3.1. The Javascript console keeps throwing an End of File or Unexpected token. The standard zepto code snippet works on a plain HTML but not on the template. I'm wondering if it has something to do with tempalte processor.
Here is the snippet for refrence:
<script>
document.write('<script src=' + ('__proto__' in {} ? '$ThemeDir/javascripts/zurbvendor/zepto' : '$ThemeDir/javascripts/zurbvendor/jquery') + '.js><\/script>');
</script>