Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-04-14 23:09:16 +0300
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-04-14 23:09:16 +0300
commit067361327bba0cb7a8b28190485699da7deb22bb (patch)
tree094f931acfe02f3cefaf454298b8b1a263f2a8b2 /app/assets/javascripts/raven/index.js
parent13b60eb75b99abb23f41c0d899d6e40eefa641cc (diff)
Updated units
Diffstat (limited to 'app/assets/javascripts/raven/index.js')
-rw-r--r--app/assets/javascripts/raven/index.js16
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();