Node: build a NodeJS compatible version.
Implement a basic FormData support, used to serialize the POST body. Use xhr2 library to replicate XHMLHttpRequest. Desactivate all broken storages (IndexedDB, localstorage, webdav, ...) which rely on browser API. Thanks to Aurelien Calonne <aurel@nexedi.com> and Guillaume Royer <guillaume.royer@clearroad.io> for their contributions.
Showing
... | ... | @@ -9,7 +9,7 @@ The documentation can be found on [https://jio.nexedi.com/](https://jio.nexedi.c |
### jIO Quickstart | ||
git clone https://lab.nexedi.com/nexedi/jio.git | ||
cd jio.git | ||
npm install jslint@0.9.2 jison@0.4.16 | ||
npm install jslint@0.9.2 jison@0.4.16 git://github.com/qunitjs/node-qunit.git#v0.9.3 sinon@1.7.3 | ||
|
||
make | ||
... | ... |
external/xhr2.js
0 → 100644
src/node/jio-compat.js
0 → 100644
src/node/jio-end.js
0 → 100644
src/node/jio-external.js
0 → 100644
src/node/jio-start.js
0 → 100644
src/node/jio.js
0 → 100644
test/node.js
0 → 100644
test/node/node-require.js
0 → 100644
test/node/sinon-require.js
0 → 100644