firequery icon indicating copy to clipboard operation
firequery copied to clipboard

Firequery spams warnings in console

Open rvock opened this issue 15 years ago • 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 :)

rvock avatar Apr 12 '10 10:04 rvock

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?

darwin avatar Apr 13 '10 04:04 darwin