我在 Firefox 插件中使用 jquery,但我不断收到大量警告消息,如下所示:
anonymous function does not always return a value
System JS : WARNING resource://gre/modules/XPIProvider.jsm -> jar:file:///c:/use
rs/usernameremoved/appdata/local/temp/tmprpnucw.mozrunner/extensions/jid1-I3FWz29roUS
8UA@jetpack.xpi!/bootstrap.js -> resource://gre/modules/commonjs/toolkit/loader.
js -> resource://gre/modules/commonjs/sdk/loader/sandbox.js -> resource://jid1-i
3fwz29rous8ua-at-jetpack/addon-name-removed/data/jquery.js:2435
你能告诉我如何忽略这些错误吗?由于它们,我找不到我的控制台日志或错误...
Jquery 是这样包含的:
contentScriptFile: [self.data.url("jquery.js"),
self.data.url("zde.js"),
self.data.url("zdf.js")],
contentStyleFile: self.data.url("zd.css"),
谢谢!