You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by jo...@apache.org on 2014/03/17 22:30:57 UTC
svn commit: r1578600 - /thrift/cms-site/trunk/lib/path.pm
Author: joes
Date: Mon Mar 17 21:30:56 2014
New Revision: 1578600
URL: http://svn.apache.org/r1578600
Log:
no functional change just simlifications
Modified:
thrift/cms-site/trunk/lib/path.pm
Modified: thrift/cms-site/trunk/lib/path.pm
URL: http://svn.apache.org/viewvc/thrift/cms-site/trunk/lib/path.pm?rev=1578600&r1=1578599&r2=1578600&view=diff
==============================================================================
--- thrift/cms-site/trunk/lib/path.pm (original)
+++ thrift/cms-site/trunk/lib/path.pm Mon Mar 17 21:30:56 2014
@@ -1,13 +1,10 @@
package path;
use YAML::XS;
+my $conf = Load(join "", <DATA>);
+
our @patterns = (
- [
- qr/\.md(?:text)?$/, single_narrative => {
- conf => Load(join "", <DATA>),
- template => 'default.html',
- },
- ],
+ [qr/\.md(?:text)?$/, single_narrative => { conf => $conf, template => 'default.html'}],
);
1;