Skip to content
This repository has been archived by the owner on Sep 13, 2020. It is now read-only.

Commit

Permalink
Change arg type doco to title case to keep it consistent with ndoc sa…
Browse files Browse the repository at this point in the history
…mples.
  • Loading branch information
cliffano committed May 2, 2012
1 parent 5e0b2c0 commit 9734c7a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lib/mock.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ var obj = require('./obj');

/**
* mock#console(checks)
* - checks (object): an object to store exec values in, to be checked in the test
* - checks (Object): an object to store exec values in, to be checked in the test
*
* Mock console module.
**/
Expand All @@ -27,7 +27,7 @@ function console(checks) {

/**
* mock#process(checks)
* - checks (object): an object to store exec values in, to be checked in the test
* - checks (Object): an object to store exec values in, to be checked in the test
*
* Mock process module.
**/
Expand Down
8 changes: 4 additions & 4 deletions lib/obj.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* obj#exist(dsv, obj) -> boolean
* - dsv (string): dot-separated nested property names
* - obj (object): the object to check against whether the nested properties exist
* - dsv (String): dot-separated nested property names
* - obj (Object): the object to check against whether the nested properties exist
*
* Check whether the specified nested properties exist in an object or not.
**/
Expand All @@ -12,8 +12,8 @@ function exist(dsv, obj) {

/**
* obj#value(dsv, obj) -> *
* - dsv (string): dot-separated nested property names
* - obj (object): the object to find the nested properties from
* - dsv (String): dot-separated nested property names
* - obj (Object): the object to find the nested properties from
*
* Retrieve the value of nested properties from an object.
**/
Expand Down

0 comments on commit 9734c7a

Please sign in to comment.