From cdf99568673b019aaeb5cb2b9437cdb155770de6 Mon Sep 17 00:00:00 2001 From: Raymond Feng Date: Wed, 4 Jun 2014 14:02:55 -0700 Subject: [PATCH] Fix JS doc for private methods --- lib/dao.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/lib/dao.js b/lib/dao.js index d089c3f1..128aa921 100644 --- a/lib/dao.js +++ b/lib/dao.js @@ -399,7 +399,7 @@ var operators = { nlike: 'NOT LIKE' }; -/*! +/* * Normalize the filter object and throw errors if invalid values are detected * @param {Object} filter The query filter object * @returns {Object} The normalized filter object @@ -446,7 +446,7 @@ DataAccessObject._normalize = function (filter) { return filter; }; -/*! +/* * Coerce values based the property types * @param {Object} where The where clause * @returns {Object} The coerced where clause @@ -1077,10 +1077,11 @@ setRemoting(DataAccessObject.prototype.updateAttributes, { http: {verb: 'put', path: '/'} }); -/** +/* * Reload object from persistence * Requires `id` member of `object` to be able to call `find` * @param {Function} callback Called with (err, instance) arguments + * @private */ DataAccessObject.prototype.reload = function reload(callback) { if (stillConnecting(this.getDataSource(), this, arguments)) { @@ -1091,12 +1092,13 @@ DataAccessObject.prototype.reload = function reload(callback) { }; -/*! +/* * Define readonly property on object * * @param {Object} obj * @param {String} key * @param {Mixed} value + * @private */ function defineReadonlyProp(obj, key, value) { Object.defineProperty(obj, key, { @@ -1122,12 +1124,12 @@ DataAccessObject.scope = function (name, query, targetClass) { defineScope(this, targetClass || this, name, query); }; -/*! +/* * Add 'include' */ jutil.mixin(DataAccessObject, Inclusion); -/*! +/* * Add 'relation' */ jutil.mixin(DataAccessObject, Relation);