Skip to content

Commit

Permalink
Minor Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
claytoncarney committed Nov 14, 2022
1 parent e140d3b commit e46a044
Show file tree
Hide file tree
Showing 45 changed files with 139 additions and 140 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/.gitignore
/.vscode
/ref
/test
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@ Dedicated to our precious Lord and Saviour Jesus Christ.

ALL the power belongs to My King! The glory is all His.


> **Heaven and earth shall pass away, but my words shall not pass away.**

***

The application supports Android, Linux, or Windows platforms with the latest version of a Chromium-based browser.
Expand All @@ -27,4 +25,4 @@ It should also support the latest version of the Safari browser, but has not bee

### Contact

`[email protected]`
`[email protected]`
64 changes: 32 additions & 32 deletions bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/pb.css → css/kjv.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ h3 {
}

hr {
border-color: var(--ui-base-fg);
border-top: 1px solid var(--ui-base-fg);
}

html {
Expand Down
2 changes: 1 addition & 1 deletion help/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h1>KJV</h1>
<blockquote><strong>Heaven and earth shall pass away, but my words shall not pass away.</strong></blockquote>
<hr>
<h1>Version</h1>
<p>2022.11.12</p>
<p>2022.11.14</p>
<h1>Contact</h1>
<p>[email protected]</p>
<h1>Source Code</h1>
Expand Down
1 change: 1 addition & 0 deletions help/bookmark.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ <h3>Expand Mode</h3>
</div>
</div>
<br>
<p>When Expand Mode is on, verse text for each bookmark is displayed</p>
<h2>Folder Pane</h2>
<p>The Folder pane displays the bookmark folder list.</p>
<p>Tap a folder name to set the Active Folder and open the List pane.</p>
Expand Down
2 changes: 1 addition & 1 deletion help/navigator.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ <h1>Navigator Window</h1>
<p>The Navigator window is the primary means to set the Active Chapter.</p>
<p>The Navigator Window has two task panes: Book and Chapter.</p>
<h2>Book Pane</h2>
<p>The Book pane displays the Bible book list.</p>
<p>The Book pane displays the KJV book list.</p>
<p>Books are divided into two groups: those given before the Cross of Jesus Christ (the Hebrew Texts) and those given after the Cross of Jesus Christ (the Greek Texts).</p>
<p>Book names are abbreviated to provide a compact format. The first three characters (excluding spaces) of the book name are used with following exceptions: JDG for Judges, SOL for Song of Solomon, and PHM for Philemon.</p>
<p>Tap a book name to set the Active Book. The Active Book is highlighted.</p>
Expand Down
2 changes: 1 addition & 1 deletion help/read.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="topic--read">
<h1>Read Window</h1>
<p>The Read window is used to read the chapters of the Bible.</p>
<p>The Read window is used to read the chapters of the KJV.</p>
<p>The Read window has a single task pane: Read.</p>
<h2>Read Pane</h2>
<p>The Read pane displays the verses of the Active Chapter.</p>
Expand Down
2 changes: 1 addition & 1 deletion help/search.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="topic--search">
<h1>Queries</h1>
<p>Queries allow you to search the Bible. Queries are performed on individual verses.</p>
<p>Queries allow you to search the KJV. Queries are performed on individual verses.</p>
<p>Two query types are available: Word Query or Phrase Query.</p>
<p>Word Queries are specified by a single word or a comma separated list of words. Query results will list all verses which contain all those words.</p>
<p>For example, "forgive,sin" will find all verses that contain both "forgive" and "sin".</p>
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<head>
<meta charset="utf-8">
<title>KJV</title>
<meta name="description" content="Offline King James Bible Search.">
<meta name="description" content="Offline King James Bible Search">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/png" href="/favicon.png">
<link rel="manifest" href="/manifest.json">
<link rel="stylesheet" href="/css/pb.css">
<link rel="stylesheet" href="/css/kjv.css">
</head>

<body>
Expand Down
4 changes: 1 addition & 3 deletions js/CommandQueue.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,4 @@ class CommandQueue {

}

let queue = new CommandQueue();

export default queue;
export let queue = new CommandQueue();
2 changes: 1 addition & 1 deletion js/Controller/BookmarkController.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import queue from '../CommandQueue.js';
import { queue } from '../CommandQueue.js';
import { chapterIdxByVerseIdx } from '../data/tomeDb.js';

class BookmarkController {
Expand Down
2 changes: 1 addition & 1 deletion js/Controller/HelpController.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import queue from '../CommandQueue.js';
import { queue } from '../CommandQueue.js';

class HelpController {

Expand Down
2 changes: 1 addition & 1 deletion js/Controller/NavigatorController.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import queue from '../CommandQueue.js';
import { queue } from '../CommandQueue.js';
import { tomeBooks } from '../data/tomeDb.js';
import {
bookFirstChapterIdx,
Expand Down
2 changes: 1 addition & 1 deletion js/Controller/ReadController.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import queue from '../CommandQueue.js';
import { queue } from '../CommandQueue.js';

const SIDEBAR_WIDTH = 320;

Expand Down
2 changes: 1 addition & 1 deletion js/Controller/SearchController.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import queue from '../CommandQueue.js';
import { queue } from '../CommandQueue.js';
import { chapterIdxByVerseIdx } from '../data/tomeDb.js';

class SearchController {
Expand Down
2 changes: 1 addition & 1 deletion js/Controller/SettingController.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import queue from '../CommandQueue.js';
import { queue } from '../CommandQueue.js';

class SettingController {

Expand Down
6 changes: 3 additions & 3 deletions js/Model/BookmarkModel.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
'use strict';

import queue from '../CommandQueue.js';
import { tomeName } from '../data/dbUtil.js';
import { queue } from '../CommandQueue.js';
import { appText } from '../data/language.js';
import {
tomeDb,
tomeVerseCount
tomeName,
tomeVerseCount,
} from '../data/tomeDb.js';

const numSortAscend = (a, b) => a - b;
Expand Down
2 changes: 1 addition & 1 deletion js/Model/HelpModel.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import queue from '../CommandQueue.js';
import { queue } from '../CommandQueue.js';

const validTasks = ['help-read', 'help-topic'];
const validTopics = ['about', 'bookmark', 'help', 'navigator', 'overview',
Expand Down
2 changes: 1 addition & 1 deletion js/Model/NavigatorModel.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import queue from '../CommandQueue.js';
import { queue } from '../CommandQueue.js';
import {
tomeChapters,
tomeDb
Expand Down
2 changes: 1 addition & 1 deletion js/Model/ReadModel.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import queue from '../CommandQueue.js';
import { queue } from '../CommandQueue.js';

class ReadModel {

Expand Down
2 changes: 1 addition & 1 deletion js/Model/SearchModel.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import queue from '../CommandQueue.js';
import { queue } from '../CommandQueue.js';
import { SearchEngine } from '../SearchEngine.js';
import { tomeBinVerses } from '../data/binIdx.js';
import { appText, defaultQuery } from '../data/language.js';
Expand Down
2 changes: 1 addition & 1 deletion js/Model/SettingModel.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import queue from '../CommandQueue.js';
import { queue } from '../CommandQueue.js';
import { appText } from '../data/language.js';

const validFontSizes = ['font-size--s', 'font-size--m', 'font-size--l',
Expand Down
4 changes: 2 additions & 2 deletions js/View/BookmarkExportView.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
'use strict';

import queue from '../CommandQueue.js';
import { queue } from '../CommandQueue.js';
import {
templateDivDialog,
templatePage,
templateScroll,
templateToolbarLower,
templateToolbarUpper
} from '../template.js';
import { tomeName } from '../data/dbUtil.js';
import { tomeName } from '../data/tomeDb.js';
import { appText } from '../data/language.js'

const dialogToolset = [
Expand Down
2 changes: 1 addition & 1 deletion js/View/BookmarkFolderAddView.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import queue from '../CommandQueue.js';
import { queue } from '../CommandQueue.js';
import {
templateDivDialog,
templateElement,
Expand Down
2 changes: 1 addition & 1 deletion js/View/BookmarkFolderDeleteView.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import queue from '../CommandQueue.js';
import { queue } from '../CommandQueue.js';
import {
templateDivDialog,
templatePage,
Expand Down
2 changes: 1 addition & 1 deletion js/View/BookmarkFolderRenameView.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import queue from '../CommandQueue.js';
import { queue } from '../CommandQueue.js';
import {
templateDivDialog,
templateElement,
Expand Down
2 changes: 1 addition & 1 deletion js/View/BookmarkFolderView.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import queue from '../CommandQueue.js';
import { queue } from '../CommandQueue.js';
import {
templateActionMenu,
templateElement,
Expand Down
2 changes: 1 addition & 1 deletion js/View/BookmarkImportView.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import queue from '../CommandQueue.js';
import { queue } from '../CommandQueue.js';
import {
templateElement,
templateDivDialog,
Expand Down
2 changes: 1 addition & 1 deletion js/View/BookmarkListView.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import queue from '../CommandQueue.js';
import { queue } from '../CommandQueue.js';
import {
templateActionMenu,
templateAcrostic,
Expand Down
2 changes: 1 addition & 1 deletion js/View/BookmarkMoveCopyView.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import queue from '../CommandQueue.js';
import { queue } from '../CommandQueue.js';
import {
templateActionMenu,
templateBtnIcon,
Expand Down
2 changes: 1 addition & 1 deletion js/View/HelpReadView.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import queue from '../CommandQueue.js';
import { queue } from '../CommandQueue.js';
import { helpTopicList } from './HelpTopicView.js';
import {
templatePage,
Expand Down
2 changes: 1 addition & 1 deletion js/View/HelpTopicView.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import queue from '../CommandQueue.js';
import { queue } from '../CommandQueue.js';
import {
templateElement,
templatePage,
Expand Down
2 changes: 1 addition & 1 deletion js/View/NavigatorBookView.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import queue from '../CommandQueue.js';
import { queue } from '../CommandQueue.js';
import {
templateElement,
templatePage,
Expand Down
2 changes: 1 addition & 1 deletion js/View/NavigatorChapterView.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import queue from '../CommandQueue.js';
import { queue } from '../CommandQueue.js';
import {
templateElement,
templatePage,
Expand Down
2 changes: 1 addition & 1 deletion js/View/ReadView.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import queue from '../CommandQueue.js';
import { queue } from '../CommandQueue.js';
import {
templateAcrostic,
templateElement,
Expand Down
8 changes: 4 additions & 4 deletions js/View/SearchFilterView.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import queue from '../CommandQueue.js';
import { queue } from '../CommandQueue.js';
import {
templateBtnIcon,
templateElement,
Expand All @@ -24,15 +24,15 @@ import {
tomeBinVerseCount,
tomeBinWordCount
} from '../data/binIdx.js';
import { tomeName } from '../data/dbUtil.js';
import { appText } from '../data/language.js';
import {
tomeBooks,
tomeChapters,
tomeBooks
tomeName,
} from '../data/tomeDb.js';
import {
bookLongName,
chapterName
chapterName,
} from '../data/tomeIdx.js';

const lowerToolSet = [
Expand Down
2 changes: 1 addition & 1 deletion js/View/SearchHistoryView.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import queue from '../CommandQueue.js';
import { queue } from '../CommandQueue.js';
import {
templateBtnIcon,
templateElement,
Expand Down
2 changes: 1 addition & 1 deletion js/View/SearchLookupView.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import queue from '../CommandQueue.js';
import { queue } from '../CommandQueue.js';
import {
templateDivDialog,
templateElement,
Expand Down
4 changes: 2 additions & 2 deletions js/View/SearchResultView.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import queue from '../CommandQueue.js';
import { queue } from '../CommandQueue.js';
import {
templateAcrostic,
templateElement,
Expand All @@ -25,11 +25,11 @@ import {
tomeBinVerses,
tomeBinWordCount
} from '../data/binIdx.js';
import { tomeName } from '../data/dbUtil.js';
import { appText } from '../data/language.js';
import {
tomeBooks,
tomeChapters,
tomeName,
} from '../data/tomeDb.js';
import {
bookLongName,
Expand Down
2 changes: 1 addition & 1 deletion js/View/SettingView.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import queue from '../CommandQueue.js';
import { queue } from '../CommandQueue.js';
import {
templateBtnIcon,
templateElement,
Expand Down
Loading

0 comments on commit e46a044

Please sign in to comment.