【发布时间】:2016-05-02 20:42:42
【问题描述】:
我正在开发一个使用 AngularJs 的大型应用程序。
当我在 IE8 中查看页面时,我会收到超级漂亮的控制台错误,例如 Object doesn't support property or method 'module'、Object doesn't support property or method 'widget'、unable to get value of the property 'controller': object is null or undefined 和 IE really sucks, cant you just tell them to download chrome?
在与它斗争了一段时间后,我决定记录typeof angular,控制台返回undefined。
在 IE9、IE10 和所有性能不佳的浏览器中一切正常。
请帮忙!
编辑:
在到达我的第一个控制器之前,角度似乎是 undefined,所以我认为它与 ieshim 无关......
【问题讨论】:
-
超级漂亮?从来没有想过这样描述它...... :)
-
jbabey:是的,在遵循该指南未能解决我的问题后,我还实现了 angular-ui ieshiv.js。
-
您检查文档模式了吗?见http://stackoverflow.com/a/33936714/483647
标签: javascript internet-explorer internet-explorer-8 angularjs