- From: Frederick Hirsch via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 23 Dec 2009 21:05:47 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/ReSpec.js/js In directory hutz:/tmp/cvs-serv2059/js Modified Files: respec.js Log Message: added refNote to allow paragraph at start of references section, resolving issue-61 Index: respec.js =================================================================== RCS file: /sources/public/2009/dap/ReSpec.js/js/respec.js,v retrieving revision 1.71 retrieving revision 1.72 diff -u -d -r1.71 -r1.72 --- respec.js 21 Dec 2009 15:48:50 -0000 1.71 +++ respec.js 23 Dec 2009 21:05:45 -0000 1.72 @@ -707,8 +707,12 @@ } for (var i = 0; i < del.length; i++) delete informs[del[i]]; - var refsec = sn.element("section", { id: "references", "class": "appendix" }, document.body); - sn.element("h2", {}, refsec, "References"); + var refsec = sn.element("section", { id: "references", "class": "appendix" }, document.body); + sn.element("h2", {}, refsec, "References"); + if (this.refNote) { + var refnote = sn.element("p", {}, refsec); + refnote.innerHTML= this.refNote; + } var types = ["Normative", "Informative"]; for (var i = 0; i < types.length; i++) { var type = types[i];
Received on Wednesday, 23 December 2009 21:05:49 UTC