Skip to content

Commit

Permalink
Update CUN Bible name
Browse files Browse the repository at this point in the history
  • Loading branch information
patricksptang committed Sep 22, 2024
1 parent b29e744 commit 1819f40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ var PassageDisplayView = DisplayView.extend({
var bibleVersions = version.toUpperCase() + "," + extraVersions.toUpperCase();
var r = step.util.getTestamentAndPassagesOfTheReferences(reference.split(" "));
var justLoadedTOS = false;
if (((bibleVersions.indexOf('ESV') > -1) || (bibleVersions.indexOf('THOT') > -1) || (bibleVersions.indexOf('OHB') > -1) || (bibleVersions.indexOf('NASB2020') > -1) || (bibleVersions.indexOf("CHIUN") > -1) || (bibleVersions.indexOf('_MORPH') > -1)) &&
if (((bibleVersions.indexOf('ESV') > -1) || (bibleVersions.indexOf('THOT') > -1) || (bibleVersions.indexOf('OHB') > -1) || (bibleVersions.indexOf('NASB2020') > -1) || (bibleVersions.indexOf("CUN") > -1) || (bibleVersions.indexOf('_MORPH') > -1)) &&
(r[1])) { // r[1] is a boolean for reference OT
justLoadedTOS = step.util.loadTOS();
hasTOS = true;
}
if (((bibleVersions.indexOf('ESV') > -1) || (bibleVersions.indexOf('KJV') > -1) ||
(bibleVersions.indexOf('SBLG') > -1) || (bibleVersions.indexOf('THGNT') > -1) || (bibleVersions.indexOf('CUN') > -1) || (bibleVersions.indexOf('NASB2020') > -1) || (bibleVersions.indexOf("CHIUN") > -1) || (bibleVersions.indexOf('_MORPH') > -1)) &&
(bibleVersions.indexOf('SBLG') > -1) || (bibleVersions.indexOf('THGNT') > -1) || (bibleVersions.indexOf('CUN') > -1) || (bibleVersions.indexOf('NASB2020') > -1) || (bibleVersions.indexOf('_MORPH') > -1)) &&
(r[0])) // r[0] is a boolean for references with NT
hasNTMorph = true;
if (this.partRendered) {
Expand Down
2 changes: 1 addition & 1 deletion step-web/src/main/webapp/js/color_code_grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -1539,7 +1539,7 @@ var cf = {
currentPos += 6;
isOSHM = true;
}
else if ((bibleVersions.indexOf("ESV") > -1) || (bibleVersions.indexOf("NASB2020") > -1) || (bibleVersions.indexOf("CHIUN") > -1)) // ESV has not "TOS:" in morph code
else if ((bibleVersions.indexOf("ESV") > -1) || (bibleVersions.indexOf("NASB2020") > -1) || (bibleVersions.indexOf("CUN") > -1)) // ESV has not "TOS:" in morph code
currentPos += 1;
else
continue;
Expand Down

0 comments on commit 1819f40

Please sign in to comment.