mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
Make badge and debug extend ui
Permits further ui extension
This commit is contained in:
parent
5b18729e77
commit
2b1852c1a5
6 changed files with 49 additions and 52 deletions
|
@ -17,11 +17,7 @@ class WebSocket
|
|||
@bufferedAmount = 0
|
||||
send: (data) ->
|
||||
log = ->
|
||||
class FakeUI
|
||||
log: ->
|
||||
setActive: ->
|
||||
setStatus: ->
|
||||
fakeUI = new FakeUI()
|
||||
fakeUI = new UI()
|
||||
class FakeBroker
|
||||
getClientOffer: -> new Promise((F,R) -> {})
|
||||
# Fake snowflake to interact with
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue