Changeset 17957
- Timestamp:
- 08/21/08 19:34:12 (5 years ago)
- Location:
- lang/perl/Nanto/trunk
- Files:
-
- 1 added
- 1 modified
-
lib/Nanto/Web/MobileAttribute.pm (modified) (2 diffs)
-
t/Web/MobileAttribute.t (added)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Nanto/trunk/lib/Nanto/Web/MobileAttribute.pm
r17956 r17957 3 3 use warnings; 4 4 use HTTP::Engine::Request; 5 use HTTP::MobileAttribute; 5 6 6 7 do { … … 9 10 $meta->add_attribute( 10 11 mobile_attribute => ( 12 is => 'ro', 13 isa => 'Object', 14 lazy => 1, 11 15 default => sub { 12 16 my $req = shift; 13 HTTP::MobileAttribute->new( $req->headers);17 HTTP::MobileAttribute->new( $req->headers ); 14 18 }, 15 lazy => 1,16 19 ), 17 20 );
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)