You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
352 B

4 years ago
  1. 'use strict';
  2. var inherits = require('inherits')
  3. , XhrDriver = require('../driver/xhr')
  4. ;
  5. function XHRLocalObject(method, url, payload /*, opts */) {
  6. XhrDriver.call(this, method, url, payload, {
  7. noCredentials: true
  8. });
  9. }
  10. inherits(XHRLocalObject, XhrDriver);
  11. XHRLocalObject.enabled = XhrDriver.enabled;
  12. module.exports = XHRLocalObject;