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

add SlimerJS support

close #141
This commit is contained in:
Denis Demchenko
2016-05-19 00:57:34 +03:00
parent 6749f62528
commit e817fd67a7
2 changed files with 16 additions and 0 deletions

View File

@@ -191,6 +191,13 @@
, version: getFirstMatch(/phantomjs\/(\d+(\.\d+)?)/i)
}
}
else if (/slimerjs/i.test(ua)) {
result = {
name: 'SlimerJS'
, slimer: t
, version: getFirstMatch(/slimerjs\/(\d+(\.\d+)?)/i)
}
}
else if (/blackberry|\bbb\d+/i.test(ua) || /rim\stablet/i.test(ua)) {
result = {
name: 'BlackBerry'