File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ which is _as if_ you had written:
155
155
156
156
[source,clojure]
157
157
----
158
- (def my-date
158
+ (def my-date
159
159
(let [d (new Date)]
160
160
(.setDate d 7)
161
161
(.setMonth d 7)
@@ -267,7 +267,7 @@ Clojure libraries use them to embed HTML templating in the language:
267
267
[source,clojure]
268
268
----
269
269
[:div.text-right
270
- [:span "Click here: "]
270
+ [:span "Click here: "]
271
271
[:button {:class "btn" :on-click #(do something)} "Click me!"]]
272
272
----
273
273
@@ -284,7 +284,7 @@ immediately if you've made a mistake with parentheses.
284
284
**<<faq-js#can-i-call-javascript-from-clojurescript,Can I call JavaScript from ClojureScript?>>**
285
285
286
286
ClojureScript has very good JavaScript interoperability. ClojureScript
287
- function are regular JavaScript functions. The language provides
287
+ functions are regular JavaScript functions. The language provides
288
288
primitives to access native browser objects, access and set properties
289
289
of objects, create and manipulate JavaScript objects and arrays, and
290
290
call any JavaScript function or method.
You can’t perform that action at this time.
0 commit comments