mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 10:40:45 -08:00
update comments on tuturial 1
This commit is contained in:
parent
492477cabb
commit
9741573d14
1 changed files with 6 additions and 2 deletions
|
|
@ -39,14 +39,18 @@
|
||||||
;; Initialize the CLOG system
|
;; Initialize the CLOG system
|
||||||
(initialize #'on-new-window)
|
(initialize #'on-new-window)
|
||||||
;; Set the function on-new-window to execute
|
;; Set the function on-new-window to execute
|
||||||
;; everytime a browser connection to our app.
|
;; everytime a browser connects to our app.
|
||||||
|
;;
|
||||||
|
;; Advanced:
|
||||||
|
;;
|
||||||
;; #' tells common lisp to pass the function.
|
;; #' tells common lisp to pass the function.
|
||||||
;; If we pass the symbol 'on-new-window it
|
;; If we pass the symbol 'on-new-window it
|
||||||
;; it will look each time for the function
|
;; it will look each time for the function
|
||||||
;; represented by our symbol. This is generally
|
;; represented by our symbol. This is generally
|
||||||
;; prefered in development as then we can
|
;; prefered in development as then we can
|
||||||
;; recompile our events while running ie. M-C-x
|
;; recompile our events while running ie. M-C-x
|
||||||
;; in emacs.
|
;; in emacs. In the next tutorial we use the symbol
|
||||||
|
;; instead of the function.
|
||||||
|
|
||||||
;; Open a browser to http://127.0.0.1:8080 - the default for CLOG apps
|
;; Open a browser to http://127.0.0.1:8080 - the default for CLOG apps
|
||||||
(open-browser))
|
(open-browser))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue