@returns type in docs should be wrapped in curlies

This commit is contained in:
Igor Minar 2011-01-18 13:56:04 -08:00
parent ad3b811b8b
commit d73635d573

View file

@ -218,7 +218,7 @@ Doc.prototype = {
var self = this;
if (self.returns) {
dom.h('Returns', function(){
dom.tag('code', self.returns.type);
dom.tag('code', '{' + self.returns.type + '}');
dom.text(' ');
dom.html(self.returns.description);
});