Permalink
Browse files

Merging in changes from anime4christ

  • Loading branch information...
2 parents e821786 + dc9327b commit ca6c133d828cdaa884fe37a73a483291b3cb915a @brendanlim committed Apr 2, 2010
Showing with 6 additions and 9 deletions.
  1. +6 −9 lib/mobile_fu.rb
View
@@ -1,16 +1,13 @@
module ActionController
module MobileFu
-
# These are various strings that can be found in mobile devices. Please feel free
# to add on to this list.
-
-
- 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|' +
- 'docomo|kddi|softbank|pdxgw|j-phone|astel|minimo|plucker|netfront|' +
- 'xiino|mot-v|mot-e|portalmmm|sagem|sie-s|sie-m|android|ipod|ipad'
+ MOBILE_USER_AGENTS = 'palm|blackberry|nokia|phone|midp|mobi|symbian|chtml|ericsson|minimo|' +
+ 'audiovox|motorola|samsung|telit|upg1|windows ce|ucweb|astel|plucker|' +
+ 'x320|x240|j2me|sgh|portable|sprint|docomo|kddi|softbank|android|mmp|' +
+ 'pdxgw|netfront|xiino|vodafone|portalmmm|sagem|mot-|sie-|ipod|up\\.b|' +
+ 'webos|amoi|novarra|cdm|alcatel|pocket|ipad|iphone|mobileexplorer|' +
+ 'mobile'
def self.included(base)
base.extend(ClassMethods)

0 comments on commit ca6c133

Please sign in to comment.