fixed gulp build

This commit is contained in:
Marek Kotewicz
2015-01-06 13:26:51 +01:00
parent 1954b87819
commit af9242f4cc
9 changed files with 23 additions and 26 deletions

View File

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