diff options
author | Olly Betts <olly@survex.com> | 2022-10-20 11:12:28 +1300 |
---|---|---|
committer | Olly Betts <olly@survex.com> | 2022-10-20 11:12:28 +1300 |
commit | 6acd93833cdd0d7fc46dc8ad6f09bd15e96dc9c6 (patch) | |
tree | a4ff2d989bce91953ddbbd1c7617bb8999de260b | |
parent | f75adcecac59c96e0a45e37a6fe914d3a9505cf2 (diff) | |
download | swig-6acd93833cdd0d7fc46dc8ad6f09bd15e96dc9c6.tar.gz |
[js] Add missing `new` to mod_runme.js
-rw-r--r-- | Examples/test-suite/javascript/mod_runme.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Examples/test-suite/javascript/mod_runme.js b/Examples/test-suite/javascript/mod_runme.js index e317b061d..d1a883a6e 100644 --- a/Examples/test-suite/javascript/mod_runme.js +++ b/Examples/test-suite/javascript/mod_runme.js @@ -1,6 +1,6 @@ var mod_a = require("mod_a"); var mod_b = require("mod_b"); -c = mod_b.C(); -d = mod_b.D(); +c = new mod_b.C(); +d = new mod_b.D(); d.DoSomething(c); |