diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-04-14 23:09:16 +0300 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-04-14 23:09:16 +0300 |
commit | 067361327bba0cb7a8b28190485699da7deb22bb (patch) | |
tree | 094f931acfe02f3cefaf454298b8b1a263f2a8b2 /app/assets/javascripts/raven/index.js | |
parent | 13b60eb75b99abb23f41c0d899d6e40eefa641cc (diff) |
Updated units
Diffstat (limited to 'app/assets/javascripts/raven/index.js')
-rw-r--r-- | app/assets/javascripts/raven/index.js | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/app/assets/javascripts/raven/index.js b/app/assets/javascripts/raven/index.js index 373f9f29c79..3c5656040b9 100644 --- a/app/assets/javascripts/raven/index.js +++ b/app/assets/javascripts/raven/index.js @@ -1,11 +1,15 @@ import RavenConfig from './raven_config'; -const index = RavenConfig.init.bind(RavenConfig, { - sentryDsn: gon.sentry_dsn, - currentUserId: gon.current_user_id, - whitelistUrls: [gon.gitlab_url], - isProduction: gon.is_production, -}); +const index = function index() { + RavenConfig.init({ + sentryDsn: gon.sentry_dsn, + currentUserId: gon.current_user_id, + whitelistUrls: [gon.gitlab_url], + isProduction: gon.is_production, + }); + + return RavenConfig; +}; index(); |