You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by ge...@apache.org on 2001/02/11 21:12:16 UTC

cvs commit: jakarta-velocity/examples example.vm

geirm       01/02/11 12:12:16

  Modified:    examples example.vm
  Log:
  Update to remove the deprecated #set directives, replacing with current #set()
  
  Revision  Changes    Path
  1.3       +2 -2      jakarta-velocity/examples/example.vm
  
  Index: example.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/examples/example.vm,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- example.vm	2000/11/02 15:28:35	1.2
  +++ example.vm	2001/02/11 20:12:16	1.3
  @@ -1,6 +1,6 @@
   ## This is an example velocity template
   
  -#set $this = "Velocity"
  +#set( $this = "Velocity")
   
   $this is great!
   
  @@ -8,7 +8,7 @@
       $name is great!
   #end
   
  -#set $condition = true
  +#set( $condition = true)
   
   #if ($condition)
       The condition is true!