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

Merge branch 'ucbrowser' of git://github.com/yconoclast/bowser into yconoclast-ucbrowser

# Conflicts:
#	src/bowser.js
This commit is contained in:
Denis Demchenko
2016-04-14 23:43:37 +03:00
3 changed files with 29 additions and 0 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'