]> git.ipfire.org Git - thirdparty/public-inbox.git/commitdiff
examples/repobrowse.psgi: consistent variable naming
authorEric Wong <e@80x24.org>
Sat, 12 Mar 2016 03:41:11 +0000 (03:41 +0000)
committerEric Wong <e@80x24.org>
Tue, 5 Apr 2016 18:58:27 +0000 (18:58 +0000)
We've been trying to avoid the underscore in "repobrowse"
to shorten things.

examples/repobrowse.psgi

index d68d1255553ccacb760683634c7f36f2e7d5e872..be4c1d2b9106fc75ea211afa257cf7e45dea1495 100644 (file)
@@ -12,7 +12,7 @@ use strict;
 use warnings;
 use PublicInbox::Repobrowse;
 use Plack::Builder;
-my $repo_browse = PublicInbox::Repobrowse->new;
+my $repobrowse = PublicInbox::Repobrowse->new;
 
 builder {
        enable 'Chunked';
@@ -41,5 +41,5 @@ builder {
        #       format => '%t "%r" %>s %b %D';
 
        enable 'Head';
-       sub { $repo_browse->call(@_) }
+       sub { $repobrowse->call(@_) }
 }