From 28e72cbe6bfb874fa6a7f15769e5c83d66fb617f Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Wed, 17 Nov 2010 13:24:45 -0800 Subject: CSS, Parameters, Returns template changes - make css section optional - make returns section optional - change format of the parameters section - properly format the Returns section --- docs/formatter.template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'docs/formatter.template') 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);
var modelValue = angular.formatter.{{shortName}}.parse(userInputString); +{{#returns}}

Returns

-{{{returns}}} +{{{{type}}}} {{{description}}} +{{/returns}} +{{#css}}

CSS

{{{css}}} +{{/css}} {{#example}}

Example

-- cgit v1.2.3