Skip to content

Commit

Permalink
Fixing errors in preprocess JS
Browse files Browse the repository at this point in the history
  • Loading branch information
iadawn committed May 10, 2024
1 parent 0a1c28e commit e434427
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions guidelines/guidelines.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,6 @@ function linkOutcome() {
})
}

/*function addGuidelineMarkers() {
document.querySelectorAll('.guideline').forEach(function(node){
var guidelineText = node.querySelector("p");
guidelineText.innerHTML = "<span class=\"inserted\">Guideline: </span>" + guidelineText.innerHTML;
})
} */

function addOutcomeMarkers() {
document.querySelectorAll('.outcome').forEach(function(node){
var outcomeText = node.querySelector("p");
Expand Down Expand Up @@ -345,14 +338,11 @@ function moveStatusFilterToToc() {
// scripts before Respec has run
function preRespec() {
adjustDfnData();
addGuidelineMarkers();
//linkHowTo();
linkOutcome();
addCategoryMarkers();
addErrorMarkers();
addRatingMarkers();
addSummaryMarkers();
//alternateFloats();
}

// scripts after Respec has run
Expand All @@ -367,6 +357,5 @@ function postRespec() {
addStatusMarkers();
removeImgSize();
outputJson();
//moveStatusFilterToToc();
removeGLNum();
}

0 comments on commit e434427

Please sign in to comment.