Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Themes /

Discuss SilverStripe Themes.

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

Unterminated string literal with html5 mobile boilerplate

Go to End



Community Member, 11 Posts

14 December 2011 at 4:05am

Edited: 14/12/2011 4:09am

I'm trying to create a mobile theme using the html5 mobile boilerplate ( but I can't get it to work.

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

On this line:

<script>'(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?