Part-DB.Part-DB-server/assets/js/app.js

40 lines
1.3 KiB
JavaScript
Raw Normal View History

2019-11-01 13:40:30 +01:00
/*
2020-02-22 18:14:36 +01:00
* This file is part of Part-DB (https://github.com/Part-DB/Part-DB-symfony).
2019-11-01 13:40:30 +01:00
*
2020-02-22 18:14:36 +01:00
* Copyright (C) 2019 - 2020 Jan Böhmer (https://github.com/jbtronics)
2019-11-01 13:40:30 +01:00
*
2020-02-22 18:14:36 +01:00
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
2019-11-01 13:40:30 +01:00
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2020-02-22 18:14:36 +01:00
* GNU Affero General Public License for more details.
2019-11-01 13:40:30 +01:00
*
2020-02-22 18:14:36 +01:00
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
2019-11-01 13:40:30 +01:00
*/
2022-03-04 20:59:08 +01:00
// Main CSS files
import '../css/app.css';
// start the Stimulus application
import '../bootstrap';
// Need jQuery? Install it with "yarn add jquery", then uncomment to require it.
const $ = require('jquery');
//Only include javascript
import '@fortawesome/fontawesome-free/css/all.css'
2022-03-04 20:59:08 +01:00
require('bootstrap');
2022-03-05 23:09:55 +01:00
import "./error_handler";
import "./tab_remember";
2022-03-05 23:28:29 +01:00
import "./register_events";
import "./tristate_checkboxes";
2022-03-05 23:09:55 +01:00
//Define jquery globally
2022-08-03 22:54:46 +02:00
window.$ = window.jQuery = require("jquery")