summaryrefslogtreecommitdiff
path: root/xfa_test/process/script.txt
diff options
context:
space:
mode:
Diffstat (limited to 'xfa_test/process/script.txt')
-rw-r--r--xfa_test/process/script.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/xfa_test/process/script.txt b/xfa_test/process/script.txt
new file mode 100644
index 0000000000..aceb48c505
--- /dev/null
+++ b/xfa_test/process/script.txt
@@ -0,0 +1,21 @@
+function Process(request)
+{
+
+//var c = new MyJSObject();
+
+//this.log(c.property1);
+
+var c = app.activeDocs;
+
+
+if(options["param1"] != "x")
+{
+ this.output["hello"] = 1;
+ log(request.host);
+}
+else
+{
+ this.output["hello"] = 2;
+ log(request.host);
+}
+} \ No newline at end of file