Skip to content

Conversation

@syusui-s
Copy link
Owner

@syusui-s syusui-s commented Jun 2, 2018

Fix #7

@syusui-s syusui-s self-assigned this Jun 2, 2018

if (notificationService.notSupported()) {
window.console.error('Notification がサポートされていません');
window.alert('ブラウザが通知機能にされていません');
Copy link
Owner Author

Choose a reason for hiding this comment

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

が搭載されていません

*/
constructor(title, iconUrl, body) {
Object.assign(this, { title, iconUrl, body });
constructor(title, iconUrl, body, source) {
Copy link
Owner Author

Choose a reason for hiding this comment

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

ソースの部分をどう提示するかはファクトリに任せたい

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants