https://bugzilla.wikimedia.org/show_bug.cgi?id=27644

--- Comment #11 from Krinkle <krinklem...@gmail.com> 2011-02-23 21:52:57 UTC ---
(In reply to comment #10)
> Something like http://api.jquery.com/jQuery.support/ perhaps?

No, not really. For one, we can't use jQuery since we're testing to detect
browsers that don't support jQuery, jQuery itself isn't loaded yet. The startUp
module is the very first thing that's executed.

Secondly, although we could use parts of jQuery's source code, jQuery.support
is an object to help with feature detection, not browser detection.

(In reply to comment #9)
> One would almost wonder, why jQuery itself doesn't have a simple javascript
> function to do exactly that
> 
> doesBrowserSupportjQuery()

Good point, I think I read an article from Paul Irish (jQuery developer) on
this a few weeks ago. I'll ask him about it.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to