diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-05-26 16:47:34 +0100 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-05-26 16:48:19 +0100 |
commit | 870005c432be685434e3435f53ebe69371475e62 (patch) | |
tree | 3321f3cd01c1d8ba2b46a520ff4ff2eff2484e32 /app/assets/javascripts/lib/utils/notify.js | |
parent | 71d03e7e18827e811a3995925de37e080c3e9723 (diff) | |
download | gitlab-ce-870005c432be685434e3435f53ebe69371475e62.tar.gz |
Added specs for handleNotifications in mr_widget_options_spec.js
Diffstat (limited to 'app/assets/javascripts/lib/utils/notify.js')
-rw-r--r-- | app/assets/javascripts/lib/utils/notify.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app/assets/javascripts/lib/utils/notify.js b/app/assets/javascripts/lib/utils/notify.js index 2aa1bb00093..973d6119158 100644 --- a/app/assets/javascripts/lib/utils/notify.js +++ b/app/assets/javascripts/lib/utils/notify.js @@ -39,4 +39,10 @@ function notifyMe(message, body, icon, onclick) { } } -export { notifyMe as default, notifyPermissions, notificationGranted }; +const notify = { + notificationGranted, + notifyPermissions, + notifyMe, +}; + +export default notify; |