Add JavaScript sentry

This commit is contained in:
Sebastian Serth
2020-03-05 10:30:57 +01:00
parent f2c45b2488
commit 74d99df070
10 changed files with 93 additions and 105 deletions

View File

@ -8,14 +8,16 @@
// layout file, like app/views/layouts/application.html.slim
// JS
import 'jquery'
import 'jquery';
import 'bootstrap/dist/js/bootstrap.bundle.min';
import 'chosen-js/chosen.jquery';
import 'jstree';
import 'underscore';
import 'd3'
import 'd3';
import '@sentry/browser';
window._ = _; // Publish underscore's `_` in global namespace
window.d3 = d3; // Publish d3 in global namespace
window.Sentry = Sentry; // Publish sentry in global namespace
// CSS
import 'chosen-js/chosen.css';