22 lignes
633 B
JavaScript
22 lignes
633 B
JavaScript
// eslint-disable-next-line no-undef,camelcase
|
|
__webpack_public_path__ = window.STATIC_URL || '/';
|
|
|
|
import $ from 'jquery';
|
|
|
|
import './vendor/bootstrap';
|
|
|
|
// Export jQuery for external usage
|
|
window.jQuery = window.$ = $; // eslint-disable-line no-multi-assign
|
|
|
|
// -----------------------------------------------------------------------------
|
|
// Main application
|
|
// -----------------------------------------------------------------------------
|
|
|
|
$(() => {
|
|
$('.no-js').removeClass('no-js');
|
|
|
|
// Initialize Popover and Tooltip on the whole page
|
|
$('[data-toggle="popover"]').popover();
|
|
$('[data-toggle="tooltip"]').tooltip();
|
|
});
|