From 5aa0efd8189b8856e9765fcea6755c259ab772e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Drouyer?= Date: Sat, 3 Nov 2012 01:56:53 +0100 Subject: [PATCH] corrected indentation issues --- lib/abstract-class.js | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/lib/abstract-class.js b/lib/abstract-class.js index ce3ec2d5..706ed66b 100644 --- a/lib/abstract-class.js +++ b/lib/abstract-class.js @@ -710,22 +710,22 @@ AbstractClass.hasMany = function hasMany(anotherClass, params) { * @param {Class} anotherClass - class to belong * @param {Object} params - configuration {as: 'propertyName', foreignKey: 'keyName'} * - * {Usage examples} - * Suppose model Post have a {belongsTo} relationship with User (the author of the post). You could declare it this way: - * Post.belongsTo(User, {as: 'author', foreignKey: 'userId'}); + * {Usage examples} + * Suppose model Post have a {belongsTo} relationship with User (the author of the post). You could declare it this way: + * Post.belongsTo(User, {as: 'author', foreignKey: 'userId'}); * - * When a post is loaded, you can load the related author with: - * post.author(function(err, user) { - * // the user variable is your user object - * }); + * When a post is loaded, you can load the related author with: + * post.author(function(err, user) { + * // the user variable is your user object + * }); * - * The related object is cached, so if later you try to get again the author, no additional request will be made. - * But there is an optional boolean parameter in first position that set whether or not you want to reload the cache: - * post.author(true, function(err, user) { - * // The user is reloaded, even if it was already cached. - * }); + * The related object is cached, so if later you try to get again the author, no additional request will be made. + * But there is an optional boolean parameter in first position that set whether or not you want to reload the cache: + * post.author(true, function(err, user) { + * // The user is reloaded, even if it was already cached. + * }); * - * This optional parameter default value is false, so the related object will be loaded from cache if available. + * This optional parameter default value is false, so the related object will be loaded from cache if available. */ AbstractClass.belongsTo = function (anotherClass, params) { var methodName = params.as;