我正在开发一个JSON查询语言项目,除了IE8,它在每个浏览器上都工作得很好。
我要在IE8中获得这个Object doesn't support this action。
Object.defineProperty(FJQL, c, {
get: function(){
return (new Query(this, this.records))[c];
}
});有没有其他的解决方案?
谢谢……
发布于 2014-09-21 00:22:13
IE8 does not support getter/setter functions on properties of non DOM objects.
因此,这里需要使用完整的getter函数
请通过here.It查看答案。:)
https://stackoverflow.com/questions/25950791
复制相似问题