Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
patricksptang committed Jul 16, 2024
1 parent 3fed905 commit d8d2686
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions step-web/src/main/webapp/js/step.util.js
Original file line number Diff line number Diff line change
Expand Up @@ -4019,7 +4019,7 @@ step.util = {
var morphLowerCase = currentMorph.toLowerCase();
if ((morphLowerCase.indexOf("strongsmorph:") > -1) || (morphLowerCase.indexOf("strongmorph:") > -1) || (morphLowerCase.indexOf("tos:") > -1)) {
resultJson.morphInfos = [];
callProcessQuickInfo(resultJson, callBack1Param);
callProcessQuickInfo(step.util.cleanVocabResult(resultJson), callBack1Param);
return;
}
var pos = morphLowerCase.search("robinson:"); // need to check to see if this is still used
Expand Down Expand Up @@ -4050,7 +4050,7 @@ step.util = {
numOfMorphResponse ++;
resultJson.morphInfos[indexToUniqueMorphArry] = jsonVar.morphInfos[0];
if (numOfMorphResponse == morphArray.length)
callProcessQuickInfo(resultJson, callBack1Param);
callProcessQuickInfo(step.util.cleanVocabResult(resultJson), callBack1Param);
}).error(function() {
console.log("getJSon failed strong:"+ strong + " morph: " + currentMorph + " version: " + version);
if (numOfMorphResponse < 0) return; // already processed error from $getjson of /html/lexicon ...
Expand All @@ -4060,7 +4060,7 @@ step.util = {
}
}
else
callProcessQuickInfo(resultJson, callBack1Param);
callProcessQuickInfo(step.util.cleanVocabResult(resultJson), callBack1Param);
}
}).error(function() {
if (numOfResponse < 0) return; // already processed error from $getjson of /html/lexicon ...
Expand All @@ -4070,6 +4070,9 @@ step.util = {
});
}
},
cleanVocabResult: function (resultJson) {
return resultJson;
},
bookOrderInBible: function (reference) {
var idx2osisChapterJsword = {
"gen": 0,
Expand Down

0 comments on commit d8d2686

Please sign in to comment.