removed promise dependency, updated readme, fixed node.js version of lib

This commit is contained in:
Marek Kotewicz
2015-01-27 00:54:21 +01:00
parent 5b701962dc
commit da4c2d530d
13 changed files with 24 additions and 36 deletions

View File

@ -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';