Fix formatting

This commit is contained in:
Fabien Franzen 2014-08-13 10:10:34 +02:00
parent 7d847f25dc
commit cd3ad32bb7
1 changed files with 4 additions and 4 deletions

View File

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