!fixup Mark DAO methods as delegate
Allow juggler to mix in these methods.
This commit is contained in:
parent
77bd77e625
commit
1a8ba602cc
|
@ -403,6 +403,7 @@ DataModel.setupRemoting = function() {
|
||||||
|
|
||||||
function setRemoting(scope, name, options) {
|
function setRemoting(scope, name, options) {
|
||||||
var fn = scope[name];
|
var fn = scope[name];
|
||||||
|
fn._delegate = true;
|
||||||
options.isStatic = scope === DataModel;
|
options.isStatic = scope === DataModel;
|
||||||
DataModel.remoteMethod(name, options);
|
DataModel.remoteMethod(name, options);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue