Skip to content

Commit

Permalink
Fixed optional spec in the docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgeewax committed Jun 8, 2015
1 parent 145660b commit 84a58f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion docs/site/components/docs/docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ angular
formatHtml(detectLinks(detectModules(tag.description.replace(/^- /, '')))));
tag.types = $sce.trustAsHtml(tag.types.reduceRight(
reduceModules, []).join(', '));
tag.optional = tag.types.toString().indexOf('=') > -1;
tag.subparam = tag.name.indexOf('.') > -1;
return tag;
}),
Expand Down
5 changes: 3 additions & 2 deletions docs/site/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -747,10 +747,11 @@ ul {
font-style: italic;
}

.param-optional .param-description:before {
content: "optional. ";
.param-optional .param-types:after {
content: " (optional)";
color: #aaa;
font-style: italic;
font-size: 85%;
}

.method-heading {
Expand Down

0 comments on commit 84a58f4

Please sign in to comment.