Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Precompiled JST in <=IE9 #133

Open
kedano opened this issue Jan 21, 2015 · 2 comments
Open

Precompiled JST in <=IE9 #133

kedano opened this issue Jan 21, 2015 · 2 comments

Comments

@kedano
Copy link

kedano commented Jan 21, 2015

Hi,

What is the best way to debug the browser rendring in <=IE9?

I have an issue with a precompiled JST file containing 3 templates in IE9 and lower. It works as expected in IE10 and above and all other browsers.

A page with the issue:
http://www.hiof.no/om-hogskolen/ledige-stillinger

The HBS template for the site, the template is compiled into the "Hiof.Templates['jobs/jobs']" namespace:
https://github.com/hiof/frontend/blob/develop/app/templates/jobs/jobs.hbs

The JS to display the page:
https://github.com/hiof/frontend/blob/develop/app/assets/js/components/_component_jobs.js

@lostthetrail
Copy link

Do you have this problem when using Handlebars to pre-compile your templates directly?
https://github.com/wycats/handlebars.js#usage-1

@kedano
Copy link
Author

kedano commented Feb 6, 2015

There was not an issue when I compiled it on the fly in IE. I made some changes in the templates (added some more if/else statements) after my last direct-compile test in IE, that might be the issue. I have set aside some time for debugging this issue next week. It's not a huge bug for our users since most are IE10+.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants