diff options
author | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-27 07:54:21 +0800 |
---|---|---|
committer | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-27 07:54:21 +0800 |
commit | da4c2d530d6f9b8ba54221c6812f77766a33fed6 (patch) | |
tree | 61c5ce0184340f48463486cdacffdad3b6a984bf /lib | |
parent | 5b701962dc3b45f4cdcad01492adab02b0cac4a7 (diff) | |
download | dexon-da4c2d530d6f9b8ba54221c6812f77766a33fed6.tar dexon-da4c2d530d6f9b8ba54221c6812f77766a33fed6.tar.gz dexon-da4c2d530d6f9b8ba54221c6812f77766a33fed6.tar.bz2 dexon-da4c2d530d6f9b8ba54221c6812f77766a33fed6.tar.lz dexon-da4c2d530d6f9b8ba54221c6812f77766a33fed6.tar.xz dexon-da4c2d530d6f9b8ba54221c6812f77766a33fed6.tar.zst dexon-da4c2d530d6f9b8ba54221c6812f77766a33fed6.zip |
removed promise dependency, updated readme, fixed node.js version of lib
Diffstat (limited to 'lib')
-rw-r--r-- | lib/httpsync.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/httpsync.js b/lib/httpsync.js index 67a3988f9..a638cfe94 100644 --- a/lib/httpsync.js +++ b/lib/httpsync.js @@ -21,6 +21,10 @@ * @date 2014 */ +if (process.env.NODE_ENV !== 'build') { + var XMLHttpRequest = require('xmlhttprequest').XMLHttpRequest; // jshint ignore:line +} + var HttpSyncProvider = function (host) { this.handlers = []; this.host = host || 'http://localhost:8080'; |