diff options
| author | Igor Minar | 2010-11-17 13:24:45 -0800 |
|---|---|---|
| committer | Igor Minar | 2010-11-18 02:34:55 -0800 |
| commit | 28e72cbe6bfb874fa6a7f15769e5c83d66fb617f (patch) | |
| tree | 6eef8420e22ba985f878cff147eab827a780dbf5 /docs/formatter.template | |
| parent | 916dadd8ec4c7e3a9710941faa3d5ea80f615ac0 (diff) | |
| download | angular.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.template | 6 |
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>{{{{type}}}}</tt> {{{description}}} +{{/returns}} +{{#css}} <h3>CSS</h3> {{{css}}} +{{/css}} {{#example}} <h2>Example</h2> |
