line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HTML::WidgetValidator::Widget::LivedoorWeatherHacks; |
2
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
34
|
|
3
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
25
|
|
4
|
1
|
|
|
1
|
|
5
|
use base qw(HTML::WidgetValidator::Widget); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
171
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = '0.01'; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
__PACKAGE__->name('livedoor Weather Hacks'); |
9
|
|
|
|
|
|
|
__PACKAGE__->url('http://weather.livedoor.com/weather_hacks/plugin.html'); |
10
|
|
|
|
|
|
|
__PACKAGE__->models([ |
11
|
|
|
|
|
|
|
[ |
12
|
|
|
|
|
|
|
{ |
13
|
|
|
|
|
|
|
"name" => "script", |
14
|
|
|
|
|
|
|
"type" => "start", |
15
|
|
|
|
|
|
|
"attr" => { |
16
|
|
|
|
|
|
|
"language" => "javascript", |
17
|
|
|
|
|
|
|
"src" => qr{http://weather\.livedoor\.com/plugin/common/forecast/[a-z0-9]{2}\.js}, |
18
|
|
|
|
|
|
|
"type" => "text/javascript", |
19
|
|
|
|
|
|
|
"charset" => "euc-jp" |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
}, |
22
|
|
|
|
|
|
|
{ |
23
|
|
|
|
|
|
|
"name" => "script", |
24
|
|
|
|
|
|
|
"type" => "end" |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
] |
27
|
|
|
|
|
|
|
]); |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
__END__ |