There was an error while loading. Please reload this page.
1 parent 4a3ca40 commit f3f0ebbCopy full SHA for f3f0ebb
lib/browser.rb
@@ -33,7 +33,8 @@ class Browser
33
:sparrow => "Sparrow",
34
:postbox => "Postbox",
35
:webos => "WebOS",
36
- :playbook => "PlayBook"
+ :playbook => "PlayBook",
37
+ :lotus => "Lotus Notes"
38
}
39
40
VERSIONS = {
@@ -204,6 +205,7 @@ def id
204
205
when postbox? then :postbox
206
when webos? then :webos
207
when playbook? then :playbook
208
+ when lotus? then :lotus
209
else
210
:other
211
end
@@ -389,6 +391,10 @@ def webos?
389
391
def playbook?
390
392
!!(ua =~ /PlayBook/)
393
394
+
395
+ def lotus?
396
+ !!(ua =~ /Lotus/)
397
+ end
398
399
# Return the platform.
400
def platform
0 commit comments