Work around the JDB test coverage tool limitation. See https://github.com/1602/semicov

This commit is contained in:
Raymond Feng 2013-06-18 12:07:13 -07:00
parent b3e98f0c6f
commit 72e8e7230f
1 changed files with 4 additions and 4 deletions

View File

@ -73,8 +73,8 @@ function DataSource(name, settings) {
if(typeof fn === 'function') {
this.defineOperation(name, {
accepts: fn.accepts,
returns: fn.returns,
accepts: fn.accepts,
'returns': fn.returns,
http: fn.http,
remoteEnabled: fn.shared ? true : false,
scope: this.DataAccessObject,
@ -90,8 +90,8 @@ function DataSource(name, settings) {
if(typeof fn === 'function') {
this.defineOperation(name, {
prototype: true,
accepts: fn.accepts,
returns: fn.returns,
accepts: fn.accepts,
'returns': fn.returns,
http: fn.http,
remoteEnabled: fn.shared ? true : false,
scope: this.DataAccessObject.prototype,