mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-25 16:29:49 -04:00
Merge
This commit is contained in:
commit
0ad2f1bf41
@ -1,7 +1,7 @@
|
|||||||
//
|
// This code was written by Jeremy and Jason Wall.
|
||||||
// This code was written by Jason Wall. Feel free to use, and if you can, include a link back to www.walljm.com
|
// Feel free to use, and if you can, include a link back to www.walljm.com
|
||||||
// Jason@walljm.com // www.walljm.com
|
// Jason@walljm.com // www.walljm.com
|
||||||
//
|
// Jeremy@marzhillstudios.com // jeremy.marzhillstudios.com
|
||||||
|
|
||||||
String.prototype.trim = function() {
|
String.prototype.trim = function() {
|
||||||
return this.replace(/^\s+|\s+$/g, "");
|
return this.replace(/^\s+|\s+$/g, "");
|
||||||
@ -645,3 +645,14 @@ function bookName(booknum) {
|
|||||||
|
|
||||||
return book[booknum];
|
return book[booknum];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference.prototype.toString = function() {
|
||||||
|
var ref = this.bookname.concat(" ").
|
||||||
|
concat(this.startchapter).concat(":").
|
||||||
|
concat(this.startverse);
|
||||||
|
if (this.startchapter == this.endchapter) {
|
||||||
|
return ref.concat("-").concat(this.endverse);
|
||||||
|
}
|
||||||
|
return ref.concat("-").concat(this.endchapter)
|
||||||
|
.concat(":").concat(this.endverse);
|
||||||
|
};
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
|||||||
//
|
// This code was written by Jeremy and Jason Wall.
|
||||||
// This code was written by Jason Wall. Feel free to use, and if you can, include a link back to www.walljm.com
|
// Feel free to use, and if you can, include a link back to www.walljm.com
|
||||||
// Jason@walljm.com // www.walljm.com
|
// Jason@walljm.com // www.walljm.com
|
||||||
//
|
// Jeremy@marzhillstudios.com // jeremy.marzhillstudios.com
|
||||||
|
|
||||||
String.prototype.trim = function() {
|
String.prototype.trim = function() {
|
||||||
return this.replace(/^\s+|\s+$/g, "");
|
return this.replace(/^\s+|\s+$/g, "");
|
||||||
@ -645,3 +645,14 @@ function bookName(booknum) {
|
|||||||
|
|
||||||
return book[booknum];
|
return book[booknum];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference.prototype.toString = function() {
|
||||||
|
var ref = this.bookname.concat(" ").
|
||||||
|
concat(this.startchapter).concat(":").
|
||||||
|
concat(this.startverse);
|
||||||
|
if (this.startchapter == this.endchapter) {
|
||||||
|
return ref.concat("-").concat(this.endverse);
|
||||||
|
}
|
||||||
|
return ref.concat("-").concat(this.endchapter)
|
||||||
|
.concat(":").concat(this.endverse);
|
||||||
|
};
|
||||||
|
1069
js/common.js
1069
js/common.js
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user