Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 540de52

Browse files
committed
spelling
1 parent fbe32d9 commit 540de52

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

public/docs/ts/latest/cookbook/third-party-lib.jade

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ include ../_util-fns
33
:marked
44
Libraries are the backbone of the Angular ecosystem.
55
They add functionality that would otherwise take a long time to implement from scratch and keep it up to date.
6-
Everyone benifits from a healthy library ecosystem.
6+
Everyone benefits from a healthy library ecosystem.
77

88
Traditionally, third party JavaScript libraries have been published in the form of a single JavaScript file.
99
Consumers of the library have then included the library, "as is", somewhere on the page using a `script` tag.
@@ -216,7 +216,7 @@ table(width="100%")
216216
Both [Ahead-of-time](#appendix-supporting-aot) and [Just-in-time](#appendix-supporting-it)
217217
compilation should be supported.
218218

219-
It's daunting to think of all the ways your library might be used and how to accomodate it,
219+
It's daunting to think of all the ways your library might be used and how to accommodate it,
220220
but you don't need to have a "one-size-fits-all" library.
221221

222222
You can configure `package.json` with more entry points besides [main](https://docs.npmjs.com/files/package.json#main).
@@ -405,7 +405,7 @@ code-example(language="json").
405405
:marked
406406
## Appendix: Supporting JIT
407407

408-
AOT compiled code is the prefered format for production builds, but due to the long compilation time, it may not be practical to use AOT during development.
408+
AOT compiled code is the preferred format for production builds, but due to the long compilation time, it may not be practical to use AOT during development.
409409

410410
To create a more flexible developer experience, a JIT compatible build of the library should be published as well. The format of the JIT bundle is `umd`, which stands for Universal Module Definition. Shipping the bundle as `umd` ensures compatibility with most common module loading formats.
411411

0 commit comments

Comments
 (0)