Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
Latest commit
176 lines (167 loc) · 6.84 KB
/
Copy pathindex.html
File metadata and controls
176 lines (167 loc) · 6.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<!DOCTYPE HTML>
<html>
<head>
<scripttype="text/javascript">
varhost="javascripture.org";
if((host==window.location.host)&&(window.location.protocol!="https:"))
window.location.protocol="https";
</script>
<!-- Favicon code -->
<linkrel="apple-touch-icon" sizes="57x57" href="/apple-icon-57x57.png">
<linkrel="apple-touch-icon" sizes="60x60" href="/apple-icon-60x60.png">
<linkrel="apple-touch-icon" sizes="72x72" href="/apple-icon-72x72.png">
<linkrel="apple-touch-icon" sizes="76x76" href="/apple-icon-76x76.png">
<linkrel="apple-touch-icon" sizes="114x114" href="/apple-icon-114x114.png">
<linkrel="apple-touch-icon" sizes="120x120" href="/apple-icon-120x120.png">
<linkrel="apple-touch-icon" sizes="144x144" href="/apple-icon-144x144.png">
<linkrel="apple-touch-icon" sizes="152x152" href="/apple-icon-152x152.png">
<linkrel="apple-touch-icon" sizes="180x180" href="/apple-icon-180x180.png">
<linkrel="icon" type="image/png" sizes="192x192" href="/android-icon-192x192.png">
<linkrel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<linkrel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png">
<linkrel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<linkrel="manifest" href="/manifest.json">
<metaname="msapplication-TileColor" content="#ffffff">
<metaname="msapplication-TileImage" content="/ms-icon-144x144.png">
<metaname="theme-color" content="#ffffff">
<!-- End favicon code -->
<metaname="viewport" content="width=device-width, initial-scale=1">
<metahttp-equiv="Content-Type" content="text/html; charset=utf-8">
<metaname="google" content="notranslate" />
<linkrel="canonical" href="https://javascripture.org" />
<linkrel="manifest" href="/manifest.json">
<title>Javascripture</title>
<linkrel="stylesheet" href="css/layout.css" />
</head>
<body>
<divclass="errors">
<divid="loading" class="loading">Loading...</div>
<br/><br/>
<p>If you can see this, something probably went wrong. <ahref="/clear.html">Clear settings and start over</a>, <ahref="https://ben.blog/contact/">Email me</a> or use <ahref="https://javascripture.xyz">an older stable version</a>.</p>
</div>
<divid="content">
<divclass="full-page">
<divid="holder" class="content">
<divclass="logo">
<imgsrc="/javascripture.svg" width="179" height="186">
<divclass="intro">
<h1>Javascripture</h1>
<p>JavaScripture is a tool to help you understand the bible better.</p>
<script>
if(localStorage){
document.write('<p class="installation-info">Once the scripts have loaded, they will be cached, so the app will work offline.</p>');
}
</script>
</div>
</div>
<divclass="loading">
<divclass="loading-bar" id="loadingJavascripture">
Loading…
</div>
</div>
<divclass="features">
<p>Having problems? <ahref="http://scruffian.wordpress.com/contact/">Email me</a>, <ahref="/clear.html">Clear settings and start over</a> or use <ahref="https://javascripture.xyz">an older stable version</a>.</p>
</div>
</div>
</div>
</div>
</div>
</body>
<script>
varjavascripture={
data: {},
reactHelpers: {},
};
// so we can import npm modules directly
varmodule={};
varworker=newWorker('workers/worker.js');
varloadingDiv=document.getElementById('loadingJavascripture');
varloadingStatus=function(resource,percentage){
loadingDiv.innerHTML='Loading '+resource;
loadingDiv.style.width=percentage+'%';
};
</script>
<!-- libs -->
<script>loadingStatus('Libraries',10);</script>
<scriptsrc="lib/MorphCodes.js"></script>
<scriptsrc="lib/MorphParse.js"></script>
<script>loadingStatus('data',20);</script>
<scriptsrc="data/bible.js"></script>
<script>loadingStatus('Dictonary',23);</script>
<scriptsrc="data/strongs-dictionary.js"></script>
<script>loadingStatus('Greek dictonary',26);</script>
<scriptsrc="data/strongs-greek-dictionary.js"></script>
<scriptsrc="data/extra-dictionary.js"></script>
<script>loadingStatus('KJV',30);</script>
<scriptsrc="data/KJV.js"></script>
<script>javascripture.data.kjv=KJV.books</script>
<script>loadingStatus('Hebrew',50);</script>
<scriptsrc="data/morphhb.js"></script>
<script>javascripture.data.hebrew=morphhb</script>
<script>loadingStatus('Greek',60);</script>
<scriptsrc="data/tischendorf.js"></script>
<script>javascripture.data.greek=tischendorf</script>
<script>loadingStatus('Strongs',70);</script>
<scriptsrc="data/strongsObjectWithFamilies2.js"></script>
<script>loadingStatus('cross references',80);</script>
<scriptsrc="data/crossReferences.js"></script>
<script>loadingStatus('Literal Consistent',90);</script>
<scriptsrc="data/literalConsistent.js"></script>
<scriptsrc="data/lemmas.js"></script>
<scriptsrc="data/literalConsistentExtra.js"></script>
<script>loadingStatus('interface',95);</script>
<scriptsrc="build/bundle.js"></script>
<script>
// Handler for messages coming from the service worker
constchannel=newBroadcastChannel('sw-messages');
channel.addEventListener('message',event=>{
javascripture.sw=event.data;
});
if('serviceWorker'innavigator){
navigator.serviceWorker
.register('/sw.js',{updateViaCache: 'imports'})
.then(function(reg){
console.log("Service Worker Registered",reg);
});
// Handler for messages coming from the service worker
navigator.serviceWorker.addEventListener('message',function(event){
// Send to react
javascripture.sw=event.data;
});
}
// Attach web workers
worker.addEventListener('message',function(e){
if(e.data.task==='search'){
javascripture.reactHelpers.dispatch({
terms: e.data.parameters,
results: e.data.result,
type: 'ADD_SEARCH_RESULTS',
});
}
if(e.data.task==='loading'){
document.getElementById('loading').innerHTML=e.data.html;
}
},false);
// Check if a new cache is available on page load.
/*worker.addEventListener('load', function(e) {
window.applicationCache.addEventListener('updateready', function(e) {
if (window.applicationCache.status == window.applicationCache.UPDATEREADY) {
// Browser downloaded a new app cache.
localStorage.clear();
var r = confirm( 'A new version of JavaScripture is available. Press OK to reload and use it.' );
if ( r == true ) {
window.location.reload();
}
}
}, false);
}, false);*/
</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*newDate();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create','UA-51039438-1','javascripture.org');
ga('send','pageview');
</script>
</html>