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...@locus.apache.org on 2000/11/20 00:31:22 UTC
cvs commit: jakarta-velocity/test/templates VM_global_library.vm
geirm 00/11/19 15:31:22
Added: test/templates VM_global_library.vm
Log:
Default distribution provided global VM library. (I am sure this will draw howls of protest. :) It contains a single example Velocimacro, #quietnull( $arg ) which behaves exactly as $!arg. Just wanted to show how a global library would work, and test the protection mechanism - by default, you can't define inline any VM that was loaded previously.
Revision Changes Path
1.1 jakarta-velocity/test/templates/VM_global_library.vm
Index: VM_global_library.vm
===================================================================
#macro( quietnull $a)
#if($a)$a#end
#end