diff options
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 = []; |