notification.js 391 B

12345678910111213141516171819202122
  1. 'use strict';
  2. function Notification(crowi) {
  3. this.crowi = crowi;
  4. this.config = crowi.getConfig();
  5. }
  6. Notification.prototype.hasSlackConfig = function() {
  7. if (!this.config.notification['slack']) {
  8. return false;
  9. }
  10. //var config = ;
  11. };
  12. Notification.prototype.noitfyByEmail = function() {
  13. };
  14. Notification.prototype.noitfyByChat = function() {
  15. };
  16. module.exports = Notification;