fixed jshint warnings in httpprovider

This commit is contained in:
debris 2015-08-05 14:19:05 +02:00
parent cdb679b9a5
commit 1e74f9cda4
1 changed files with 2 additions and 2 deletions

View File

@ -24,8 +24,8 @@
"use strict"; "use strict";
var npmRequire = (typeof Meteor !== 'undefined' && Meteor.isServer) ? Npm.require : require; // workaround to use httpprovider in meteor on server side
var npmRequire = (typeof Meteor !== 'undefined' && Meteor.isServer) ? Npm.require : require; // jshint ignore:line
var XMLHttpRequest = (typeof window !== 'undefined' && window.XMLHttpRequest) ? window.XMLHttpRequest : npmRequire('xmlhttprequest').XMLHttpRequest; // jshint ignore:line var XMLHttpRequest = (typeof window !== 'undefined' && window.XMLHttpRequest) ? window.XMLHttpRequest : npmRequire('xmlhttprequest').XMLHttpRequest; // jshint ignore:line
var errors = require('./errors'); var errors = require('./errors');