由于我升级到jQuery 1.4.4,当我在Firefox 3.6.13中运行我的单元测试时,我得到了几条新的警告消息。下面是一个典型之一:如何追踪这些Firefox警告消息?
Warning: Unexpected token in attribute selector: '!'.
Source File: http://localhost/unitTests/devunitTests.html
Line: 0
还是更加有用:
Warning: Selector expected.
Source File: http://localhost/unitTests/ui/editors/iframe2.html?test=15
Line: 0
的网页渲染很好,和我所有的JavaScript代码,似乎太没事的运行,所以我舍不得花可能会有大量的时间在我的代码中剔除以跟踪这些消息。然而,任何人都可以提出什么引发了警告?
我现在已经转移到Firefox 4并且这些新的警告消息不再存在。 – 2011-04-27 13:09:56