Enable docs

This commit is contained in:
Raymond Feng 2015-05-18 09:00:49 -07:00
parent 93a0342099
commit 1bd5e74a13
3 changed files with 15 additions and 0 deletions

View File

@ -7,6 +7,8 @@
"lib/include.js", "lib/include.js",
"lib/model-builder.js", "lib/model-builder.js",
"lib/relations.js", "lib/relations.js",
"lib/observer.js",
"lib/transaction.js",
"lib/validations.js" "lib/validations.js"
], ],
"codeSectionDepth": 4, "codeSectionDepth": 4,

View File

@ -3,6 +3,12 @@ var utils = require('./utils');
module.exports = ObserverMixin; module.exports = ObserverMixin;
/**
* ObserverMixin class. Use to add observe/notifyObserversOf APIs to other
* classes.
*
* @class ObserverMixin
*/
function ObserverMixin() { function ObserverMixin() {
} }

View File

@ -8,6 +8,11 @@ var Transaction = require('loopback-connector').Transaction;
module.exports = TransactionMixin; module.exports = TransactionMixin;
/**
* TransactionMixin class. Use to add transaction APIs to a model class.
*
* @class TransactionMixin
*/
function TransactionMixin() { function TransactionMixin() {
} }
@ -169,4 +174,6 @@ if (Transaction) {
}; };
} }
TransactionMixin.Transaction = Transaction;