line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Text::Minify::XS; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
# ABSTRACT: remove indentation and trailing whitespace |
4
|
|
|
|
|
|
|
|
5
|
4
|
|
|
4
|
|
2430
|
use v5.9.3; |
|
4
|
|
|
|
|
12
|
|
6
|
4
|
|
|
4
|
|
19
|
use strict; |
|
4
|
|
|
|
|
6
|
|
|
4
|
|
|
|
|
66
|
|
7
|
4
|
|
|
4
|
|
15
|
use warnings; |
|
4
|
|
|
|
|
5
|
|
|
4
|
|
|
|
|
117
|
|
8
|
|
|
|
|
|
|
|
9
|
4
|
|
|
4
|
|
18
|
use Exporter 5.57 qw( import ); |
|
4
|
|
|
|
|
48
|
|
|
4
|
|
|
|
|
99
|
|
10
|
4
|
|
|
4
|
|
25
|
use XSLoader; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
258
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
our @EXPORT_OK = qw(minify minify_utf8 minify_ascii); |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
our $VERSION = 'v0.6.4'; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
XSLoader::load( __PACKAGE__, $VERSION ); |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
{ |
19
|
4
|
|
|
4
|
|
48
|
no strict 'refs'; |
|
4
|
|
|
|
|
12
|
|
|
4
|
|
|
|
|
226
|
|
20
|
|
|
|
|
|
|
*minify_utf8 = \&minify; |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
1; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
__END__ |