From 555bce84a34fd2be51963d3d6af2cbc6b8af16b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabio=20Jos=C3=A9?= Date: Tue, 11 Jun 2019 13:25:46 -0300 Subject: [PATCH] Remove blank lines MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabio José --- lib/bindings/http/emitter_structured_0_1.js | 1 - lib/bindings/http/unmarshaller_0_2.js | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/bindings/http/emitter_structured_0_1.js b/lib/bindings/http/emitter_structured_0_1.js index 39f7a70..2031542 100644 --- a/lib/bindings/http/emitter_structured_0_1.js +++ b/lib/bindings/http/emitter_structured_0_1.js @@ -12,7 +12,6 @@ function HTTPStructured(configuration){ this.config["headers"] [Constants.HEADER_CONTENT_TYPE] = Constants.MIME_CE_JSON + "; charset=" + Constants.CHARSET_DEFAULT; - } HTTPStructured.prototype.emit = function(cloudevent){ diff --git a/lib/bindings/http/unmarshaller_0_2.js b/lib/bindings/http/unmarshaller_0_2.js index 10b00fe..b1024e1 100644 --- a/lib/bindings/http/unmarshaller_0_2.js +++ b/lib/bindings/http/unmarshaller_0_2.js @@ -37,7 +37,6 @@ function resolve_binding_name(payload, headers) { var contentType = headers[Constants.HEADER_CONTENT_TYPE]; if(contentType.startsWith(Constants.MIME_CE)){ // Structured - if(allowed_structured_content_types.includes(contentType)){ return structured; } else {