missing semi colon

Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
Fabio José 2018-12-15 13:03:31 -02:00
parent c32c568473
commit 409be307cb
1 changed files with 10 additions and 10 deletions

View File

@ -22,51 +22,51 @@ Cloudevent.prototype.format = function(){
// Then, format
return this.formatter.format(this.spec.payload);
}
};
Cloudevent.prototype.toString = function(){
return this.formatter.toString(this.spec.payload);
}
};
Cloudevent.prototype.type = function(type){
this.spec.type(type);
return this;
}
};
Cloudevent.prototype.source = function(_source){
this.spec.source(_source);
return this;
}
};
Cloudevent.prototype.id = function(_id){
this.spec.id(_id);
return this;
}
};
Cloudevent.prototype.time = function(_time){
this.spec.time(_time);
return this;
}
};
Cloudevent.prototype.schemaurl = function(_schemaurl) {
this.spec.schemaurl(_schemaurl);
return this;
}
};
Cloudevent.prototype.contenttype = function(_contenttype){
this.spec.contenttype(_contenttype);
return this;
}
};
Cloudevent.prototype.data = function(_data) {
this.spec.data(_data);
return this;
}
};
Cloudevent.prototype.addExtension = function(key, value){
this.spec.addExtension(key, value);
return this;
}
};
/*
* Export the specs