missing semi colon
Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
parent
c32c568473
commit
409be307cb
|
@ -22,51 +22,51 @@ Cloudevent.prototype.format = function(){
|
||||||
|
|
||||||
// Then, format
|
// Then, format
|
||||||
return this.formatter.format(this.spec.payload);
|
return this.formatter.format(this.spec.payload);
|
||||||
}
|
};
|
||||||
|
|
||||||
Cloudevent.prototype.toString = function(){
|
Cloudevent.prototype.toString = function(){
|
||||||
return this.formatter.toString(this.spec.payload);
|
return this.formatter.toString(this.spec.payload);
|
||||||
}
|
};
|
||||||
|
|
||||||
Cloudevent.prototype.type = function(type){
|
Cloudevent.prototype.type = function(type){
|
||||||
this.spec.type(type);
|
this.spec.type(type);
|
||||||
return this;
|
return this;
|
||||||
}
|
};
|
||||||
|
|
||||||
Cloudevent.prototype.source = function(_source){
|
Cloudevent.prototype.source = function(_source){
|
||||||
this.spec.source(_source);
|
this.spec.source(_source);
|
||||||
return this;
|
return this;
|
||||||
}
|
};
|
||||||
|
|
||||||
Cloudevent.prototype.id = function(_id){
|
Cloudevent.prototype.id = function(_id){
|
||||||
this.spec.id(_id);
|
this.spec.id(_id);
|
||||||
return this;
|
return this;
|
||||||
}
|
};
|
||||||
|
|
||||||
Cloudevent.prototype.time = function(_time){
|
Cloudevent.prototype.time = function(_time){
|
||||||
this.spec.time(_time);
|
this.spec.time(_time);
|
||||||
return this;
|
return this;
|
||||||
}
|
};
|
||||||
|
|
||||||
Cloudevent.prototype.schemaurl = function(_schemaurl) {
|
Cloudevent.prototype.schemaurl = function(_schemaurl) {
|
||||||
this.spec.schemaurl(_schemaurl);
|
this.spec.schemaurl(_schemaurl);
|
||||||
return this;
|
return this;
|
||||||
}
|
};
|
||||||
|
|
||||||
Cloudevent.prototype.contenttype = function(_contenttype){
|
Cloudevent.prototype.contenttype = function(_contenttype){
|
||||||
this.spec.contenttype(_contenttype);
|
this.spec.contenttype(_contenttype);
|
||||||
return this;
|
return this;
|
||||||
}
|
};
|
||||||
|
|
||||||
Cloudevent.prototype.data = function(_data) {
|
Cloudevent.prototype.data = function(_data) {
|
||||||
this.spec.data(_data);
|
this.spec.data(_data);
|
||||||
return this;
|
return this;
|
||||||
}
|
};
|
||||||
|
|
||||||
Cloudevent.prototype.addExtension = function(key, value){
|
Cloudevent.prototype.addExtension = function(key, value){
|
||||||
this.spec.addExtension(key, value);
|
this.spec.addExtension(key, value);
|
||||||
return this;
|
return this;
|
||||||
}
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Export the specs
|
* Export the specs
|
||||||
|
|
Loading…
Reference in New Issue