line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HTML::WidgetValidator::Widget::NhkClock; |
2
|
1
|
|
|
1
|
|
5
|
use base qw(HTML::WidgetValidator::Widget); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
67
|
|
3
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
22
|
|
4
|
1
|
|
|
1
|
|
5
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
115
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
__PACKAGE__->name('NHK CLOCK'); |
7
|
|
|
|
|
|
|
__PACKAGE__->url('http://www.nhk.or.jp/lab-blog/02/1066.html'); |
8
|
|
|
|
|
|
|
__PACKAGE__->models([ |
9
|
|
|
|
|
|
|
[ |
10
|
|
|
|
|
|
|
{ type => 'start', name => 'script', |
11
|
|
|
|
|
|
|
attr => { |
12
|
|
|
|
|
|
|
src => qr{http://www[.]nhk[.]or[.]jp/lab-blog/blogtools/script/clock(?:150|210)(?:wood)?.js}, |
13
|
|
|
|
|
|
|
type => 'text/javascript', |
14
|
|
|
|
|
|
|
language => 'javascript', |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
}, |
17
|
|
|
|
|
|
|
{ type => 'end', name => 'script' } |
18
|
|
|
|
|
|
|
] |
19
|
|
|
|
|
|
|
]); |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
1; |
22
|
|
|
|
|
|
|
__END__ |