- index.js:73 Не вызван handler
- index.js:105 Не вызван handler
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
<style> | |
p { font-size: 24px; } | |
</style> | |
</head> | |
<body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
</head> | |
<body> | |
<form action=""> | |
<input type="text" name="token"> | |
<button>Connect</button> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const reset = (r) => {r.setVal(0)} | |
function reset(r) {r.setVal(0)} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
isQuestionEditingDisabled(state) { | |
const isEditable = editableQuestionStates.includes( | |
state.wrapper.status | |
); | |
return !isEditable; | |
} |
- index.js:90
Нужно добавить вызов handler, чтобы исправленный тест отрабатывал.
Та же история с
CheckboxInput#subscribe
- index.js:72 Лишняя строчка
- index.js:107
Имя переменной при создании
lebel
, при использованииlabel
. - index.js:109
Объект с именем
div
не был создан.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const context = ['sin', 'cos', 'exp'] | |
.map((name) => ('const ' + name + ' = Math.' + name + '; ')) | |
.join(''); | |
export const buildFunction = (fn: string): (x: number) => number => { | |
const fullFn = '(x) => { ' + context + ' return (' + fn + '); }'; | |
return eval(fullFn); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
onInput={() => | |
setGroupState({ | |
...state, | |
mentorsGroupName: groupNameRef.current?.value || '', | |
}) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PostAnswerVerificationAndRemoveFiles: build.mutation<unknown, AnswerCheckAndRemoveFilesPayload>({ | |
async queryFn(payload, _queryApi, _extraOptions, fetchWithBQ) { | |
const checkPayload: AnswerCheckPayload = { | |
playerId: payload.playerId, | |
nodeId: payload.nodeId, | |
answerStatus: payload.answerStatus, | |
mentorsComment: payload.mentorsComment | |
}; | |
const reviewResult = await fetchWithBQ({ |