Add hooks and include mixins

This commit is contained in:
crandmck 2014-06-18 16:42:00 -07:00
parent 4ff6e0d707
commit 893768e895
2 changed files with 5 additions and 4 deletions

View File

@ -1,10 +1,11 @@
/**
/*!
* Module exports
*/
module.exports = Hookable;
/**
* Hooks mixins
/*
* Hooks object.
* @class Hookable
*/
function Hookable() {

View File

@ -36,7 +36,7 @@ function Inclusion() {
*``` Passport.include(passports, {owner: [{posts: 'images'}, 'passports']});
*
* @param {Array} objects Array of instances
* @param {String}, {Object} or {Array} include Which relations to load.
* @param {String|Object|Array} include Which relations to load.
* @param {Function} cb Callback called when relations are loaded
*
*/