add detection for FF 3.6, thanks Peorth Yggdrasil

git-svn-id: file:///home/svn/framework3/trunk@9102 4d416f70-5f16-0410-b530-b9f4589650da
unstable
James Lee 2010-04-19 19:33:09 +00:00
parent 3dcc643bd6
commit af901888d2
1 changed files with 3 additions and 1 deletions

View File

@ -123,7 +123,9 @@ function getVersion(){
// future. This works for multi/browser/mozilla_compareto against
// Firefox and Mozilla, so it's probably good enough for now.
ua_name = "#{clients::FF}";
if (String.trimRight) {
if (document.readyState) {
ua_version = "3.6";
} else if (String.trimRight) {
ua_version = "3.5";
} else if (document.getElementsByClassName) {
ua_version = "3";