From d8642a5b6b04aeda19bf1c4ead668eb8f4e4be7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20S=CC=8Cirka?= Date: Wed, 17 Jan 2018 11:16:18 +0100 Subject: [PATCH] Extend `SchemaInstance` by adding a new alias `.$response()` to `$output()` method. --- builders.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builders.js b/builders.js index 2645dd9b9..59bc0b8cd 100755 --- a/builders.js +++ b/builders.js @@ -2397,7 +2397,7 @@ SchemaInstance.prototype.$callback = function(callback) { return this; }; -SchemaInstance.prototype.$output = function() { +SchemaInstance.prototype.$response = SchemaInstance.prototype.$output = function() { this.$$index = this.$$result.length; return this; };