Jump to:

1385 Posts in 493 Topics by 522 members


SilverStripe Forums » Themes » Unterminated string literal with html5 mobile boilerplate

Discuss SilverStripe Themes.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 689 Views
  • gonace
    Community Member
    11 Posts

    Unterminated string literal with html5 mobile boilerplate Link to this post

    I'm trying to create a mobile theme using the html5 mobile boilerplate (http://html5boilerplate.com/mobile) but I can't get it to work.

    unterminated string literal
    [Break On This Error] Modernizr.mq('(min-width:0)') || docum.../hogis_mobile/js/libs/respond.min.js">

    On this line:

    <script>Modernizr.mq('(min-width:0)') || document.write('<script src="/themes/hogis_mobile/js/libs/respond.min.js">\x3C/script>')</script>

    I've been searching trough the internet with some solutions, for example upgrading the htmlCompressor to 1.4.2 but I'm using 1.4.3 so that bug should be fixed. The boilerplate runs correctly but when i try to make template file of the "index.html" I get the error message shown above.

    What can't I see?

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.