Skip to content

Commit ba42586

Browse files
Vadym-Lopatkaweavejester
authored andcommitted
Fix typos in Web Applications section
Closes #4.
1 parent 8d9f3b2 commit ba42586

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -932,7 +932,7 @@ map could be returned.
932932
:headers {}
933933
:body [:html {:lang "en"}
934934
[:head [:title "Hello World Wide Web"]]
935-
[:body [:h1 "Hello World Wide Web"]]]))
935+
[:body [:h1 "Hello World Wide Web"]]]}))
936936
----
937937

938938
NOTE: The `:status` and `:headers` keys map optionally be omitted.
@@ -977,7 +977,7 @@ every response:
977977
978978
(defn wrap-headers [headers]
979979
(fn [handler]
980-
(fn [request)
980+
(fn [request]
981981
(let [response (handler request)]
982982
(update response :headers merge headers)))))
983983
----
@@ -1499,7 +1499,7 @@ default this should be placed in the `static` subdirectory.
14991499
</head>
15001500
<body>
15011501
<div id="todos"></div>
1502-
<script src="/cljs/client.cljs"></script>
1502+
<script src="/cljs/client.js"></script>
15031503
</body>
15041504
</html>
15051505
----

0 commit comments

Comments
 (0)