Skip to content

Commit a50a050

Browse files
committed
docs: add missing fn name for docs build
1 parent efa7339 commit a50a050

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/document.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,10 +487,11 @@ Document.prototype.update = function update() {
487487
* @param {Any} val the value to set
488488
* @param {Schema|String|Number|Buffer|*} [type] optionally specify a type for "on-the-fly" attributes
489489
* @param {Object} [options] optionally specify options that modify the behavior of the set
490+
* @
490491
* @api public
491492
*/
492493

493-
Document.prototype.$set = function(path, val, type, options) {
494+
Document.prototype.$set = function $set(path, val, type, options) {
494495
if (type && utils.getFunctionName(type.constructor) === 'Object') {
495496
options = type;
496497
type = undefined;

0 commit comments

Comments
 (0)