mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-02 10:22:09 +00:00
Make code default for React things.
This commit is contained in:
11
resources/js/bootstrap.js
vendored
11
resources/js/bootstrap.js
vendored
@@ -1,4 +1,3 @@
|
||||
|
||||
/*
|
||||
* bootstrap.js
|
||||
* Copyright (c) 2018 thegrumpydictator@gmail.com
|
||||
@@ -26,13 +25,13 @@ window._ = require('lodash');
|
||||
* for JavaScript based Bootstrap features such as modals and tabs. This
|
||||
* code may be modified to fit the specific needs of your application.
|
||||
*/
|
||||
|
||||
try {
|
||||
window.Popper = require('popper.js').default;
|
||||
window.$ = window.jQuery = require('jquery');
|
||||
|
||||
require('bootstrap');
|
||||
} catch (e) {}
|
||||
require('bootstrap/dist/js/bootstrap.bundle.js');
|
||||
} catch (e) {
|
||||
console.error('No bootstrap?');
|
||||
}
|
||||
|
||||
/**
|
||||
* We'll load the axios HTTP library which allows us to easily issue requests
|
||||
@@ -58,6 +57,8 @@ if (token) {
|
||||
console.error('CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token');
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Echo exposes an expressive API for subscribing to channels and listening
|
||||
* for events that are broadcast by Laravel. Echo and event broadcasting
|
||||
|
Reference in New Issue
Block a user