Skip to content

Commit

Permalink
update 10 files
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Best-Codes committed Jul 23, 2024
1 parent 73e8b6a commit d453cd2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions dist/index.cjs
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
const bibleData = require("./data/bible.json");

let abbreviations, isValidBook, isValidChapter, isValidVerse;
let initializationPromise = null;

function initialize() {
if (!initializationPromise) {
initializationPromise = Promise.all([
import("./data/bible.json", { assert: { type: "json" } }),
import("./utils/abbreviations.js"),
import("./utils/validation.js")
]).then(([abbrModule, validationModule]) => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "best-bible",
"version": "1.2.4",
"version": "1.2.5",
"type": "module",
"description": "Fetch, parse, and analyze the Bible easily with JavaScript",
"scripts": {
Expand Down
2 changes: 0 additions & 2 deletions src/index.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
const bibleData = require("./data/bible.json");

let abbreviations, isValidBook, isValidChapter, isValidVerse;
let initializationPromise = null;

Expand Down

0 comments on commit d453cd2

Please sign in to comment.