commit d3080e25669fa8408e32d3a36c372d6a5ca59029 Author: Arlo Breault arlolra@gmail.com Date: Sat Jul 6 16:41:56 2019 +0200
Remove mentions of coffeescript from docs --- CONTRIBUTING.md | 8 ++------ README.md | 5 ++--- proxy/README.md | 3 +-- proxy/snowflake.js | 2 +- proxy/spec/proxypair.spec.js | 2 +- proxy/spec/util.spec.js | 2 -- proxy/util.js | 2 +- 7 files changed, 8 insertions(+), 16 deletions(-)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1bb064f..9f8bae0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,9 +1,5 @@
- When editing Go, please run `go fmt` before every commit.
-- When editing coffeescript (in the `proxy/` directory), please run - `cake lint` and resolve any lint issues before every commit. - -- You may run tests locally with either `go test` or `cake test` for Go and - coffeescript, respectively. - +- You may run tests locally with either `go test` or `npm test` for Go and + JavaScript, respectively. diff --git a/README.md b/README.md index c031213..cd2641b 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ Client: - Go 1.5+
Proxy: -- [CoffeeScript](coffeescript.org) +- JavaScript
---
@@ -85,9 +85,8 @@ To run your own:
``` cd proxy/ -cake build +npm run build ``` -(Type `cake` by itself to see possible commands)
Then, start a local http server in the `proxy/build/` in any way you like. For instance: diff --git a/proxy/README.md b/proxy/README.md index 634e13c..bd1f819 100644 --- a/proxy/README.md +++ b/proxy/README.md @@ -10,9 +10,8 @@ See https://snowflake.torproject.org/ for more info: ### Building
``` -cake build +npm run build ``` -(Type `cake` by itself to see possible commands)
### Testing
diff --git a/proxy/snowflake.js b/proxy/snowflake.js index 7b584d1..2c08c4d 100644 --- a/proxy/snowflake.js +++ b/proxy/snowflake.js @@ -1,5 +1,5 @@ /* -A Coffeescript WebRTC snowflake proxy +A JavaScript WebRTC snowflake proxy
Uses WebRTC from the client, and Websocket to the server.
diff --git a/proxy/spec/proxypair.spec.js b/proxy/spec/proxypair.spec.js index 59ad85a..924aca0 100644 --- a/proxy/spec/proxypair.spec.js +++ b/proxy/spec/proxypair.spec.js @@ -40,7 +40,7 @@ describe('ProxyPair', function() { config = new Config; destination = [];
- // Using the mock PeerConnection definition from spec/snowflake.spec.coffee. + // Using the mock PeerConnection definition from spec/snowflake.spec.js var pp = new ProxyPair(fakeRelay, rateLimit, config.pcConfig);
beforeEach(function() { diff --git a/proxy/spec/util.spec.js b/proxy/spec/util.spec.js index c885b25..8f1ff7a 100644 --- a/proxy/spec/util.spec.js +++ b/proxy/spec/util.spec.js @@ -115,9 +115,7 @@ describe('Parse', function() { }, { // Modified from SDP sent by snowflake-client. - // coffeelint: disable sdp: "v=0\no=- 7860378660295630295 2 IN IP4 127.0.0.1\ns=-\nt=0 0\na=group:BUNDLE data\na=msid-semantic: WMS\nm=application 54653 DTLS/SCTP 5000\nc=IN IP4 1.2.3.4\na=candidate:3581707038 1 udp 2122260223 192.168.0.1 54653 typ host generation 0 network-id 1 network-cost 50\na=candidate:2617212910 1 tcp 1518280447 192.168.0.1 59673 typ host tcptype passive generation 0 network-id 1 network-cost 50\na=candidate:2082671819 1 udp 1686052607 1.2.3.4 54653 typ srflx raddr 192.168.0.1 rport 54653 generation 0 network-id 1 network-cost 50\na=ice-ufrag:IBdf\na=ice-pwd:G3lTrrC9gmhQx481AowtkhYz\na=fingerprint:sha-256 53:F8:84:D9:3C:1F:A0:44:AA:D6:3C:65:80:D3:CB:6F:23:90:17:41:06:F9:9C:10:D8:48:4A:A8:B6:FA:14:A1\na=setup:actpass\na=mid:data\na=sctpmap:5000 webrtc-datachannel 1024", - // coffeelint: enable expected: '1.2.3.4' }, { diff --git a/proxy/util.js b/proxy/util.js index 328fd9b..6d3651f 100644 --- a/proxy/util.js +++ b/proxy/util.js @@ -1,5 +1,5 @@ /* -A Coffeescript WebRTC snowflake proxy +A JavaScript WebRTC snowflake proxy
Contains helpers for parsing query strings and other utilities. */