jquery.client: Fix profile of some UAs and add exactMatchOnly param
authorEd Sanders <esanders@wikimedia.org>
Tue, 4 Jun 2013 18:56:13 +0000 (19:56 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Wed, 5 Jun 2013 12:26:43 +0000 (14:26 +0200)
commit148cbece3bcc15862d38c11524fa7a75e6947998
tree71ee3311ae205fa308d630a849cf06d5899c5135
parent070e11da65dcbca61365b91b41f2be7d52252cc5
jquery.client: Fix profile of some UAs and add exactMatchOnly param

Fix detection of Iceweasel (add to wildUserAgents), Safari (make
comma after KHTML optional) and Android (add to versionPrefixes
and names).

Add 'exactMatchOnly' parameter to test function which triggers
a return value of false if the browser is not found (previously
was always true). Also making ltr/rtl splitting in support map
optional.

Change-Id: I541a6c134e9668f6bf5af49d4508a82d4f546bb6
resources/jquery/jquery.client.js
tests/qunit/suites/resources/jquery/jquery.client.test.js