notification.js 392 B

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