Utente:Samuele Papa/common.js: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
mNessun oggetto della modifica |
mNessun oggetto della modifica |
||
Riga 134:
var output = ""
for(var a in list){
output +="<ref>"▼
//edge cases
if(list[a] == "")
continue;
▲ output +="<ref>"
var caps = list[a].split(';');
//in the [0] there will always be the book, needs to be
Riga 170:
console.log(versetti)
for(var j in versetti){
curVersetto = versetti[j].match(/[0-9]+/);▼
if(j>0){
if(curVersetto == null){
curVersetto = versetti[j].match(/[a-zA-z]+/)
}
}
▲ curVersetto = versetti[j].match(/[0-9]+/);
//output += "{{Biblink|" + curBook + "|" + curCap + "|" + curVersetto + "}}";
if(j>0 && i>0){
|