Update for new pubrules requirements for {FP,LC,FPLC}WDs.
authorCameron McCormack <cam@mcc.id.au>
Tue, 02 Apr 2013 15:05:46 +1100
changeset 69 63ff451f26c5
parent 68 557b9e931bcb
child 70 1ec0dc40d161
Update for new pubrules requirements for {FP,LC,FPLC}WDs.
publish/config.js
publish/maturities.js
publish/processing.js
--- a/publish/config.js	Thu Mar 28 12:44:38 2013 +1100
+++ b/publish/config.js	Tue Apr 02 15:05:46 2013 +1100
@@ -203,10 +203,6 @@
     return maturities[this.maturity].long;
   },
 
-  get longerMaturity() {
-    return maturities[this.maturity].longer;
-  },
-
   get publicationYear() {
     return this._publicationDate.getFullYear();
   },
--- a/publish/maturities.js	Thu Mar 28 12:44:38 2013 +1100
+++ b/publish/maturities.js	Tue Apr 02 15:05:46 2013 +1100
@@ -1,11 +1,11 @@
-exports.ED = { short: 'ED', long: 'Editor’s Draft', longer: 'Editor’s Draft' };
-exports['WG-NOTE'] = { short: 'NOTE', long: 'Working Group Note', longer: 'Working Group Note' };
-exports.WD = { short: 'WD', long: 'Working Draft', longer: 'Working Draft' };
-exports.FPWD = { short: 'WD', long: 'Working Draft', longer: 'First Public Working Draft' };
-exports.LCWD = { short: 'WD', long: 'Working Draft', longer: 'Last Call Working Draft' };
-exports.FPLCWD = { short: 'WD', long: 'Working Draft', longer: 'First Public and Last Call Working Draft' };
-exports.CR = { short: 'CR', long: 'Candidate Recommendation', longer: 'Candidate Recommendation' };
-exports.PR = { short: 'PR', long: 'Proposed Recommendation', longer: 'Proposed Recommendation' };
-exports.PER = { short: 'PER', long: 'Proposed Edited Recommendation', longer: 'Proposed Edited Recommendation' };
-exports.REC = { short: 'REC', long: 'Recommendation', longer: 'Recommendation' };
-exports.RSCND = { short: 'RSCND', long: 'Rescinded Recommendation', longer: 'Rescinded Recommendation' };
+exports.ED = { short: 'ED', long: 'Editor’s Draft' };
+exports['WG-NOTE'] = { short: 'NOTE', long: 'Working Group Note' };
+exports.WD = { short: 'WD', long: 'Working Draft' };
+exports.FPWD = { short: 'WD', long: 'Working Draft' };
+exports.LCWD = { short: 'WD', long: 'Working Draft' };
+exports.FPLCWD = { short: 'WD', long: 'Working Draft' };
+exports.CR = { short: 'CR', long: 'Candidate Recommendation' };
+exports.PR = { short: 'PR', long: 'Proposed Recommendation' };
+exports.PER = { short: 'PER', long: 'Proposed Edited Recommendation' };
+exports.REC = { short: 'REC', long: 'Recommendation' };
+exports.RSCND = { short: 'RSCND', long: 'Rescinded Recommendation' };
--- a/publish/processing.js	Thu Mar 28 12:44:38 2013 +1100
+++ b/publish/processing.js	Tue Apr 02 15:05:46 2013 +1100
@@ -507,10 +507,6 @@
   utils.replace(n, n.ownerDocument.createTextNode(conf.longMaturity));
 }
 
-function doLongerMaturity(conf, page, n) {
-  utils.replace(n, n.ownerDocument.createTextNode(conf.longerMaturity));
-}
-
 function doDate(conf, page, n) {
   utils.replace(n, n.ownerDocument.createTextNode(conf.publicationDate));
 }
@@ -666,7 +662,6 @@
     includefile: doIncludeFile,
     elementsummary: doElementSummary,
     maturity: doLongMaturity,
-    longermaturity: doLongerMaturity,
     date: doDate,
     thisversion: doThisVersion,
     latestversion: doLatestVersion,