Created
March 16, 2010 12:06
-
-
Save jstrachan/333887 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| The ssp code... | |
| $_scalate_$_context << someLayout { | |
| $_scalate_$_context << ( "\nthis is some body!\n" ); | |
| } | |
| $_scalate_$_context << ( "\n" ); | |
| scaml code... | |
| $_scalate_$_context << ( $_scalate_$_indent ( "", $_scalate_$_context.value ( someLayout { | |
| import _root_.org.fusesource.scalate.util.RenderHelper.{preserve=>$_scalate_$_preserve, indent=>$_scalate_$_indent} | |
| $_scalate_$_context << ( "hey " ); | |
| $_scalate_$_context << ( name ); | |
| $_scalate_$_context << ( " this is some body text!\n" ); | |
| } ) ) ); | |
| $_scalate_$_context << ( "\n" ); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment