mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-25 00:09:54 -04:00
- removed console references
- fixed error message handling - updated index.html to point to the correct files
This commit is contained in:
parent
a59e67aba9
commit
6d74b54db1
File diff suppressed because one or more lines are too long
@ -212,14 +212,13 @@ var Util = {
|
||||
HandleError: function(e) {
|
||||
// for now we're going to put the error in the main result div.
|
||||
var t = $("<div class='strongsdef result'><a href='javascript:void();' class='removeresult' style='border: 0;'><img style='border: 0px;' src='images/delete.png' width='48' height='48' /></a><span class='resultbody'>" + e + "</span><br clear='all' /></div>");
|
||||
|
||||
$("#result").prepend(t);
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
var Bible = {
|
||||
DisplayPassage: function(cs, ref, testament) {
|
||||
console.log(ref.toSource());
|
||||
try {
|
||||
var r = "";
|
||||
// make the end verse pretty.
|
||||
|
@ -14,7 +14,7 @@
|
||||
<script type="text/javascript" src="js/jquery-1.8.2.min.js"></script>
|
||||
<script type="text/javascript" src="js/jquery.cookie.js"></script>
|
||||
<script type="text/javascript" src="js/jquery-ui-1.9.1.custom.min.js"></script>
|
||||
<script type="text/javascript" src="js/bible_ref_parsing.min.js"></script>
|
||||
<script type="text/javascript" src="js/bible_ref_parsing.js"></script>
|
||||
<script type="text/javascript" src="js/common.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function()
|
||||
|
1
js/bible_ref_parsing.min.js
vendored
1
js/bible_ref_parsing.min.js
vendored
File diff suppressed because one or more lines are too long
@ -212,14 +212,13 @@ var Util = {
|
||||
HandleError: function(e) {
|
||||
// for now we're going to put the error in the main result div.
|
||||
var t = $("<div class='strongsdef result'><a href='javascript:void();' class='removeresult' style='border: 0;'><img style='border: 0px;' src='images/delete.png' width='48' height='48' /></a><span class='resultbody'>" + e + "</span><br clear='all' /></div>");
|
||||
|
||||
$("#result").prepend(t);
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
var Bible = {
|
||||
DisplayPassage: function(cs, ref, testament) {
|
||||
console.log(ref.toSource());
|
||||
try {
|
||||
var r = "";
|
||||
// make the end verse pretty.
|
||||
|
Loading…
x
Reference in New Issue
Block a user