aboutsummaryrefslogtreecommitdiffstats
path: root/docs/formatter.template
diff options
context:
space:
mode:
authorIgor Minar2010-11-17 13:24:45 -0800
committerIgor Minar2010-11-18 02:34:55 -0800
commit28e72cbe6bfb874fa6a7f15769e5c83d66fb617f (patch)
tree6eef8420e22ba985f878cff147eab827a780dbf5 /docs/formatter.template
parent916dadd8ec4c7e3a9710941faa3d5ea80f615ac0 (diff)
downloadangular.js-28e72cbe6bfb874fa6a7f15769e5c83d66fb617f.tar.bz2
CSS, Parameters, Returns template changes
- make css section optional - make returns section optional - change format of the parameters section - properly format the Returns section
Diffstat (limited to 'docs/formatter.template')
-rw-r--r--docs/formatter.template6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/formatter.template b/docs/formatter.template
index 2a9fedd0..0b437d9a 100644
--- a/docs/formatter.template
+++ b/docs/formatter.template
@@ -21,11 +21,15 @@ var userInputString = angular.formatter.{{shortName}}.format(modelValue);<br/>
var modelValue = angular.formatter.{{shortName}}.parse(userInputString);
</tt>
+{{#returns}}
<h3>Returns</h3>
-{{{returns}}}
+<tt>&#123;{{{type}}}&#125;</tt> {{{description}}}
+{{/returns}}
+{{#css}}
<h3>CSS</h3>
{{{css}}}
+{{/css}}
{{#example}}
<h2>Example</h2>