Make examples work with node.js and the custom interpreter.

This commit is contained in:
Oliver Buchtala 2014-02-26 22:44:37 +01:00
commit 15f12d9b59
27 changed files with 26 additions and 13 deletions

View file

@ -0,0 +1 @@
module.exports = require("./build/Release/example");

View file

@ -1,4 +1,4 @@
var example = require("./build/Release/example");
var example = require("./example");
console.log("ICONST = " + example.ICONST + " (should be 42)\n");
console.log("FCONST = " + example.FCONST + " (should be 2.1828)\n");