简体   繁体   English

使用来自角ui-bootstrap的制表符和手风琴的简单页面无法在IE8中加载

[英]Simple page using tab and accordion from angular ui-bootstrap fails to load in IE8

I have a somewhat complex SPA working in Firefox and Chrome. 我有一个在Firefox和Chrome中工作的较复杂的SPA。 It fails without much information in IE8. 如果IE8中没有太多信息,它将失败。 The full app uses ngTable and the tab and accordion components from ui-bootstrap, but I've been able to construct a skeleton version without ngTable, but still with ui-bootstrap, that still fails to do anything useful in IE8. 完整的应用程序使用ngTable以及ui-bootstrap中的tab和手风琴组件,但是我已经能够在没有ngTable的情况下构建框架版本,但是仍然使用ui-bootstrap,这仍然无法在IE8中做任何有用的事情。

The resulting skeleton uses a single tab and a list of dynamic accordions, using data loaded from a stored json file. 生成的骨架使用单个选项卡和动态手风琴列表,并使用从存储的json文件加载的数据。

When I run it i IE8, I just get the following in the console: 当我在IE8上运行它时,我只是在控制台中得到以下内容:

  [object Error]<div class="tab-pane ng-scope" ng-repeat="tab in tabs" ng-class="{active: tab.active}" tab-content-transclude="tab">
  [object Error]

At this point, the page displays my title and the contents of the tab header, but without the tab enclosure, and without the contents of the tab. 此时,页面显示我的标题和选项卡标题的内容,但没有选项卡附件,也没有选项卡的内容。

I believe I've managed to produce a plunkr (this is my first plunkr, so please tell me if I'm doing something wrong) that corresponds to the app I'm loading in IE8 (plunkr not working in IE8 makes this even more annoying): http://plnkr.co/edit/Ak26Pj4FwTXJ7USQBvhj 我相信我已经设法产生了一个plunkr(这是我的第一个plunkr,所以请告诉我我做错了什么),它对应于我正在IE8中加载的应用(plunkr无法在IE8中工作)烦人的): http : //plnkr.co/edit/Ak26Pj4FwTXJ7USQBvhj

Never mind. 没关系。 It's been pointed out to me that AngularJS ui-bootstrap doesn't support IE8. 已经向我指出AngularJS ui-bootstrap不支持IE8。 They aren't deliberately avoiding it, they just don't have time to support IE8. 他们不是故意避免这样做,只是没有时间支持IE8。 Sad situation. 悲惨的处境。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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