[뮤테이션 옵저버·서버 전송 이벤트] 리뷰 반영#1902
Merged
Merged
Conversation
- Prism.highlightElem을 실제 API 이름인 Prism.highlightElement로 통일 - forEach에 메서드 참조 대신 화살표 함수로 요소만 전달하도록 수정 - mutationRecords 예시의 누락된 쉼표 추가 - '한번'을 '한 번'으로 띄어 쓰고 '다시 열 방법'을 서술형으로 수정 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MizgRqMWEBSTYhJ9YhSd2g
There was a problem hiding this comment.
Pull request overview
Mutation Observer 및 Server-Sent Events 번역 문서에서 기존 리뷰 코멘트를 반영해 표기/맞춤법을 정리하고, 예시 코드의 API 호출 및 문장 표현을 개선하는 PR입니다.
Changes:
- Mutation Observer 문서에서 Prism.js API 표기를
Prism.highlightElement로 통일하고,forEach콜백 전달 방식을 안전하게 수정했습니다. - Mutation records 예시에서 누락된 쉼표를 보완해 예시 구조를 더 명확하게 했습니다.
- Server-Sent Events 문서에서 띄어쓰기 및 문장 표현(‘다시 열’ → ‘다시 여는 방법’)을 자연스럽게 다듬었습니다.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| 5-network/12-server-sent-events/article.md | 스마트 블록 문장 표현/띄어쓰기를 교정해 번역 품질을 개선 |
| 2-ui/99-ui-misc/01-mutation-observer/article.md | Prism.js API 명칭 정정 및 forEach 콜백 전달 방식 수정, 예시 데이터 쉼표 보완 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
요약
#1900(뮤테이션 옵저버)과 #1899(서버 전송 이벤트)에 달린 리뷰 코멘트를 반영합니다.
뮤테이션 옵저버(#1900 리뷰 반영)
Prism.highlightElem을 실제 Prism.js API 이름인Prism.highlightElement로 통일했습니다. 본문 뒤쪽 데모 코드와도 표기가 일치합니다. 조사도 발음에 맞춰 '을'에서 '를'로 고쳤습니다.forEach(Prism.highlightElement)처럼 메서드 참조를 직접 넘기면forEach의 (element, index, array) 인수가highlightElement(element, async, callback)시그니처와 섞이므로 화살표 함수로 요소만 전달하도록 바꿨습니다.mutationRecords예시에서 누락된 쉼표를 추가했습니다.참고로 위 세 가지는 영어 원문에도 동일하게 있는 문제라 번역본이 원문과 일부 달라집니다.
서버 전송 이벤트(#1899 리뷰 반영)
연관 이슈
🤖 Generated with Claude Code
https://claude.ai/code/session_01MizgRqMWEBSTYhJ9YhSd2g