binaryage/firequery

Firequery spams warnings in console

rvock opened this issue · 1 comments

Firequery spams messages to the console of the webdeveloper plugin, when a page doesn't use jQuery (Click on right icon in the WebDeveloper Toolbar).

It's the check in Line 136:
if (window.jQuery) {

That results in many "Warning: window.jQuery is undefined" messages...
Better use a typeof check :)

Hm, that's interesting. IMHO that code should not cause any warnings if window object exists. window.jQuery should simply silently eval to undefined. Am I missing something? Why is webdeveloper plugin reporting it?