Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo fixes #399

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tutorial/04-tutorial.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
'my-on-click))

(defun start-tutorial ()
"Start turtorial."
"Start tutorial."
(initialize 'on-new-window)
(open-browser))
2 changes: 1 addition & 1 deletion tutorial/05-tutorial.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
(create-section body :h1 :content "I change")))

(defun start-tutorial ()
"Start turtorial."
"Start tutorial."
(initialize 'on-new-window)
(open-browser))
2 changes: 1 addition & 1 deletion tutorial/06-tutorial.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
'my-on-click))

(defun start-tutorial ()
"Start turtorial."
"Start tutorial."
(initialize 'on-new-window)
(open-browser))
2 changes: 1 addition & 1 deletion tutorial/07-tutorial.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,6 @@
(format t "Lost connection.~%~%~A" c))))

(defun start-tutorial ()
"Start turtorial."
"Start tutorial."
(initialize 'on-new-window)
(open-browser))
2 changes: 1 addition & 1 deletion tutorial/08-tutorial.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,6 @@
(set-on-pointer-down div3 'on-mouse-down :cancel-event t :capture-pointer t)))

(defun start-tutorial ()
"Start turtorial."
"Start tutorial."
(initialize 'on-new-window)
(open-browser))
2 changes: 1 addition & 1 deletion tutorial/09-tutorial.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,6 @@
(setf (editablep panel3) t))) ; turn panel 3 into an editable area

(defun start-tutorial ()
"Start turtorial."
"Start tutorial."
(initialize 'on-new-window)
(open-browser))
2 changes: 1 addition & 1 deletion tutorial/10-tutorial.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
(put-image-data cx dat 30 200)))

(defun start-tutorial ()
"Start turtorial."
"Start tutorial."
(initialize 'on-new-window)
(open-browser))
2 changes: 1 addition & 1 deletion tutorial/12-tutorial.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
content))

(defun start-tutorial ()
"Start turtorial."
"Start tutorial."
;; Setup the default route / to on-main
;; :boot-function allows us to add or modify our boot-files content
;; for search engine optimization. We choose long-polling-first so
Expand Down
2 changes: 1 addition & 1 deletion tutorial/14-tutorial.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ Changes made to a local key will fire an event and print below:<br>"
(storage-element (window body) :session "my-session-key"))))

(defun start-tutorial ()
"Start turtorial."
"Start tutorial."
(initialize 'on-new-window)
(open-browser))
2 changes: 1 addition & 1 deletion tutorial/15-tutorial.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
(set-on-time-update aud (lambda (obj)(declare (ignore obj))(setf (value alc) (media-position aud))))))

(defun start-tutorial ()
"Start turtorial."
"Start tutorial."
(initialize 'on-new-window)
(open-browser))
2 changes: 1 addition & 1 deletion tutorial/16-tutorial.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
(declare (ignore l1) (ignore l2) (ignore l3) (ignore l4) (ignore jname))))

(defun start-tutorial ()
"Start turtorial."
"Start tutorial."
(initialize 'on-index)
(set-on-new-window 'on-page2 :path "/page2")
(open-browser))
2 changes: 1 addition & 1 deletion tutorial/22-tutorial.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,6 @@
"")))

(defun start-tutorial ()
"Start turtorial."
"Start tutorial."
(initialize 'on-new-window)
(open-browser))
2 changes: 1 addition & 1 deletion tutorial/23-tutorial.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
:one-time t))

(defun start-tutorial ()
"Start turtorial."
"Start tutorial."
(initialize 'on-new-window)
(open-browser))
2 changes: 1 addition & 1 deletion tutorial/24-tutorial.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,6 @@
(open-browser))")))

(defun start-tutorial ()
"Start turtorial."
"Start tutorial."
(initialize 'on-new-window)
(open-browser))
2 changes: 1 addition & 1 deletion tutorial/25-tutorial.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@
(set-height))))))

(defun start-tutorial ()
"Start turtorial."
"Start tutorial."
(initialize 'on-new-window)
(open-browser))
2 changes: 1 addition & 1 deletion tutorial/26-tutorial.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
(setf (box-width image) "100%")))

(defun start-tutorial ()
"Start turtorial."
"Start tutorial."
;; We would probably set :host to my IP and :port 80 here if running a live site
(initialize 'on-new-window)
;; In real life, if we openning a browser here it would likely be
Expand Down
1 change: 1 addition & 0 deletions tutorial/27-tutorial.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@
(center-children (bottom-panel console) :horizontal nil)))

(defun start-tutorial ()
"Start tutorial."
(initialize 'on-new-window)
(open-browser))
1 change: 1 addition & 0 deletions tutorial/29-tutorial.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,6 @@
(return))))))

(defun start-tutorial ()
"Start tutorial."
(initialize 'on-new-window)
(open-browser))
1 change: 1 addition & 0 deletions tutorial/30-tutorial.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@

;; Start the webserver
(defun start-tutorial ()
"Start tutorial."
;; Initialize CLOG and the / url path (since / in our menu could just be nil)
(initialize 'on-main
;; Use long polling technique so pages are crawled by google
Expand Down
1 change: 1 addition & 0 deletions tutorial/31-tutorial.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"Setup website menu")

(defun start-tutorial ()
"Start tutorial."
;; Setup authorizations between roles and actions
(add-authorization '(:guest) '(:login :signup :main))
(add-authorization '(:member) '(:logout :main))
Expand Down
1 change: 1 addition & 0 deletions tutorial/32-tutorial.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"Setup website menu")

(defun start-tutorial ()
"Start tutorial."
;; Here we add authorizations for content and editting content, not just
;; access to pages.
(add-authorization '(:guest :member) '(:content-show-comments))
Expand Down
3 changes: 1 addition & 2 deletions tutorial/33-tutorial.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
(:export start-tutorial))

(in-package :clog-tut-33)

(defun on-new-window (body)
(setf (title (html-document body)) "Tutorial 33")
(with-connection-cache (body)
Expand Down Expand Up @@ -172,6 +171,6 @@
(select-tab p3))))))))

(defun start-tutorial ()
"Start turtorial."
"Start tutorial."
(initialize 'on-new-window)
(open-browser))
2 changes: 1 addition & 1 deletion tutorial/34-tutorial.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@ void main() {
(draw-arrays gl :TRIANGLES 0 3)))

(defun start-tutorial ()
"Start turtorial."
"Start tutorial."
(initialize 'on-new-window)
(open-browser))
2 changes: 1 addition & 1 deletion tutorial/35-tutorial.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,6 @@
(draw-scene))))

(defun start-tutorial ()
"Start turtorial."
"Start tutorial."
(initialize 'on-new-window)
(open-browser))