Author: cbrisson Date: Sat Apr 10 10:05:48 2010 New Revision: 932684 URL: http://svn.apache.org/viewvc?rev=932684&view=rev Log: fix some typos in the showcase webapp
Modified: velocity/tools/trunk/examples/showcase/link.vm velocity/tools/trunk/examples/showcase/math.vm Modified: velocity/tools/trunk/examples/showcase/link.vm URL: http://svn.apache.org/viewvc/velocity/tools/trunk/examples/showcase/link.vm?rev=932684&r1=932683&r2=932684&view=diff ============================================================================== --- velocity/tools/trunk/examples/showcase/link.vm (original) +++ velocity/tools/trunk/examples/showcase/link.vm Sat Apr 10 10:05:48 2010 @@ -58,7 +58,7 @@ the additional change specified by the m #else #set( $result = $link.params ) #end -#demoAlt( 'link' 'params' $desc ) +#demoAlt( 'link' 'params' $result $desc ) #set( $desc = "Returns the URI that addresses this web application. E.g. <code>http://myserver.net/myapp</code>. This string may not end with a ${esc.q}/${esc.q}." ) Modified: velocity/tools/trunk/examples/showcase/math.vm URL: http://svn.apache.org/viewvc/velocity/tools/trunk/examples/showcase/math.vm?rev=932684&r1=932683&r2=932684&view=diff ============================================================================== --- velocity/tools/trunk/examples/showcase/math.vm (original) +++ velocity/tools/trunk/examples/showcase/math.vm Sat Apr 10 10:05:48 2010 @@ -50,7 +50,7 @@ $demo.thisPage.insert("#doclink( 'MathTo #demo2( 'math' 'min' 3 $desc) #set( $desc = 'Returns the absolute value of the number or <code>null</code> if it is invalid.' ) -#demo2( 'math' 'abs' 3 $desc) +#demo1( 'math' 'abs' 3 $desc) #set( $desc = 'Returns the smallest integer that is not less than the given number or <code>null</code> if it is invalid.' ) #demo1( 'math' 'ceil' 3 $desc)