Skip to content
This repository was archived by the owner on Apr 6, 2020. It is now read-only.

Conversation

sohee-lee7
Copy link
Contributor

@sohee-lee7 sohee-lee7 commented Mar 25, 2019

Please check if the PR fulfills these requirements

  • It's the right issue type on the title
  • When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes/features)
  • Docs have been added/updated (for bug fixes/features)
  • It does not introduce a breaking change or has a description of the breaking change

Description


Thank you for your contribution to TOAST UI product. 🎉 😘 ✨

@sohee-lee7 sohee-lee7 changed the title fix: missing exts option of the Viewer (close: #16) fix: missing exts option and invoke method in the Viewer (close: #16) Mar 25, 2019
'y.max: 40',
'y.suffix: $',
'```'
].join('\n');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

템플릿 리터럴을 사용할 순 없을까요?
개별 라인을 문자열로 처리하니까 작성하기도 어렵고 가독성도 썩 좋지 않은 것 같아서요.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

머지가 되고 나니 갑자기 드는 생각인데..
그냥 마크다운 파일로 저장하고, raw-loader 로 읽어와도 될 것 같습니다 ㅎ

'@change="onChange"',
'@stateChange="onStateChange"',
'/>'
].join(' '),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

여기 템플릿도 스트링 리터럴을 사용하면 좋을 것 같아요. 인덴트가 크게 중요하진 않으니까요.
만약 신경쓰인다면 common-tags의 stripIndent 같은 거 사용해도 되구요.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

넵 변경하겠습니다. 감사합니다.

Copy link

@dongwoo-kim dongwoo-kim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[3/27] 리뷰 완료했습니다. 고생하셨어요 :)

@sohee-lee7 sohee-lee7 merged commit 222f287 into master Mar 27, 2019
@sohee-lee7 sohee-lee7 deleted the fix/viewer-ext branch March 27, 2019 07:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

How can I use exts with Viewer?

2 participants