jquery - JavaScript error in console. Uncaught SyntaxError: Unexpected token < -


i'm using this gallery project. when put code in page chrome console says

uncaught syntaxerror: unexpected token <

here code

<script id="img-wrapper-tmpl" type="text/x-jquery-tmpl">         <div class="rg-image-wrapper">         {{if itemscount > 1}}             <div class="rg-image-nav">                 <a href="#" class="rg-image-nav-prev">previous image</a>                 <a href="#" class="rg-image-nav-next">next image</a>             </div>         {{/if}}         <div class="rg-image"></div>         <div class="rg-loading"></div>         <div class="rg-caption-wrapper">             <div class="rg-caption" style="display:none;">                 <p></p>             </div>         </div>     </div> </script> 

anyone can help? thanks.


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -