Fix formatting
This commit is contained in:
parent
7d847f25dc
commit
cd3ad32bb7
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue