Skip to content

Commit c75399f

Browse files
committed
minor doc improvements
1 parent ffd60ef commit c75399f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/scenic/scene.ex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ defmodule Scenic.Scene do
7575
them at compile time has two advantages
7676
7777
1. Performance: It is clearly faster to build the graph once during
78-
build time then to build it repeatedly during runtime.
78+
build time than to build it repeatedly during runtime.
7979
2. Error checking: If your graph has an error in it, it is much
8080
better to have it stop compilation than cause an error during runtime.
8181
@@ -94,8 +94,8 @@ defmodule Scenic.Scene do
9494
its own state. These child scenes can in turn contain other
9595
child scenes. This allows for strong code reuse, isolates knowledge
9696
and logic to just the pieces that need it, and keeps the size of any
97-
given graph to a reasonable size. For example, The graph
98-
handlers of a check-box don't need to know anything about
97+
given graph to a reasonable size. For example, The
98+
handlers of a check-box scene don't need to know anything about
9999
how a slider works, even though they are both used in the same
100100
parent scene. At best, they only need to know that they
101101
both conform to the `Component.Input` behavior, and can thus
@@ -198,8 +198,8 @@ defmodule Scenic.Scene do
198198
Captured input types should be released when no longer
199199
needed so that normal operation can resume.
200200
201-
The input messages are passed on to other scene if
202-
the first one doesn't handle it.
201+
The input messages are passed on to a scene's parent if
202+
not processed.
203203
204204
## Event Filtering
205205
@@ -209,7 +209,7 @@ defmodule Scenic.Scene do
209209
210210
In this way, a `Component.Button` scene can generate a`{:click, msg}`
211211
event that is sent to its parent. If the parent doesn't
212-
handle it, it is sent to that scene's parent. And so on util the
212+
handle it, it is sent to that scene's parent. And so on until the
213213
event reaches the root scene. If the root scene doesn't handle
214214
it either then the event is dropped.
215215

0 commit comments

Comments
 (0)