diff options
author | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-06 20:26:51 +0800 |
---|---|---|
committer | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-06 20:26:51 +0800 |
commit | af9242f4cc382a61bea9142ddbd0cec2e1edf08a (patch) | |
tree | e08dc7265e59f25057631916684b93b32ac80cd6 /lib/httprpc.js | |
parent | 1954b878191e08db04188f0934b15ebe8c2c5a84 (diff) | |
download | go-tangerine-af9242f4cc382a61bea9142ddbd0cec2e1edf08a.tar go-tangerine-af9242f4cc382a61bea9142ddbd0cec2e1edf08a.tar.gz go-tangerine-af9242f4cc382a61bea9142ddbd0cec2e1edf08a.tar.bz2 go-tangerine-af9242f4cc382a61bea9142ddbd0cec2e1edf08a.tar.lz go-tangerine-af9242f4cc382a61bea9142ddbd0cec2e1edf08a.tar.xz go-tangerine-af9242f4cc382a61bea9142ddbd0cec2e1edf08a.tar.zst go-tangerine-af9242f4cc382a61bea9142ddbd0cec2e1edf08a.zip |
fixed gulp build
Diffstat (limited to 'lib/httprpc.js')
-rw-r--r-- | lib/httprpc.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/httprpc.js b/lib/httprpc.js index ee6b5c307..700ce4246 100644 --- a/lib/httprpc.js +++ b/lib/httprpc.js @@ -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 = []; |