Search code examples
javascriptinternet-explorer-8marionette

marionettejs attachhtml ie8 - unexpected call to method or property


I'm testing my site in IE8. I'm using MarionetteJS and I have views dynamically added to the page.

My page breaks in the marionette.js code on this line:

this.el.appendChild(view.el); 

Can anyone point me in the right direction on how to fix this? Sorry if it's a little vague, but I'm not sure where to go from here.

enter image description here


Solution

  • I found the issue. I was using Boilerplate MVC and it was a header tag that was being used, which Marionette with IE8 didn't particularly like. Once I replaced the header with a div , IE8 worked fine.