Skip to content

Commit

Permalink
Merge pull request #2783 from artiifix/patch-1
Browse files Browse the repository at this point in the history
Correct typo in documentation
  • Loading branch information
vkarpov15 committed Mar 23, 2015
2 parents 8454a49 + e1196a9 commit 1624116
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/document.js
Expand Up @@ -419,10 +419,10 @@ Document.prototype.update = function update () {
* }
* })
*
* // only-the-fly cast to number
* // on-the-fly cast to number
* doc.set(path, value, Number)
*
* // only-the-fly cast to string
* // on-the-fly cast to string
* doc.set(path, value, String)
*
* // changing strict mode behavior
Expand Down

0 comments on commit 1624116

Please sign in to comment.