Javascript IE、firefox上的Grails应用程序

Javascript IE、firefox上的Grails应用程序,javascript,html,internet-explorer,firefox,grails,Javascript,Html,Internet Explorer,Firefox,Grails,我已经构建和使用grails应用程序很长一段时间了。 问题是该应用程序在Chrome(版本36.0.1985.143 m)上运行得非常好 现在,当我在firefox或IE上运行相同的应用程序时,我可以看到页面视图,但是数据集没有加载,并且控制台上有多个错误。 我怎么修理这些?我需要在视图文件中添加一些非常基本的内容吗 (HTML) IE中的错误: SCRIPT1010: Expected identifier pagetype, line 1 character 9 SCRIPT1010: E

我已经构建和使用grails应用程序很长一段时间了。 问题是该应用程序在Chrome(版本36.0.1985.143 m)上运行得非常好

现在,当我在firefox或IE上运行相同的应用程序时,我可以看到页面视图,但是数据集没有加载,并且控制台上有多个错误。 我怎么修理这些?我需要在视图文件中添加一些非常基本的内容吗 (HTML)

IE中的错误:

SCRIPT1010: Expected identifier 
pagetype, line 1 character 9
SCRIPT1010: Expected identifier 
pagetype, line 1 character 9
错误指向第一行 接下来是js文件中的错误,最终是“数据集”未定义

Firefox中的错误:

ReferenceError: dataset1 is not defined fdd:159
Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead d3.v3.min.js:16
mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create d3.v3.min.js:13
Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead prototype.js:16
TypeError: oa is not a function prototype.js:18447
Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead highcharts.js:16
TypeError: oa is not a function highcharts.js:18447
Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead exporting.js:16
TypeError: oa is not a function exporting.js:18447
Use of getPreventDefault() is deprecated.  Use defaultPrevented instead. d3.v3.min.js:20
它们都指向使用的js文件,我现在真的无法理解这些错误的原因

我真的需要理解为什么这个应用程序在不同的浏览器中不兼容,这里我缺少一些非常基本的东西。帮助


所有方法/建议都非常受欢迎。

检查定义对象文字的位置,确保最后一项后面没有逗号。还要检查您是否使用了保留字作为标识符(例如
var class=…
),您可以编写一些测试来定位代码被破坏的位置:在客户端还是在服务器端?