Skip to content

Commit

Permalink
Do not use lexicon json for new implementation to reduce implementati…
Browse files Browse the repository at this point in the history
…on of too many changes
  • Loading branch information
patricksptang committed Oct 29, 2023
1 parent c51e844 commit 99c6314
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions step-web/src/main/webapp/js/search_selection.js
Original file line number Diff line number Diff line change
@@ -1562,6 +1562,7 @@ step.searchSelect = {

getVocabInfoFromJson: function (strongNum, limitType) {
var vocabInfos = [];
return vocabInfos; // 23.10.6 installation to prevent getting of JSON. Will re-enable 2 weeks after implemenation
if (step.state.isLocal()) return vocabInfos;
$.ajaxSetup({async: false});
var strongWithoutAugment = strongNum;
1 change: 1 addition & 0 deletions step-web/src/main/webapp/js/step.util.js
Original file line number Diff line number Diff line change
@@ -3729,6 +3729,7 @@ step.util = {
},
getVocabMorphInfoFromJson: function (strong, morph, version) {
var resultJson = {vocabInfos: [], morphInfos: []};
return resultJson; // 23.10.6 installation to prevent getting of JSON. Will re-enable 2 weeks after implemenation
if (step.state.isLocal()) return resultJson; // There are no json files for the lexicon in the stand-alone version of STEP
var strongArray = strong.split(" ");
var processedStrong = [];

0 comments on commit 99c6314

Please sign in to comment.