diff --git a/source/Ox/js/String.js b/source/Ox/js/String.js index 7dd1e004..35306b3c 100644 --- a/source/Ox/js/String.js +++ b/source/Ox/js/String.js @@ -325,7 +325,7 @@ Ox.parseUserAgent = function(userAgent) { /(Linux).+(CentOS|CrOS|Debian|Fedora|Gentoo|Mandriva|MeeGo|Mint|Red Hat|SUSE|Ubuntu|webOS)/, /(CentOS|CrOS|Debian|Fedora|Gentoo|Mandriva|MeeGo|Mint|Red Hat|SUSE|Ubuntu|webOS).+(Linux)/, /(Linux)/, - /(Mac OS X) (10.\d)/, + /(Mac OS X) (10.\d+)/, /(Mac OS X)/, /(Macintosh)/, /(SymbianOS)\/(\d+)/, @@ -352,6 +352,8 @@ Ox.parseUserAgent = function(userAgent) { '10.6': '10.6 (Snow Leopard)', '10.7': '10.7 (Lion)', '10.8': '10.8 (Mountain Lion)', + '10.9': '10.9 (Mavericks)', + '10.10': '10.10 (Yosemite)', 'CrOS': 'Chrome OS', 'NT 4.0': 'NT 4.0 (Windows NT)', 'NT 4.1': 'NT 4.1 (Windows 98)',