fix for float value appearing earlier in ua string

surprised this didn't pop up earlier on android. I ❤️ ua strings.
This commit is contained in:
John Bender 2011-11-22 10:52:30 -08:00
parent a4e09c8ad5
commit 7d7c913b64

View file

@ -70,7 +70,7 @@ window.Perf = (function($, Perf) {
vRegexs: {}
});
Perf.vRegexs[Perf.agents.ANDROID] = /([0-9].[0-9])(.[0-9])?/;
Perf.vRegexs[Perf.agents.ANDROID] = /Android ([0-9].[0-9])(.[0-9])?/;
Perf.vRegexs[Perf.agents.WP] = /Windows Phone OS ([0-9].[0-9]);/;
Perf.vRegexs[Perf.agents.IPHONE] = /iPhone OS ([0-9]_[0-9])/;
Perf.vRegexs[Perf.agents.IPAD] = /iPad; U; CPU OS ([0-9]_[0-9])/;