diff --git a/tutorial/09-tutorial.lisp b/tutorial/09-tutorial.lisp index cc521af..ea36284 100644 --- a/tutorial/09-tutorial.lisp +++ b/tutorial/09-tutorial.lisp @@ -5,6 +5,7 @@ (in-package :clog-user) (defun on-new-window (body) + (setf (title (html-document body)) "Tutorial 9") (let* (last-tab ;; Note: Since the there is no need to use the tmp objects ;; we reuse the same symbol name (tmp) even though the diff --git a/tutorial/10-tutorial.lisp b/tutorial/10-tutorial.lisp index a22f0dc..e52cbad 100644 --- a/tutorial/10-tutorial.lisp +++ b/tutorial/10-tutorial.lisp @@ -5,6 +5,7 @@ (in-package :clog-user) (defun on-new-window (body) + (setf (title (html-document body)) "Tutorial 10") (let* ((canvas (create-canvas body :width 600 :height 400)) (cx (create-context2d canvas))) (set-border canvas :thin :solid :black) diff --git a/tutorial/14-tutorial.lisp b/tutorial/14-tutorial.lisp index a217e43..40d9e21 100644 --- a/tutorial/14-tutorial.lisp +++ b/tutorial/14-tutorial.lisp @@ -5,6 +5,7 @@ (in-package :clog-user) (defun on-new-window (body) + (setf (title (html-document body)) "Tutorial 14") (set-on-click (create-button body :content "Set Local Key") (lambda (obj) (declare (ignore obj)) @@ -28,10 +29,12 @@ (create-div body :content (format nil "
-The value of local storage persists in browser cache even after browser closed. -If you reset this page the session storage key will remain the same, but opening -in another window or tab will be a new session, but if it came from a click from -this window the session keys are copied first to the new window.
+The value of local storage persists in the browser cache even after the browser +is closed. If you reset this page the session storage key will remain the same, +but openning this page in another window or tab will be a new session. If the +new window came from a click from this window, the session keys (on some +browsers are copied first to the new window, if you wish to persist data accross +windows use local storage instead.