This repository has been archived by the owner on Apr 15, 2023. It is now read-only.
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.
๋ฌธ์ ์
kw-service/klas-helper-extension#1
ํ์ฅ ํ๋ก๊ทธ๋จ์์ ์คํฌ๋ฆฝํธ๋ฅผ onload ์์ ๋ถ๋ฌ์ค๋๋ฐ,
main.js
๋ํ ์์์ ์ด onload ๋ผ์ ์ค๋ฅ๊ฐ ์๊น๋๋ค.ํด๊ฒฐ
onload๊ฐ ์๋๋ผ ์๋์ผ๋ก ์คํฌ๋ฆฝํธ๊ฐ ์คํํ๋๋ก ํ๋
main-ext.js
ํ์ผ์ ๋ง๋ค์์ต๋๋ค.onload ์์ ์คํฌ๋ฆฝํธ๋ฅผ ๋ชป ๋ถ๋ฌ์ค๋ ๊ฒฝ์ฐ์๋ ์ด ์คํฌ๋ฆฝํธ๋ฅผ ์๋์ผ๋ก ์์ํ๋ฉด ์ ์๋๋ฉ๋๋ค.
์๋ง ์ด ์คํฌ๋ฆฝํธ๋ก #52 ์ด์๋ ํด๊ฒฐํ ์ ์์๋ฏ ํ๋ค์.
๋ฆฌ๋ทฐ
์ฐ์
main-ext.js
๋ก ์คํฌ๋ฆฝํธ๋ฅผ ํ๋ ๋ ์์ฑํ๋๋ฐ, ๊ต์ฅํ ๋นํจ์จ์ ์ด์ง ์๋? ํ๋ ์๊ฐ์ด ๋ค๊ธด ํ๋ค์..ํน์๋ ์๊ฐํ์๋ ๋ฐฉํฅํ๊ณ ๊ฐ๋ฐ ๋งฅ๋ฝ์ด ๋ง์ง ์๋ ๋ถ๋ถ์ด ์์๊น ์ถ์ด Pull request๋ก ์์ฒญ ๋ถํ๋๋ ค๋ด ๋๋ค. ๋ฆฌ๋ทฐ ๋ถํ๋๋ฆฌ๊ฒ ์ต๋๋ค~