2009/dap/ReSpec.js/js respec.js,1.104,1.105

Update of /sources/public/2009/dap/ReSpec.js/js
In directory hutz:/tmp/cvs-serv31008/ReSpec.js/js

Modified Files:
	respec.js 
Log Message:
suppport for crEnd

Index: respec.js
===================================================================
RCS file: /sources/public/2009/dap/ReSpec.js/js/respec.js,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -d -r1.104 -r1.105
--- respec.js	7 Apr 2010 03:57:35 -0000	1.104
+++ respec.js	9 Apr 2010 12:52:45 -0000	1.105
@@ -313,7 +313,9 @@
         if (cfg.previousPublishDate) cfg.previousPublishDate = this._parseDate(cfg.previousPublishDate);
         if (cfg.previousPublishDate && ! cfg.previousMaturity) error("Previous date is set, but not previousMaturity");
         if (cfg.lcEnd) cfg.lcEnd = this._parseDate(cfg.lcEnd);
+        if (cfg.crEnd) cfg.crEnd = this._parseDate(cfg.crEnd);
         if (cfg.specStatus == "LC" && !cfg.lcEnd) error("If specStatus is set to LC, then lcEnd must be defined");
+        if (cfg.specStatus == "CR" && !cfg.crEnd) error("If specStatus is set to CR, then crEnd must be defined");
         if (!cfg.editors) cfg.editors = [];
         if (!cfg.authors) cfg.authors = [];
         if (!cfg.alternateFormats) cfg.alternateFormats = [];
@@ -636,6 +638,10 @@
                 this.wgPublicList + "@w3.org</a> (<a href='mailto:" + this.wgPublicList + "-request@w3.org?subject=subscribe'>subscribe</a>, " +
                 "<a href='http://lists.w3.org/Archives/Public/" + this.wgPublicList + "/'>archives</a>).";
             if (this.specStatus == "LC") sotd += " The Last Call period ends " + this._humanDate(this.lcEnd) + ".";
+            if (this.specStatus == "CR") sotd += " W3C publishes a Candidate Recommendation to indicate that the document is believed" +
+                                                 " to be stable and to encourage implementation by the developer community. This" +
+                                                 " Candidate Recommendation is expected to advance to Proposed Recommendation on " +
+                                                 this._humanDate(this.crEnd) + ".";
             sotd += " All feedback is welcome.</p>";
             if (this.specStatus != "REC") {
                 sotd += "<p>Publication as a " + this.status2text[this.specStatus] + " does not imply endorsement by the W3C Membership. " +

Received on Friday, 9 April 2010 12:52:50 UTC