Merge pull request #2155 from sghung/master
Fix inconsistencies in JSDoc
This commit is contained in:
commit
88d41f84fd
|
@ -87,7 +87,7 @@ module.exports = function(registry) {
|
||||||
/**
|
/**
|
||||||
* Create new instance of Model, and save to database.
|
* Create new instance of Model, and save to database.
|
||||||
*
|
*
|
||||||
* @param {Object}|[{Object}] data Optional data argument. Can be either a single model instance or an array of instances.
|
* @param {Object|Object[]} [data] Optional data argument. Can be either a single model instance or an array of instances.
|
||||||
*
|
*
|
||||||
* @callback {Function} callback Callback function called with `cb(err, obj)` signature.
|
* @callback {Function} callback Callback function called with `cb(err, obj)` signature.
|
||||||
* @param {Error} err Error object; see [Error object](http://docs.strongloop.com/display/LB/Error+object).
|
* @param {Error} err Error object; see [Error object](http://docs.strongloop.com/display/LB/Error+object).
|
||||||
|
|
Loading…
Reference in New Issue