- removed console references

- fixed error message handling
 - updated index.html to point to the correct files
This commit is contained in:
walljm 2013-04-15 15:10:03 -04:00
parent a59e67aba9
commit 6d74b54db1
5 changed files with 3 additions and 7 deletions

File diff suppressed because one or more lines are too long

View File

@ -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.

View File

@ -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()

File diff suppressed because one or more lines are too long

View File

@ -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.