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/22 20:49:41 UTC

svn commit: r1580301 - in /thrift/cms-site/trunk/lib: path.pm view.pm

Author: joes
Date: Sat Mar 22 19:49:41 2014
New Revision: 1580301

URL: http://svn.apache.org/r1580301
Log:
test

Modified:
    thrift/cms-site/trunk/lib/path.pm
    thrift/cms-site/trunk/lib/view.pm

Modified: thrift/cms-site/trunk/lib/path.pm
URL: http://svn.apache.org/viewvc/thrift/cms-site/trunk/lib/path.pm?rev=1580301&r1=1580300&r2=1580301&view=diff
==============================================================================
--- thrift/cms-site/trunk/lib/path.pm (original)
+++ thrift/cms-site/trunk/lib/path.pm Sat Mar 22 19:49:41 2014
@@ -6,16 +6,16 @@ use warnings;
 my $conf = Load join "", <DATA>;
 
 our @patterns = (
-    [qr!^/sitemap\.html$!, "SUPER::sitemap" => {
+    [qr!^/sitemap\.html$!, sitemap => {
         conf       => $conf,
         headers    => { title => "Sitemap" },
         nest       => 1,
     }],
-    [qr!/index\.html$!,    "SUPER::sitemap" => {
+    [qr!/index\.html$!,    sitemap => {
         conf       => $conf,
         headers    => { title => "Index" }, # "Index" is magical here
     }],
-    [qr/\.md(?:text)?$/,   "SUPER::memoize" => {
+    [qr/\.md(?:text)?$/,   memoize => {
         view       => [qw/snippet single_narrative/],
         conf       => $conf,
         template   => 'default.html',

Modified: thrift/cms-site/trunk/lib/view.pm
URL: http://svn.apache.org/viewvc/thrift/cms-site/trunk/lib/view.pm?rev=1580301&r1=1580300&r2=1580301&view=diff
==============================================================================
--- thrift/cms-site/trunk/lib/view.pm (original)
+++ thrift/cms-site/trunk/lib/view.pm Sat Mar 22 19:49:41 2014
@@ -3,7 +3,7 @@ package view;
 use base 'ASF::View';
 
 # included for testing purposes
-sub memoize {
+sub my_memoize {
     if ($ASF::Value::Offline) {
         # disable cache
         my %args = @_;
@@ -15,7 +15,7 @@ sub memoize {
 }
 
 # doesn't require snippets
-sub sitemap {
+sub my_sitemap {
     local $ASF::Value::Offline = 1;
     &ASF::View::sitemap;
 }