I made some edits to the spell checker code, eliminated the .toLowerCase() from the personal dictionary check and included an || operator in the regular checkDictionary, like so:
function isSpelledRight(word){
if ( !isWord(word) )
return true;
else if ( checkPersonalDictionary(word) )
return true;
else if (checkDictionary(word.toLowerCase()) || checkDictionary(word))
return true;
else
return false;
}
The problem has not been solved, the test that detects "Juan" as correct after adding it still flags wrong.
I made some edits to the spell checker code, eliminated the .toLowerCase() from the personal dictionary check and included an || operator in the regular checkDictionary, like so:
function isSpelledRight(word){ if ( !isWord(word) ) return true; else if ( checkPersonalDictionary(word) ) return true; else if (checkDictionary(word.toLowerCase()) || checkDictionary(word)) return true; else return false; }
The problem has not been solved, the test that detects "Juan" as correct after adding it still flags wrong.