summaryrefslogtreecommitdiff
path: root/Examples/javascript/functor/runme.js
diff options
context:
space:
mode:
authorOliver Buchtala <oliver.buchtala@googlemail.com>2014-02-26 22:44:37 +0100
committerOliver Buchtala <oliver.buchtala@googlemail.com>2014-02-26 22:44:37 +0100
commit15f12d9b59b9e8522853f010f9d443164774a6a6 (patch)
treeaee32ba5815bc10d16f4bdd81d40fda67760cf96 /Examples/javascript/functor/runme.js
parentb216a739c45cfb595a5b70da7e811b6130148a63 (diff)
downloadswig-15f12d9b59b9e8522853f010f9d443164774a6a6.tar.gz
Make examples work with node.js and the custom interpreter.
Diffstat (limited to 'Examples/javascript/functor/runme.js')
-rw-r--r--Examples/javascript/functor/runme.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/javascript/functor/runme.js b/Examples/javascript/functor/runme.js
index f7be78286..dc12470f4 100644
--- a/Examples/javascript/functor/runme.js
+++ b/Examples/javascript/functor/runme.js
@@ -1,4 +1,4 @@
-var example = require("./build/Release/example");
+var example = require("./example");
a = new example.intSum(0);
b = new example.doubleSum(100.0);