From dd8706d3741128a41277523e21d3be1e2a03e297 Mon Sep 17 00:00:00 2001 From: twidi Date: Mon, 24 Nov 2014 20:52:56 +0100 Subject: [PATCH] A better template for exceptions Instead of a non-styled dd/dt template, called for each exception, call one template with a table for all exception, using same styles as params: type and description --- tmpl/exceptions.tmpl | 57 ++++++++++++++++++++++---------------------- tmpl/method.tmpl | 11 ++------- 2 files changed, 31 insertions(+), 37 deletions(-) diff --git a/tmpl/exceptions.tmpl b/tmpl/exceptions.tmpl index 78c4e250..31072346 100644 --- a/tmpl/exceptions.tmpl +++ b/tmpl/exceptions.tmpl @@ -1,30 +1,31 @@ - -
-
-
- -
-
-
-
-
- Type -
-
- -
-
-
-
- -
- - - - - -
- + + + + + + + + + + + + + + + + + + +
TypeWhen
+ + + + + + + +
diff --git a/tmpl/method.tmpl b/tmpl/method.tmpl index 8b629f35..a0f5940e 100644 --- a/tmpl/method.tmpl +++ b/tmpl/method.tmpl @@ -73,15 +73,8 @@ var self = this;
Throws:
- 1) { ?> - - + + 1) { ?>
Returns: