Skip to content

Commit

Permalink
Adding in other phone user agents, including some Japanese and French…
Browse files Browse the repository at this point in the history
… manufacturers
  • Loading branch information
Brendan G. Lim committed Jul 26, 2008
1 parent e8f9f1a commit 2dffa59
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/mobile_fu.rb
Expand Up @@ -28,7 +28,9 @@ module MobileFu
MOBILE_USER_AGENTS = 'palm|palmos|palmsource|iphone|blackberry|nokia|phone|midp|mobi|pda|' +
'wap|java|nokia|hand|symbian|chtml|wml|ericsson|lg|audiovox|motorola|' +
'samsung|sanyo|sharp|telit|tsm|mobile|mini|windows ce|smartphone|' +
'240x320|320x320|mobileexplorer|j2me|sgh|portable|sprint|vodafone'
'240x320|320x320|mobileexplorer|j2me|sgh|portable|sprint|vodafone|' +
'docomo|kddi|softbank|pdxgw|j-phone|astel|minimo|plucker|netfront|' +
'xiino|mot-v|mot-e|portalmmm|sagem|sie-s|sie-m'

def self.included(base)
base.extend(ClassMethods)
Expand Down

0 comments on commit 2dffa59

Please sign in to comment.