summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2022-10-19 07:35:53 +1300
committerOlly Betts <olly@survex.com>2022-10-19 07:35:53 +1300
commitea514c39615f616ced604ecbef4b8f42aee8148e (patch)
tree18775b6aa7c900ecc570fd3b7f47b178247fd387
parent76b700d2e0e41c8a42aa0ee476ceea2d0527ea13 (diff)
downloadswig-ea514c39615f616ced604ecbef4b8f42aee8148e.tar.gz
[js] Add mod_runme.js
See #2126
-rw-r--r--Examples/test-suite/javascript/mod_runme.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/Examples/test-suite/javascript/mod_runme.js b/Examples/test-suite/javascript/mod_runme.js
new file mode 100644
index 000000000..e317b061d
--- /dev/null
+++ b/Examples/test-suite/javascript/mod_runme.js
@@ -0,0 +1,6 @@
+var mod_a = require("mod_a");
+var mod_b = require("mod_b");
+
+c = mod_b.C();
+d = mod_b.D();
+d.DoSomething(c);