summaryrefslogtreecommitdiff
path: root/swat/esptest
diff options
context:
space:
mode:
Diffstat (limited to 'swat/esptest')
-rw-r--r--swat/esptest/include.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/swat/esptest/include.html b/swat/esptest/include.html
index b488631e83..59322cc9fa 100644
--- a/swat/esptest/include.html
+++ b/swat/esptest/include.html
@@ -8,6 +8,12 @@ including /scripting/test.ejs<p>
calling a function from test.ejs ...<p>
<% showArray("request", request); %>
+including /scripting/test.esp<p>
+<% include /scripting/test.esp %>
+calling a function from test.esp ...<p>
+<% res = testfn('foo'); %>
+result is: @@res
+
<form name="Cancel" method="POST" action="index.html">
<input name="submit" type="submit" value="Cancel"><br>
</form>