1
0
mirror of https://github.com/lancedikson/bowser synced 2026-03-02 03:40:27 +00:00

Merge branch 'yconoclast-ucbrowser' into develop

# Conflicts:
#	src/useragents.js
This commit is contained in:
Denis Demchenko
2016-04-14 23:45:04 +03:00
3 changed files with 30 additions and 1 deletions

View File

@@ -53,6 +53,13 @@
, version: versionIdentifier || getFirstMatch(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)
}
}
else if (/ucbrowser/i.test(ua)) {
result = {
name: 'UC Browser'
, ucbrowser: t
, version: getFirstMatch(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)
}
}
else if (windowsphone) {
result = {
name: 'Windows Phone'