mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
convert all coffeescript tests to jasmine
This commit is contained in:
parent
10d24accad
commit
e38bed8be3
8 changed files with 205 additions and 338 deletions
|
@ -15,10 +15,12 @@ COPY_PASTE_ENABLED = false
|
|||
|
||||
DEBUG = false
|
||||
query = null
|
||||
if window && window.location
|
||||
if 'undefined' != typeof window && window.location
|
||||
query = Query.parse(window.location.search.substr(1))
|
||||
DEBUG = Params.getBool(query, 'debug', false)
|
||||
COPY_PASTE_ENABLED = Params.getBool(query, 'manual', false)
|
||||
else
|
||||
window = {}
|
||||
# HEADLESS is true if we are running not in a browser with a DOM.
|
||||
HEADLESS = 'undefined' == typeof(document)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue