typos
This commit is contained in:
parent
f16b0cf21d
commit
936a921d8a
21 changed files with 57 additions and 57 deletions
|
@ -1,4 +1,4 @@
|
|||
The test demonstrates one of temptations a developer meets when writing tests.
|
||||
The test demonstrates one of the temptations a developer meets when writing tests.
|
||||
|
||||
What we have here is actually 3 tests, but layed out as a single function with 3 asserts.
|
||||
|
||||
|
|
|
@ -384,7 +384,7 @@ The spec can be used in three ways:
|
|||
2. **Docs** -- the titles of `describe` and `it` tell what the function does.
|
||||
3. **Examples** -- the tests are actually working examples showing how a function can be used.
|
||||
|
||||
With the spec, we can safely improve, change, even rewrite the function from the scratch and make sure it still works right.
|
||||
With the spec, we can safely improve, change, even rewrite the function from scratch and make sure it still works right.
|
||||
|
||||
That's especially important in large projects when a function is used in many places. When we change such a function -- there's just no way to manually check if every place that uses them still works right.
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ Here Babel.JS comes to the rescue.
|
|||
|
||||
Actually, there are two parts in Babel:
|
||||
|
||||
1. First, the transpiler program, which rewrites the code. The developer run it on his own computer. It rewrites the code into the older standard. And then the code is delivered to the website for users. Modern project build system like [webpack](http://webpack.github.io/) or [brunch](http://brunch.io/) provide means to run transpiler automatically on every code change, so that doesn't involve any time loss from our side.
|
||||
1. First, the transpiler program, which rewrites the code. The developer runs it on his own computer. It rewrites the code into the older standard. And then the code is delivered to the website for users. Modern project build system like [webpack](http://webpack.github.io/) or [brunch](http://brunch.io/) provide means to run transpiler automatically on every code change, so that doesn't involve any time loss from our side.
|
||||
|
||||
2. Second, the polyfill.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue