Recipe for livestreaming over Tor
ファイルへ移動
n9k 4f85b52af0 Eradicate typo in js that breaks tripcodes
Any single-user tripcode update deleted all existing tripcode display css
rules, because of one place where there was `stylesheet_color` (the global
variable) where it should have been `stylesheet` (the function argument).

Also now using proper js function named-argument syntax. (Why is it legal
to declare global variables in the arguments of a function call? What?)

In JavaScript, declaring a global variable in a function call is not OK:

  > function f(x) {
  ...   console.log(typeof n);
  ...   return x;
  ... }
  > f(var n = 42)
  Uncaught SyntaxError: Unexpected token 'var'
  > f(let n = 42)
  Uncaught SyntaxError: missing ) after argument list
  > f(const n = 42)
  Uncaught SyntaxError: Unexpected token 'const'

Unless of course you elide the variable keyword:

  > f(7)
  undefined
  7
  > f(n = 42)
  number
  42
  > n
  42

Not even once.
2022-02-18 19:06:23 +13:00
anonstream Eradicate typo in js that breaks tripcodes 2022-02-18 19:06:23 +13:00
.gitignore Limit info height to max for viewport in mobile view 2022-02-17 13:30:09 +13:00
README.md Move README back to project root 2022-02-15 13:05:34 +13:00
app.py
config.toml Nojs appearance form, tripcodes, colours 2022-02-18 11:56:51 +13:00

README.md

onion-livestreaming

Recipe for livestreaming over the Tor network