Skip to content

Commit

Permalink
Excuse me?
Browse files Browse the repository at this point in the history
  • Loading branch information
SkyEye-FAST committed Jul 12, 2024
1 parent efae8c7 commit d8b950a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions static/js/quiz.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ $(document).ready(function () {
const currentKey = questionKeys[currentQuestionIndex];
const { source, translation } = questionsData[currentKey];

console.log("当前题目索引:", currentQuestionIndex);
console.log("当前键名:", currentKey);
Sentry.captureMessage(`Quiz, ${currentQuestionIndex}`);

const translationSegments = [...new Intl.Segmenter().segment(translation)].map(segment => segment.segment);
const translationLength = translationSegments.length;

Expand Down

0 comments on commit d8b950a

Please sign in to comment.