From f8573766bc17af0afacc5d44d3c3d8234b426dbf Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 7 Sep 2007 03:08:44 +0000 Subject: r24985: Start to revert us back to the old-style SWAT, while trying not to loose some of the fixes in the meantime. Andrew Bartlett (This used to be commit 13acff5ed259e7b5859fd2324ea7740b8f9e5fd7) --- swat/scripting/test.ejs | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 swat/scripting/test.ejs (limited to 'swat/scripting/test.ejs') diff --git a/swat/scripting/test.ejs b/swat/scripting/test.ejs new file mode 100644 index 0000000000..8e7047f51c --- /dev/null +++ b/swat/scripting/test.ejs @@ -0,0 +1,10 @@ + +/* + some test ejs code +*/ +function showArray(name, array) { + write("

Array: " + name + "

\n"); + for (v in array) { + write(name + "[" + v + "]=" + array[v] + "
\n"); + } +} -- cgit