line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Mojolicious::Plugin::Parametry; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
25169
|
use Mojo::Base 'Mojolicious::Plugin'; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
620
|
use Mojolicious::Plugin::Parametry::Paramer; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
32
|
|
6
|
1
|
|
|
1
|
|
573
|
use Mojolicious::Plugin::Parametry::ParamerHelpers; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
195
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
our $VERSION = '1.001001'; # VERSION |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub register { |
12
|
1
|
|
|
1
|
1
|
43
|
my ($self, $app, $conf) = @_; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
$app->helper( |
15
|
|
|
|
|
|
|
($conf->{shortcut_key} // 'P') => sub { |
16
|
2
|
|
|
2
|
|
36723
|
Mojolicious::Plugin::Parametry::Paramer |
17
|
|
|
|
|
|
|
->__THIS_ISNT_THE_PARAM_YOU_SHOULD_BE_LOOKING_FOR_BLARGGRGTRKASDFHJKTRDHSYTSD(shift) |
18
|
1
|
|
50
|
|
|
14
|
}); |
19
|
|
|
|
|
|
|
$app->helper( |
20
|
|
|
|
|
|
|
($conf->{helpers_key} // 'PP') => sub { |
21
|
16
|
|
|
16
|
|
174167
|
Mojolicious::Plugin::Parametry::ParamerHelpers->new(shift) |
22
|
1
|
|
50
|
|
|
126
|
}); |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
1; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
__END__ |