From 5d54065982ad62f0eff751c48c0c9c3911cc9760 Mon Sep 17 00:00:00 2001 From: Alexandre Terrasa Date: Fri, 12 Dec 2014 15:57:03 -0500 Subject: [PATCH] src/doc: fixes useless empty init Signed-off-by: Alexandre Terrasa --- src/doc/doc_templates.nit | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/doc/doc_templates.nit b/src/doc/doc_templates.nit index 7624626..8384ba9 100644 --- a/src/doc/doc_templates.nit +++ b/src/doc/doc_templates.nit @@ -567,8 +567,6 @@ class TplClassDefinition var intros = new Array[TplListElt] var redefs = new Array[TplListElt] - init do end - redef fun rendering do addn "
" render_comment @@ -692,8 +690,6 @@ class TplList # Add content wrapped in a
  • element fun add_li(item: TplListItem) do elts.add item - init do end - init with_classes(classes: Array[String]) do self.css_classes = classes fun is_empty: Bool do return elts.is_empty @@ -721,8 +717,6 @@ class TplListItem # CSS classes of the
  • element var css_classes = new Array[String] - init do end - init with_content(content: Streamable) do append(content) init with_classes(content: Streamable, classes: Array[String]) do -- 1.7.9.5