| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Moonshine::Bootstrap::Component::Glyphicon; |
|
2
|
|
|
|
|
|
|
|
|
3
|
5
|
|
|
5
|
|
150486
|
use strict; |
|
|
5
|
|
|
|
|
11
|
|
|
|
5
|
|
|
|
|
238
|
|
|
4
|
5
|
|
|
5
|
|
35
|
use warnings; |
|
|
5
|
|
|
|
|
18
|
|
|
|
5
|
|
|
|
|
396
|
|
|
5
|
|
|
|
|
|
|
|
|
6
|
5
|
|
|
5
|
|
397
|
use Moonshine::Magic; |
|
|
5
|
|
|
|
|
112378
|
|
|
|
5
|
|
|
|
|
38
|
|
|
7
|
5
|
|
|
5
|
|
3076
|
use Moonshine::Bootstrap::Component; |
|
|
5
|
|
|
|
|
20
|
|
|
|
5
|
|
|
|
|
153
|
|
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
extends 'Moonshine::Bootstrap::Component'; |
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
lazy_components(qw/span/); |
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
has( |
|
14
|
|
|
|
|
|
|
glyphicon_spec => sub { |
|
15
|
|
|
|
|
|
|
{ |
|
16
|
|
|
|
|
|
|
switch => 1, |
|
17
|
|
|
|
|
|
|
switch_base => { default => 'glyphicon glyphicon-' }, |
|
18
|
|
|
|
|
|
|
aria_hidden => { default => 'true' }, |
|
19
|
|
|
|
|
|
|
}; |
|
20
|
|
|
|
|
|
|
} |
|
21
|
|
|
|
|
|
|
); |
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
sub glyphicon { |
|
24
|
21
|
|
|
21
|
|
22613
|
my ($self) = shift; |
|
25
|
|
|
|
|
|
|
|
|
26
|
21
|
|
50
|
|
|
163
|
my ( $base_args, $build_args ) = $self->validate_build( |
|
27
|
|
|
|
|
|
|
{ |
|
28
|
|
|
|
|
|
|
params => $_[0] // {}, |
|
29
|
|
|
|
|
|
|
spec => $self->glyphicon_spec, |
|
30
|
|
|
|
|
|
|
} |
|
31
|
|
|
|
|
|
|
); |
|
32
|
21
|
|
|
|
|
205
|
return $self->span($base_args); |
|
33
|
|
|
|
|
|
|
} |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
1; |
|
36
|
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
__END__ |