Fix JS doc for private methods

This commit is contained in:
Raymond Feng 2014-06-04 14:02:55 -07:00
parent 42c1ad3dca
commit cdf9956867
1 changed files with 8 additions and 6 deletions

View File

@ -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);