Double quotes

Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
Fabio José 2018-12-15 11:21:37 -02:00
parent 2f6ac6775b
commit 471e80ca16
1 changed files with 10 additions and 11 deletions

View File

@ -1,7 +1,7 @@
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('./formats/json_0_1.js');
var HTTPStructured_0_1 = require('./bindings/http/structured_0_1.js');
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("./formats/json_0_1.js");
var HTTPStructured_0_1 = require("./bindings/http/structured_0_1.js");
/*
* Class created using the Builder Design Pattern.
@ -72,22 +72,21 @@ Cloudevent.prototype.addExtension = function(key, value){
* Export the specs
*/
Cloudevent.specs = {
'0.1': Spec_0_1,
'0.2': Spec_0_2
"0.1": Spec_0_1,
"0.2": Spec_0_2
};
/*
* Export the formats
*/
Cloudevent.formats = {
'json' : JSONFormatter_0_1,
'json0.1': JSONFormatter_0_1
"json" : JSONFormatter_0_1,
"json0.1": JSONFormatter_0_1
};
Cloudevent.bindings = {
'http-structured' : HTTPStructured_0_1,
'http-structured0.1' : HTTPStructured_0_1
"http-structured" : HTTPStructured_0_1,
"http-structured0.1" : HTTPStructured_0_1
};
module.exports = Cloudevent;