Skip to content

Commit

Permalink
Fix minor typos
Browse files Browse the repository at this point in the history
  • Loading branch information
bachwehbi committed Oct 14, 2015
1 parent 13e619c commit 2b83021
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ The list of standard YAML tags and corresponding JavaScipt types. See also
Caveats
-------

Note, that you use arrays or objects as key in JS-YAML. JS do not allows objects
Note, that you use arrays or objects as key in JS-YAML. JS does not allow objects
or array as keys, and stringifies (by calling .toString method) them at the
moment of adding them.

Expand Down Expand Up @@ -270,10 +270,10 @@ So, the following YAML document cannot be loaded.
Breaking changes in 2.x.x -> 3.x.x
----------------------------------

If your have not used __custom__ tags or loader classes and not loaded yaml
If you have not used __custom__ tags or loader classes and not loaded yaml
files via `require()` - no changes needed. Just upgrade library.

In other case, you should:
Otherwise, you should:

1. Replace all occurences of `require('xxxx.yml')` by `fs.readFileSync()` +
`yaml.safeLoad()`.
Expand Down

0 comments on commit 2b83021

Please sign in to comment.