Changeset 37853 in project


Ignore:
Timestamp:
08/16/19 15:09:37 (5 weeks ago)
Author:
Mario Domenech Goulart
Message:

eggref/5/awful: handle both C4 and C5 and fix JSON example

Thanks to Southy and sjamaan on IRC for pointing out the invalid JSON
code.

Piggyback a fix to make linke to an awful video protocol-independent.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/5/awful

    r37629 r37853  
    2323Here are some screencasts about awful:
    2424
    25 ; [[https://parenteses.org/mario/awful/awful.ogv|Awful in 35s]] : a 35 seconds video showing the installation of the awful egg and the development of a "hello, world" example
    26 
    27 ; [[https://parenteses.org/mario/awful/awful-guess.ogv|Number guessing game]] : a video demonstrating the development of a very simple number guessing game using ajax and the web REPL
     25; [[//parenteses.org/mario/awful/awful.ogv|Awful in 35s]] : a 35 seconds video showing the installation of the awful egg and the development of a "hello, world" example
     26
     27; [[//parenteses.org/mario/awful/awful-guess.ogv|Number guessing game]] : a video demonstrating the development of a very simple number guessing game using ajax and the web REPL
    2828
    2929=== Mailing list
     
    11881188
    11891189<enscript highlight=scheme>
    1190 (use awful)
     1190(cond-expand
     1191  (chicken-4
     1192    (use awful))
     1193  (chicken-5
     1194    (import awful)))
    11911195
    11921196(enable-sxml #t)
     
    11951199  (define-page path
    11961200    (lambda ()
    1197       (awful-response-headers '((content-type "text/json")))
     1201      (awful-response-headers '((content-type "application/json")))
    11981202      (body))
    11991203    no-template: #t))
     
    12021206(define-json (main-page-path)
    12031207  (lambda ()
    1204     '("{a: 1}")))
     1208    '(literal "{\"a\": 1}")))
    12051209</enscript>
    12061210
     
    30493053
    30503054<enscript highlight=scheme>
    3051 (use awful awful-sql-de-lite)
     3055(cond-expand
     3056  (chicken-4
     3057    (use awful awful-sql-de-lite))
     3058  (chicken-5
     3059    (import awful awful-sql-de-lite)))
    30523060
    30533061(enable-sxml #t)
Note: See TracChangeset for help on using the changeset viewer.