Skip to content

Commit 86876f0

Browse files
author
Roger Urscheler
committed
Upload version 1.2.7003
1 parent fa3af30 commit 86876f0

8 files changed

+2944
-691
lines changed

FileUpload.js

-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
// FileUpload for Circuit Node.js
33
///////////////////////////////////////////////////////////////////////////////////////////////
44

5-
/* eslint-env node, es6 */
6-
/*global navigator*/
7-
85
var nodeUrl = require('url');
96
var fs = require('fs');
107
var https = require('https');

NodeSDK.js

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// Global settings for Circuit Node.js
33
///////////////////////////////////////////////////////////////////////////////////////////////
44

5-
/* eslint-env node, es6 */
65
/*eslint strict: ["error", "never"]*/
76

87
/**

WebSocket.js

-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
// WebSocket for Circuit Node.js
33
///////////////////////////////////////////////////////////////////////////////////////////////
44

5-
/* eslint-env node, es6 */
6-
/*global */
7-
85
var NodeWebSocket = require('ws');
96
var NodeSDK = require('./NodeSDK');
107

XMLHttpRequest.js

-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
// XMLHttpRequest for Circuit Node.js
33
///////////////////////////////////////////////////////////////////////////////////////////////
44

5-
/* eslint-env node, es6 */
6-
/*global navigator*/
7-
85
var https = require('https');
96
var nodeUrl = require('url');
107
var NodeSDK = require('./NodeSDK');

circuit-node.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
*
1616
*/
1717

18-
/* eslint-env node */
19-
/*global Circuit, exports, global, module, navigator, process, Promise, require, WebSocket, XMLHttpRequest*/
18+
/*global Circuit*/
2019

2120
///////////////////////////////////////////////////////////////////////////////////////
2221
// Global objects exposed for Node.js (WebSocket and XMLHttpRequest)
@@ -42,6 +41,7 @@ global.WebSocket = origWebSocket;
4241

4342
// Global settings
4443
Circuit.NodeSDK = NodeSDK;
44+
Circuit.File = require('./File');
4545

4646
// JS SDK depends on FileUpload to be globally defined
4747
Circuit.FileUpload = require('./FileUpload');

0 commit comments

Comments
 (0)