line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HTML::WidgetValidator::Widget::AlexaSiteStatsButton; |
2
|
1
|
|
|
1
|
|
4
|
use base qw(HTML::WidgetValidator::Widget); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
57
|
|
3
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
17
|
|
4
|
1
|
|
|
1
|
|
5
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
141
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
__PACKAGE__->name('Alexa Site Stats Button'); |
7
|
|
|
|
|
|
|
__PACKAGE__->url('http://www.alexa.com/site/site_stats/signup'); |
8
|
|
|
|
|
|
|
__PACKAGE__->models([ |
9
|
|
|
|
|
|
|
[ |
10
|
|
|
|
|
|
|
{ |
11
|
|
|
|
|
|
|
type =>'start', |
12
|
|
|
|
|
|
|
name =>'script', |
13
|
|
|
|
|
|
|
attr => { type => 'text/javascript', |
14
|
|
|
|
|
|
|
language => 'JavaScript', |
15
|
|
|
|
|
|
|
src => qr{http://xslt\.alexa\.com/site_stats/js/s/(?:a|b|c)\?url=[\w\.%\-\/:\s]+} }, |
16
|
|
|
|
|
|
|
}, |
17
|
|
|
|
|
|
|
{ type => 'end', name=>'script' } |
18
|
|
|
|
|
|
|
], |
19
|
|
|
|
|
|
|
]); |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
1; |
22
|
|
|
|
|
|
|
__END__ |