Akira
Akira
The contents of `atom-text-editor` elements are no longer encapsulated within a shadow DOM boundary. Please, stop using `shadowRoot` and access the editor contents directly instead. ``` HTMLElement.shadowRoot (C:\Users\Akira\AppData\Local\atom\app-1.19.0\resources\app\src\text-editor-element.js:13:10) HTMLElement.copyWithSyntax (C:\Users\Akira\.atom\packages\copy-with-syntax\lib\copy-with-syntax.js:9:31)...
- `send-notification.js` 这个文件主要根据repo 里面 `./utilities/send-mail.js` 和 `cloud.js` 里面提取出来改造成一个专门给crontab 做定时任务发送通知邮件用的。因为这个文件单独执行所以,没有原`Comment`表的更新权限,所以这里单独将发送通知记录到一张新的`Notifications`表。 - `./routes/comment.js `这文件里面增加了 `updateCommentByNotifications` 方法,因为这里是管理员登录后台了,有权限更新`Comment`表了。为了不影响其他模块的,所以这里就会根据`Notifications`表的发送记录,把`Comment`表的`isNotified`更新为`true`。