jterrace / js.js

js.js: A JavaScript JavaScript interpreter
Other
1.08k stars 58 forks source link

Feature request: remove requirement for window #8

Closed piperswe closed 9 years ago

piperswe commented 9 years ago

I am trying to use js.js in Node, but it complains that window is missing.

By the way, I am using libjs-O2.min.js

EDIT: I also added the following to the bottom:

module && module.exports = JSJS;
jterrace commented 9 years ago

You should use libjs + js-js-wrapper, not js.js.