Changeset 3836 for lang/perl/HTTP-MobileAgent-Plugin-Locator/trunk
- Timestamp:
- 12/31/07 03:11:55 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/HTTP-MobileAgent-Plugin-Locator/trunk/lib/HTTP/MobileAgent/Plugin/Locator.pm
r3835 r3836 9 9 10 10 our $VERSION = '0.01'; 11 12 our $DOCOMO_GPS_COMPLIANT_MODELS = qr/(?:90[345]|SA[78]0[02]i)/; 11 13 12 14 sub import { … … 24 26 my $self = shift; 25 27 if ( $self->is_docomo ) { 26 return $self->model =~ /(?:90[345]|SA[78]0[02]i)/;28 return $self->model =~ $DOCOMO_GPS_COMPLIANT_MODELS; 27 29 } elsif ( $self->is_ezweb ) { 28 30 my @specs = split //, $ENV{ HTTP_X_UP_DEVCAP_MULTIMEDIA } || '';
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)