简体   繁体   中英

handlebars.js is not rendering template in IE9

I'm working on a simple site using handlebars.js. It works just well in FF, Chrome, IE11 and Mobile Browsers. However, in IE9 the template is not gonna be rendered. Does anybody have an idea what the problem could be?

here's the site: http://dev.thomasveit.com/zuzuegler

any help is very appreciated!

Quickly looking at your code reveals you use HTML5 tags, such as Footer or even more. IE9 unfortunately is not able to render HTML5 tags.

There are many ways to fix your problem... best IMO is to try using Modernizr

Just include it in your html file, and your problem will be solved.

I just figured it out. The problem was indeed the html5shim for IE9. I just removed it and now it works fine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM