Skip to content

Instantly share code, notes, and snippets.

@jstrachan
Created March 16, 2010 12:06
Show Gist options
  • Select an option

  • Save jstrachan/333887 to your computer and use it in GitHub Desktop.

Select an option

Save jstrachan/333887 to your computer and use it in GitHub Desktop.
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