怪异的IE8中的错误“未定义的子节点”与AngularJS应用 [英] Weird 'ChildNodes of undefined' error in IE8 with an AngularJS application
问题描述
类型错误:无法获取的财产'子节点'值:对象为null或undefinedundefined
为了进行修改一长串到我的应用程序后,支持IE8,其中包括:
运行的所有在其编译形式的意见通过W3C验证,建立 xdomain.js代理支持CORS API调用,使得一些普通重组,等等。
我很失望地发现,IE8仍然在我抛出这个奇怪的错误,而IE9的工作完全正常。
After making a long list of modifications to my application in order to support IE8, including: running all of the views in their compiled form through W3C validator, setting up xdomain.js proxy to support CORS API calls, making some general restructures, etc. I was very disappointed to find out that IE8 still throws this weird error at me, while IE9 works perfectly fine.
进行更改的角度,搜索引擎优化包以prevent它从运行时,客户端是一个IE浏览器。
Making changes to the Angular-seo package to prevent it from running when the client is an IE browser.
这是什么任何想法可能是什么?
Any ideas on what can it be?.
推荐答案
IE8太旧和非符合标准,不支持子节点[]。 http://quirksmode.org/dom/core/#t70
IE8 is so old and non-standards compliant it doesn't support childNodes[]. http://quirksmode.org/dom/core/#t70
这篇关于怪异的IE8中的错误“未定义的子节点”与AngularJS应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!