Make examples work with node.js and the custom interpreter.
This commit is contained in:
parent
b216a739c4
commit
15f12d9b59
27 changed files with 26 additions and 13 deletions
1
Examples/javascript/pointer/example.js
Normal file
1
Examples/javascript/pointer/example.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
module.exports = require("./build/Release/example");
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
var example = require("./build/Release/example");
|
||||
var example = require("./example");
|
||||
|
||||
// First create some objects using the pointer library.
|
||||
console.log("Testing the pointer library\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue