21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-05-15 23:18:39 +02:00
chexpire/app/frontend/packs/application.js

26 lines
840 B
JavaScript
Raw Normal View History

2018-05-23 11:55:13 +02:00
/* eslint no-console:0 */
// This file is automatically compiled by Webpack, along with any other files
// present in this directory. You're encouraged to place your actual application logic in
// a relevant structure within app/javascript and only use these pack files to reference
// that code so it'll be compiled.
//
// To reference this file, add <%= javascript_pack_tag 'application' %> to the appropriate
// layout file, like app/views/layouts/application.html.erb
2018-05-23 17:58:50 +02:00
import Rails from 'rails-ujs';
2018-07-03 19:46:51 +02:00
import Turbolinks from 'turbolinks';
2018-05-23 17:58:50 +02:00
import 'bootstrap/js/dist/collapse';
import 'bootstrap/js/dist/dropdown';
2018-07-04 12:33:50 +02:00
import 'bootstrap/js/dist/button';
2018-07-04 19:05:52 +02:00
import 'bootstrap/js/dist/tooltip';
import '../scss';
2018-05-23 17:58:50 +02:00
Rails.start()
2018-07-03 19:46:51 +02:00
Turbolinks.start()
2018-07-04 19:05:52 +02:00
document.addEventListener("turbolinks:load", () => {
$('[data-toggle="tooltip"]').tooltip();
});