0

im using dojo 1.8 to create a website and it works fine using IE8. however, when i turn to firefox(version 20.0) and it cannot display the page properly. i feel like the parser didnt load when using ff, but i already set the parseOnLoad to true, and async to true as well. under that circumstance, the parser is supposed to load. anyone can help me out here? thanks!

type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/dojo/1.8.3/dojo/dojo.js" data-dojo-config="parseOnLoad: true, async:true"

4

1 回答 1

0

现在我得到了这个:错误:scriptError makeError()dojo.j...ssed.js(第 119 行)req.injectUrl/errorDisconnector<()dojo.j...ssed.js(第 1669 行)返回混合(新错误(错误), {src:"dojoLoader", info:info}); dojo.j...ssed.js(第 119 行)源代码:dojoLoader dojo.j...ssed.js(第 1837 行)信息:[“ajax.googleapis....s/dojo/maqetta/space.js”

看起来您还没有配置 Dojo,告诉它 maqetta 模块在哪里。

请参阅http://dojotoolkit.org/reference-guide/1.8/dojo/_base/config.html#dojoconfig-parameters中的路径属性

于 2013-04-10T16:47:11.803 回答