mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
Fix some linting warnings for "Line exceeds maximum allowed length."
This commit is contained in:
parent
5384ef9d16
commit
dad53932a2
7 changed files with 27 additions and 12 deletions
|
@ -52,9 +52,10 @@ class WS
|
|||
url = @buildUrl wsProtocol, addr.host, addr.port, '/', params
|
||||
ws = new WebSocket url
|
||||
###
|
||||
'User agents can use this as a hint for how to handle incoming binary data: if
|
||||
the attribute is set to 'blob', it is safe to spool it to disk, and if it is
|
||||
set to 'arraybuffer', it is likely more efficient to keep the data in memory.'
|
||||
'User agents can use this as a hint for how to handle incoming binary data:
|
||||
if the attribute is set to 'blob', it is safe to spool it to disk, and if it
|
||||
is set to 'arraybuffer', it is likely more efficient to keep the data in
|
||||
memory.'
|
||||
###
|
||||
ws.binaryType = 'arraybuffer'
|
||||
ws
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue