source: trip-planner-front/node_modules/sockjs-client/lib/transport/sender/xhr-cors.js@ 6a3a178

Last change on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 343 bytes
Line 
1'use strict';
2
3var inherits = require('inherits')
4 , XhrDriver = require('../driver/xhr')
5 ;
6
7function XHRCorsObject(method, url, payload, opts) {
8 XhrDriver.call(this, method, url, payload, opts);
9}
10
11inherits(XHRCorsObject, XhrDriver);
12
13XHRCorsObject.enabled = XhrDriver.enabled && XhrDriver.supportsCORS;
14
15module.exports = XHRCorsObject;
Note: See TracBrowser for help on using the repository browser.