xpages dojo日历脚本SyntaxError:missing;在声明之前

时间:2012-08-02 13:26:44

标签: dojo xpages

您好我的xpages应用程序中收到以下js错误。它与日历小部件有关。奇怪的是,这个代码在服务器上运行得非常好,但是当我尝试通过防火墙访问同一个服务器,同一个应用程序时,就是当我收到以下js错误时。不幸的是,这是压缩的js,我不知道有什么事情可以解决我自己的问题。任何帮助将不胜感激。

failed loading /xsp/.ibmxspres/dojoroot-1.6.1/dojo/../dijit/Calendar.js with error: SyntaxError: missing ; before statement
https://newwads.health.state.ny.us/+CSCO+d6756767633A2F2F7565766665696534++/xsp/.ibmxspres/dojoroot-1.6.1/dojo/dojo.js
Line 14

failed loading /xsp/.ibmxspres/dojoroot-1.6.1/dojo/../dijit/Calendar.js with error: SyntaxError: missing ; before statement
toString(uri=

undefined

, _25=

undefined

, cb=

undefined

)dojo.js (line 14)
toString(_21=

"../dijit/Calendar.js"

, _22=

"dijit.Calendar"

, cb=

undefined

)dojo.js (line 14)
toString(_2d=

"dijit.Calendar"

, _2e=

undefined

)dojo.js (line 14)
eval()56 (line 8)
toString(_1d=

"/*\r\n Copyright (c) 2004...jit/form/DateTextBox.js"

)dojo.js (line 14)
toString(uri=

"/xsp/.ibmxspres/dojoroo...jit/form/DateTextBox.js"

, cb=

undefined

)dojo.js (line 14)
toString(uri=

"/xsp/.ibmxspres/dojoroo...jit/form/DateTextBox.js"

, _25=

"dijit.form.DateTextBox"

, cb=

undefined

)dojo.js (line 14)
toString(_21=

"../dijit/form/DateTextBox.js"

, _22=

"dijit.form.DateTextBox"

, cb=

undefined

)dojo.js (line 14)
toString(_2d=

"dijit.form.DateTextBox"

, _2e=

undefined

)dojo.js (line 14)
()testTime.xsp (line 21)


...dium"){return 4;}if(_171.slice&&_171.slice(-2)=="px"){return parseFloat(_171);}w...

1 个答案:

答案 0 :(得分:0)

您的代理人是否在弄乱数据?喜欢单点登录还是添加代码?你可以使用Fiddler看看发生了什么。此外,AFAIK FF Web Developer允许查看加载的JS未压缩的