[Pkg-mozext-commits] [adblock-plus] 37/464: show the constructor comment if there is one...

David Prévot taffit at moszumanska.debian.org
Tue Jul 22 20:44:00 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository adblock-plus.

commit 20a7908798f8c55d8658ae1f88464db7ab82041a
Author: Andrew Sutherland <asutherland at asutherland.org>
Date:   Mon Jun 22 11:11:39 2009 -0700

    show the constructor comment if there is one...
    
    --HG--
    extra : transplant_source : %84%12v%12%8E%B3%BE%F8%80%7E%C6oS%87rc%82%09%CBz
---
 scripts/doxygen.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/doxygen.js b/scripts/doxygen.js
index ce03e35..8d8138b 100644
--- a/scripts/doxygen.js
+++ b/scripts/doxygen.js
@@ -56,6 +56,8 @@ function process_js(ast, f) {
   }
   for each (let v in toplevel.classes) {
     divine_inheritance(v, toplevel.constants);
+    if (v.constructor && v.constructor.comment)
+      _print(v.constructor.comment);
     if (v.comment)
       _print(v.comment);
     let inherits = v.inherits ? (" INHERITS " + v.inherits.join(", ")) : "";

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git



More information about the Pkg-mozext-commits mailing list