Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9fa7828

Browse files
author
Ryan Neufeld
committed
Merge branch 'master' into galley-release
2 parents 6b02fda + f54f6ee commit 9fa7828

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

clojurescript/boids/boids.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ In your dependencies:
1919
----
2020

2121

22-
Before looking at the whole version, try building a minimal viabale
22+
Before looking at the whole version, try building a minimal viable
2323
solution to see the core bits of creating objects and animating them
2424
in a web page.
2525

@@ -76,7 +76,7 @@ http://s.trokes.org/dribnet/6460749[Live demo here]
7676

7777

7878
https://github.com/dribnet/strokes[strokes] is a library which
79-
provides idomatic use of http://d3js.org/[D3.js] from
79+
provides idiomatic use of http://d3js.org/[D3.js] from
8080
ClojureScript. Here, 5 objects were put in a vector wrapped by an atom
8181
to represent the boids, and then D3's timer function was used to
8282
repeatedly update and rerender these objects. Before getting too

clojurescript/dommy/dommy.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ functional and idiomatic code.
4343
(deftemplate my-list [items]
4444
[:#my-list.shopping-list
4545
[:ul (map list-element items)]
46-
[:buttom.remove-button "Clear list"])
46+
[:button.remove-button "Clear list"])
4747
----
4848

4949
To select for a DOM element, use either the +sel1+ function, which returns the first element matching a
@@ -122,7 +122,7 @@ Let's take a closer look at what's actually going on in the two templates from b
122122
(deftemplate my-list [items]
123123
[:#my-list.shopping-list
124124
[:ul (map list-element items)]
125-
[:buttom.remove-button "Clear list"])
125+
[:button.remove-button "Clear list"])
126126
----
127127

128128
* The first keyword in each vector always describes the element tag, including its classes and id, using css syntax.

local-io/console/parse-command-line-arguments/parse-command-line-arguments.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Everything after the argument name and description will be interpreted
9191
as options in key-value pairs. tools.cli provides the following
9292
options:
9393

94-
* +:default+: The default value returned in the absense of user-input.
94+
* +:default+: The default value returned in the absence of user-input.
9595
Without specifying, the default of default is +nil+.
9696
* +:flag+: If truthy (not +false+ or +nil+), indicates an argument
9797
behaves like a flag or switch. This argument will *not* take any
@@ -121,7 +121,7 @@ Here's a complete example:
121121

122122
When writing flag options, a useful shortcut is to omit the +:flag+
123123
option and add a "`[no-]`" prefix to the arguments name. +cli+ will
124-
interpet this argument spec as including +:flag true+ without having
124+
interpret this argument spec as including +:flag true+ without having
125125
to specify it as such.
126126

127127
[source,clojure]

local-io/unknown-reader-literals/unknown-reader-literals.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ read from untrusted sources. This means user data, remote servers
117117
being a little extreme, of course, but we want you to be safe.)
118118
119119
In the event that you *do* have a safe environment and absolutely need
120-
to evalute some code, then by all means use the +clojure.core+
120+
to evaluate some code, then by all means use the +clojure.core+
121121
readers. These readers do have a different interface for setting
122122
options than +clojure.edn+ readers, though; instead of passing an
123123
+opts+ you'll need to change various dynamic bindings to adjust the

webapps/ring/introduction/introduction.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ machine demonstrates the structure of a request:
7777
You can see that this is comprehensive, but low level, with the
7878
salient features of the request parsed into Clojure data structures
7979
without additional abstraction. Typically, additional code or
80-
libraries are used to extract meaninful information from this data
80+
libraries are used to extract meaningful information from this data
8181
structure.
8282

8383
The jetty adapter is used to run an embedded Jetty server. Ring also
@@ -87,4 +87,4 @@ Note that the call to `run-jetty` is synchronous, and will not return
8787
as long as the server is running. If you call it from the REPL, you
8888
should wrap it in a `future` (or use some other concurrency mechanism)
8989
so the server runs on another thread and your REPL does not become
90-
unresponsive.
90+
unresponsive.

0 commit comments

Comments
 (0)