mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 11:11:30 -04:00
Remove mentions of coffeescript from docs
This commit is contained in:
parent
27a92ab03a
commit
d3080e2566
7 changed files with 8 additions and 16 deletions
|
@ -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.
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
A Coffeescript WebRTC snowflake proxy
|
||||
A JavaScript WebRTC snowflake proxy
|
||||
|
||||
Uses WebRTC from the client, and Websocket to the server.
|
||||
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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'
|
||||
},
|
||||
{
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
A Coffeescript WebRTC snowflake proxy
|
||||
A JavaScript WebRTC snowflake proxy
|
||||
|
||||
Contains helpers for parsing query strings and other utilities.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue