Skip to content

Commit

Permalink
Name Anomaly
Browse files Browse the repository at this point in the history
  • Loading branch information
claytoncarney committed Jan 16, 2021
1 parent 6138c0c commit 5b4e6c0
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 9 deletions.
2 changes: 1 addition & 1 deletion help/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ <h1>KJS</h1>
<p>ALL the power belongs to My King! The glory is all His.</p>
<p>"Heaven and earth shall pass away, but my words shall not pass away."</p>
<h1>Version</h1>
<p>2020.11.15</p>
<p>2021.01.16</p>
<h1>Contact</h1>
<p>Questions or comments?</p>
<a href="mailto:github.1john419@gmail.com?subject=KJS%20Feedback" target="_blank">Send email</a>
Expand Down
5 changes: 3 additions & 2 deletions help/name-mode.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ <h2>Scope</h2>
</div>
<h2>Limitations</h2>
<p>Name Mode only affects verse text in the Read pane.</p>
<p>The Search Lookup pane only searches the original KJV text. For example, you can not search for Yahweh, El, etc.</p>
<p>The Search Result pane uses the original KJV text.</p>
<p>The Strong Verse and Result panes, as well as word summaries in the Definition pane, use the KJV original text.</p>
<p>The Strong Verse and Result panes, as well as the Word Summary in the Strong Definition pane, use the original KJV text.</p>
<p>The Search Lookup pane only searches the original KJV text. For example, you can not search for Yahweh, El, etc.</p>
<p>To search for a name/epithet, use the corresponding Strong Number in the Strong Lookup pane, and refer to the Word Summary in the Strong Definition pane and/or the verses in the Strong Result pane.</p>
</div>
6 changes: 5 additions & 1 deletion js/View/ReadView.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ import {
import {
elElyon,
elShaddai,
nameSub
nameSub,
yahweh
} from '../data/name.js';
import {
templateElement,
Expand Down Expand Up @@ -318,6 +319,9 @@ class ReadView {
if (elShaddai.includes(verseIdx)) {
revised = revised.replaceAll('Shaddai El', 'El Shaddai');
}
if (yahweh.includes(verseIdx)) {
revised = revised.replaceAll('the Yahweh', 'Yahweh');
}
return revised;
}

Expand Down
2 changes: 2 additions & 0 deletions js/data/name.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,5 @@ export const nameSub = {
export const elElyon = [354, 355, 356, 358, 14770, 15148];

export const elShaddai = [398, 20638];

export const yahweh = [5110, 14389, 15510, 16173];
2 changes: 1 addition & 1 deletion js/data/strongDb.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const strongStores = {
};

const strongUrl = './json/strong.json';
const strongVersion = 4;
const strongVersion = 5;

export let strongCitations = {};
export let strongDb = null;
Expand Down
2 changes: 1 addition & 1 deletion json/strong.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ let appPrefix = 'kjs';

let appCaches = [
{
name: 'kjs-core-20201115.01',
name: 'kjs-core-20210116.01',
urls: [
'./',
'./bundle.js',
Expand Down Expand Up @@ -34,7 +34,7 @@ let appCaches = [
]
},
{
name: 'kjs-help-20201115.01',
name: 'kjs-help-20210116.01',
urls: [
'./help/about.html',
'./help/bookmark.html',
Expand All @@ -49,7 +49,7 @@ let appCaches = [
]
},
{
name: 'kjs-json-20200927.01',
name: 'kjs-json-20210116.01',
urls: [
'./json/strong.json',
'./json/tome.kjv.json'
Expand Down

0 comments on commit 5b4e6c0

Please sign in to comment.