Lots of fixes.

This commit is contained in:
Gav Wood
2014-12-22 01:13:49 +01:00
parent e9db2d1b18
commit 123098ce79
6 changed files with 102 additions and 44 deletions

View File

@@ -21,9 +21,11 @@
* @date 2014
*/
if (process.env.NODE_ENV !== "build") {
// TODO: work out which of the following two lines it is supposed to be...
//if (process.env.NODE_ENV !== 'build') {
if ("build" !== "build") {/*
var XMLHttpRequest = require('xmlhttprequest').XMLHttpRequest; // jshint ignore:line
}
*/}
var HttpRpcProvider = function (host) {
this.handlers = [];