1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
Description: Remove .pl extension from js_beautify.pl
Origin: vendor
Forwarded: not-needed
Author: Jonathan Yu <frequency@cpan.org>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2018-07-28
--- a/bin/js_beautify.pl
+++ b/bin/js_beautify.pl
@@ -56,12 +56,12 @@
=head1 NAME
-js_beautify.pl - command tool to beautify your javascript files
+js_beautify - command tool to beautify your javascript files
=head1 SYNOPSIS
- js_beautify.pl [options] FILE
- js_beautify.pl [options] -
+ js_beautify [options] FILE
+ js_beautify [options] -
=head1 OPTIONS
--- a/lib/Code/TidyAll/Plugin/JSBeautifier.pm
+++ b/lib/Code/TidyAll/Plugin/JSBeautifier.pm
@@ -8,7 +8,7 @@
our $VERSION = '0.21';
-sub _build_cmd {'js_beautify.pl'}
+sub _build_cmd {'js_beautify'}
sub transform_file {
my ( $self, $file ) = @_;
@@ -55,7 +55,7 @@
=head1 DESCRIPTION
-Runs C<js_beautify.pl> of L<JavaScript::Beautifier>, a JavaScript tidier implemented in Perl.
+Runs C<js_beautify> of L<JavaScript::Beautifier>, a JavaScript tidier implemented in Perl.
=head1 INSTALLATION
@@ -67,10 +67,10 @@
=item argv
-Arguments to pass to js_beautify.pl
+Arguments to pass to js_beautify
=item cmd
-Full path to js_beautify.pl
+Full path to js_beautify
=back
|