From d43685e2b4d3613485b1f084fe683464578c040b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabio=20Jos=C3=A9?= Date: Fri, 9 Nov 2018 14:22:05 -0200 Subject: [PATCH] Refactoring for formats directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabio José --- lib/cloudevent.js | 2 +- lib/{format => formats}/json_0_1.js | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename lib/{format => formats}/json_0_1.js (100%) diff --git a/lib/cloudevent.js b/lib/cloudevent.js index 996366b..2d5bb7a 100644 --- a/lib/cloudevent.js +++ b/lib/cloudevent.js @@ -1,6 +1,6 @@ var Spec_0_1 = require('./specs/spec_0_1.js'); var Spec_0_2 = require('./specs/spec_0_2.js'); -var JSONFormatter_0_1 = require('./format/json_0_1.js'); +var JSONFormatter_0_1 = require('./formats/json_0_1.js'); function Cloudevent(_spec, _formatter){ this.spec = (_spec) ? new _spec(Cloudevent) : new Spec_0_1(Cloudevent); diff --git a/lib/format/json_0_1.js b/lib/formats/json_0_1.js similarity index 100% rename from lib/format/json_0_1.js rename to lib/formats/json_0_1.js