Skip to content

Commit da32374

Browse files
committed
Spellcheck
1 parent 167fa7b commit da32374

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

guide/beginner.pdc

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Hello World
6767
~~~
6868

6969
The interactive shell (also called REPL) is a great place to test simple
70-
oneliners, and can also be directly [embedded][repldocs] into your node.js
70+
one liners, and can also be directly [embedded][repldocs] into your node.js
7171
applications. In order to get out of it, simply press Ctrl + C.
7272

7373
The REPL also comes with many other great features, most importantly tab
@@ -177,7 +177,7 @@ exports.world = function() {
177177
}
178178
~~~
179179

180-
What you notice here, is that we are assigng a property called 'world' to an
180+
What you notice here, is that we are assigning a property called 'world' to an
181181
object called 'exports'. Such an 'exports' object is available in every module,
182182
and it is returned whenever the `require` function is used to include the
183183
module. If we now go ahead and run our 'main.js' program, we will see the
@@ -237,9 +237,10 @@ be considered, this goes for non-relative includes as well.
237237

238238
## Using EventEmitters
239239

240-
Node.js implements the [observer pattern][observerpattern] using a class called EventEmitter.
241-
Whenever there is an object that represents the source of several kinds of
242-
events, node.js usually makes the underlaying class inherit from EventEmitter.
240+
Node.js implements the [observer pattern][observerpattern] using a class called
241+
EventEmitter. Whenever there is an object that represents the source of several
242+
kinds of events, node.js usually makes the underlaying class inherit from
243+
EventEmitter.
243244

244245
Using EventEmitter's is pretty forward. You can listen to a specific event by
245246
calling the 'on()' function on your object, providing the name of the event, as
@@ -259,9 +260,9 @@ req
259260
~~~
260261

261262
As you can see, the `on()` function also returns a reference to the object it
262-
belongs to, allowing you to chain several of such event listerns.
263+
belongs to, allowing you to chain several of such event listeners.
263264

264-
If you're only interested in the first occurence of an event, you can use the
265+
If you're only interested in the first occurrence of an event, you can use the
265266
`once()` function instead.
266267

267268
Finally, you can remove event listeners by using the `removeListener` function.
@@ -283,8 +284,8 @@ The example above is essentially identical to the `once()` function.
283284

284285
Now that you know your node.js basics, you're probably best off by writing a few
285286
little programs yourself. The best place to start out is [node's api
286-
documentation][nodeapidocs], using it as a source of inspiration for something you want to
287-
play with.
287+
documentation][nodeapidocs], using it as a source of inspiration for something
288+
you want to play with.
288289

289290
[nodeapidocs]: http://nodejs.org/docs/v0.4.4/api/
290291

@@ -337,7 +338,7 @@ $ node.js debugger my_file.js
337338
If you're new to node.js, you might not want to re-invent the wheel when it
338339
comes to parsing POST requests, routing urls or rendering views. In this case,
339340
you probably want to use one of the popular web frameworks. This section gives
340-
you a quick overview over the popular choices, and my opppinonated take on them.
341+
you a quick overview over the popular choices, and my opinionated take on them.
341342

342343
### Express
343344

@@ -346,7 +347,7 @@ node.js developers. It's relatively mature, and includes the [connect][connect]
346347
(think rack) middleware layer. Included in the package are routing,
347348
configuration, a template engine, POST parsing and many other features.
348349

349-
While express is a solid framework, it's currently adressing a much smaller
350+
While express is a solid framework, it's currently addressing a much smaller
350351
scope than fullstack frameworks like Rails, CakePHP or Django. It's more
351352
comparable to Sinatra, and unfortunately doesn't really make a big effort to
352353
differentiate itself from it's Ruby roots into something that feels natural in
@@ -359,9 +360,9 @@ choice at this point.
359360
### fab.js
360361

361362
You think you know JavaScript? Think again. Originally inspired by jQuery's
362-
chaining, [fab.js][fabjs] has taken a very unconvential approach of twisting
363+
chaining, [fab.js][fabjs] has taken a very unconventional approach of twisting
363364
JavaScript beyond most peoples brain capacity. Each function returns another
364-
function, elimating the need for method names altogether, while giving the
365+
function, eliminating the need for method names altogether, while giving the
365366
resulting code a lisp-esque look & feel.
366367

367368
At this point I don't consider fab.js production-ready, but if you're still

0 commit comments

Comments
 (0)