June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
|
|
@ -14,8 +14,8 @@ serve(dispatch w, file s, list colors)
|
|||
"<body><h1>Goodbye, world!</h1></body></html>\n");
|
||||
|
||||
# chrome won't show the page if we close right away. we'll close in 2s.
|
||||
d_now(d);
|
||||
d_offset(d, 2, 0);
|
||||
d.now;
|
||||
d.offset(2, 0);
|
||||
w_schedule(w, d, f_close, i);
|
||||
}
|
||||
|
||||
|
|
@ -27,7 +27,7 @@ main(void)
|
|||
file s;
|
||||
|
||||
tcpip_listen(s, 8080, 0);
|
||||
w_watch(w, s, serve, w, s, l_effect("blue", "green", "red", "yellow"));
|
||||
w_watch(w, s, serve, w, s, list("blue", "green", "red", "yellow"));
|
||||
w_press(w);
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue