From cd3ad32bb7c41bf9d06dbec222225dc018d9b6c8 Mon Sep 17 00:00:00 2001 From: Fabien Franzen Date: Wed, 13 Aug 2014 10:10:34 +0200 Subject: [PATCH] Fix formatting --- lib/relation-definition.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/relation-definition.js b/lib/relation-definition.js index 0074f318..778172eb 100644 --- a/lib/relation-definition.js +++ b/lib/relation-definition.js @@ -65,10 +65,10 @@ function extendScopeMethods(definition, scopeMethods, ext) { customMethods = ext.call(definition, scopeMethods, relationClass); } else if (typeof ext === 'object') { function createFunc(definition, relationMethod) { - return function() { - var relation = new relationClass(definition, this); - return relationMethod.apply(relation, arguments); - }; + return function() { + var relation = new relationClass(definition, this); + return relationMethod.apply(relation, arguments); + }; }; for (var key in ext) { var relationMethod = ext[key];