Double quotes
Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
parent
2f6ac6775b
commit
471e80ca16
|
@ -1,7 +1,7 @@
|
||||||
var Spec_0_1 = require('./specs/spec_0_1.js');
|
var Spec_0_1 = require("./specs/spec_0_1.js");
|
||||||
var Spec_0_2 = require('./specs/spec_0_2.js');
|
var Spec_0_2 = require("./specs/spec_0_2.js");
|
||||||
var JSONFormatter_0_1 = require('./formats/json_0_1.js');
|
var JSONFormatter_0_1 = require("./formats/json_0_1.js");
|
||||||
var HTTPStructured_0_1 = require('./bindings/http/structured_0_1.js');
|
var HTTPStructured_0_1 = require("./bindings/http/structured_0_1.js");
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Class created using the Builder Design Pattern.
|
* Class created using the Builder Design Pattern.
|
||||||
|
@ -72,22 +72,21 @@ Cloudevent.prototype.addExtension = function(key, value){
|
||||||
* Export the specs
|
* Export the specs
|
||||||
*/
|
*/
|
||||||
Cloudevent.specs = {
|
Cloudevent.specs = {
|
||||||
'0.1': Spec_0_1,
|
"0.1": Spec_0_1,
|
||||||
'0.2': Spec_0_2
|
"0.2": Spec_0_2
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Export the formats
|
* Export the formats
|
||||||
*/
|
*/
|
||||||
Cloudevent.formats = {
|
Cloudevent.formats = {
|
||||||
'json' : JSONFormatter_0_1,
|
"json" : JSONFormatter_0_1,
|
||||||
'json0.1': JSONFormatter_0_1
|
"json0.1": JSONFormatter_0_1
|
||||||
};
|
};
|
||||||
|
|
||||||
Cloudevent.bindings = {
|
Cloudevent.bindings = {
|
||||||
'http-structured' : HTTPStructured_0_1,
|
"http-structured" : HTTPStructured_0_1,
|
||||||
'http-structured0.1' : HTTPStructured_0_1
|
"http-structured0.1" : HTTPStructured_0_1
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = Cloudevent;
|
module.exports = Cloudevent;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue