From 2b92a2c4475ace2be2d164b3be2e67c30881926a Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Wed, 27 May 2015 15:24:38 -0400 Subject: [PATCH] JsonResponse#request must be virtual To suppor trait stacking. --- src/dapi/format/JsonResponse.js | 4 ++-- test/dapi/format/JsonResponseTest.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dapi/format/JsonResponse.js b/src/dapi/format/JsonResponse.js index a9fc714..db357e8 100644 --- a/src/dapi/format/JsonResponse.js +++ b/src/dapi/format/JsonResponse.js @@ -1,7 +1,7 @@ /** * Processes DataApi return data as JSON * - * Copyright (C) 2014 LoVullo Associates, Inc. + * Copyright (C) 2014, 2015 LoVullo Associates, Inc. * * This file is part of the Liza Data Collection Framework * @@ -40,7 +40,7 @@ module.exports = Trait( 'JsonResponse' ) * * @return {DataApi} self */ - 'abstract override public request': function( data, callback ) + 'virtual abstract override public request': function( data, callback ) { this.__super( data, function( err, resp ) { diff --git a/test/dapi/format/JsonResponseTest.js b/test/dapi/format/JsonResponseTest.js index ede3046..2932a56 100644 --- a/test/dapi/format/JsonResponseTest.js +++ b/test/dapi/format/JsonResponseTest.js @@ -1,7 +1,7 @@ /** * Test case for JSON formatting of API result * - * Copyright (C) 2014 LoVullo Associates, Inc. + * Copyright (C) 2014, 2015 LoVullo Associates, Inc. * * This file is part of the Liza Data Collection Framework *