Fix failing tests

JSCS is detecting improper whitespaces lib/persisted-model.js.
This commit is contained in:
Simon Ho 2015-12-31 14:04:09 -08:00
parent d4040dc39d
commit e8179e119d
1 changed files with 5 additions and 7 deletions

View File

@ -111,13 +111,11 @@ module.exports = function(registry) {
};
/**
* Finds one record matching the optional filter object. If not found, creates the object using
* the data provided as second argument.
* In this sense it is the same as `find`, but limited to one object.
* Returns an object, not collection.
*
* If you don't provide the filter object argument, it tries to locate an existing object that
* matches the `data` argument.
* Finds one record matching the optional filter object. If not found, creates
* the object using the data provided as second argument. In this sense it is
* the same as `find`, but limited to one object. Returns an object, not
* collection. If you don't provide the filter object argument, it tries to
* locate an existing object that matches the `data` argument.
*
* @options {Object} [filter] Optional Filter object; see below.
* @property {String|Object|Array} fields Identify fields to include in return result.