From 72e8e7230ff3b149735724cbfb1b54e417fcc47f Mon Sep 17 00:00:00 2001 From: Raymond Feng Date: Tue, 18 Jun 2013 12:07:13 -0700 Subject: [PATCH] Work around the JDB test coverage tool limitation. See https://github.com/1602/semicov --- lib/datasource.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/datasource.js b/lib/datasource.js index 51799725..92475fa5 100644 --- a/lib/datasource.js +++ b/lib/datasource.js @@ -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,