diff options
author | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-07 18:16:27 +0800 |
---|---|---|
committer | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-07 18:16:27 +0800 |
commit | 6c160adab3a6723b59ef2c6f1a209bf3806e400b (patch) | |
tree | 0cda87cf5cc9bf7694145243a1979673c1f46a99 /lib/httprpc.js | |
parent | 1954b878191e08db04188f0934b15ebe8c2c5a84 (diff) | |
parent | b6232cfdd1f23447d900728be0b142d05aca0009 (diff) | |
download | dexon-6c160adab3a6723b59ef2c6f1a209bf3806e400b.tar dexon-6c160adab3a6723b59ef2c6f1a209bf3806e400b.tar.gz dexon-6c160adab3a6723b59ef2c6f1a209bf3806e400b.tar.bz2 dexon-6c160adab3a6723b59ef2c6f1a209bf3806e400b.tar.lz dexon-6c160adab3a6723b59ef2c6f1a209bf3806e400b.tar.xz dexon-6c160adab3a6723b59ef2c6f1a209bf3806e400b.tar.zst dexon-6c160adab3a6723b59ef2c6f1a209bf3806e400b.zip |
Merge pull request #21 from debris/master
fixed gulp build
Diffstat (limited to 'lib/httprpc.js')
-rw-r--r-- | lib/httprpc.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/httprpc.js b/lib/httprpc.js index ee6b5c307..d315201f1 100644 --- a/lib/httprpc.js +++ b/lib/httprpc.js @@ -21,11 +21,10 @@ * @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") {/* +// TODO: is these line is supposed to be here? +if (process.env.NODE_ENV !== 'build') { var XMLHttpRequest = require('xmlhttprequest').XMLHttpRequest; // jshint ignore:line -*/} +} var HttpRpcProvider = function (host) { this.handlers = []; |