nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
913cb50
)
nitdoc: fix `TplArticle::is_empty`
author
Alexandre Terrasa
<alexandre@moz-code.org>
Fri, 5 Sep 2014 02:23:03 +0000
(22:23 -0400)
committer
Alexandre Terrasa
<alexandre@moz-code.org>
Fri, 5 Sep 2014 03:45:53 +0000
(23:45 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
src/doc/doc_templates.nit
patch
|
blob
|
history
diff --git
a/src/doc/doc_templates.nit
b/src/doc/doc_templates.nit
index
ba49e38
..
783a005
100644
(file)
--- a/
src/doc/doc_templates.nit
+++ b/
src/doc/doc_templates.nit
@@
-518,7
+518,7
@@
class TplArticle
end
redef fun is_empty: Bool do
end
redef fun is_empty: Bool do
- return title == null and subtitle == null and content == null
+ return title == null and subtitle == null and content == null and children.is_empty
end
end
end
end