PsychicCat / monero-nodejs

Monero wallet management via JSON-RPC
MIT License
116 stars 61 forks source link

const http -> var http #2

Closed ghost closed 8 years ago

ghost commented 8 years ago

Seems to be causing an issue on Ubuntu 14: https://github.com/ShenNoether/MiniNodo/issues/3

PsychicCat commented 8 years ago

The problem is not Ubuntu but older versions of Node.js that do not support basic use of the ES6 const syntax in strict mode. See here: http://node.green/#bindings Anyway, I merged since it doesn't make much difference in this case to use const or var. They might still have an issue with let...