!fixup Mark DAO methods as delegate

Allow juggler to mix in these methods.
This commit is contained in:
Ritchie Martori 2014-05-20 13:45:47 -07:00
parent 77bd77e625
commit 1a8ba602cc
1 changed files with 1 additions and 0 deletions

View File

@ -403,6 +403,7 @@ DataModel.setupRemoting = function() {
function setRemoting(scope, name, options) {
var fn = scope[name];
fn._delegate = true;
options.isStatic = scope === DataModel;
DataModel.remoteMethod(name, options);
}