mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-01 03:29:33 +00:00
Update JS
This commit is contained in:
2
public/js/app.js
vendored
2
public/js/app.js
vendored
File diff suppressed because one or more lines are too long
18
resources/assets/js/bootstrap.js
vendored
18
resources/assets/js/bootstrap.js
vendored
@@ -37,21 +37,3 @@ if (token) {
|
|||||||
console.error('CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-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
|
|
||||||
* allows your team to easily build robust real-time web applications.
|
|
||||||
*/
|
|
||||||
//
|
|
||||||
// import Echo from 'laravel-echo'
|
|
||||||
//
|
|
||||||
// window.Pusher = require('pusher-js');
|
|
||||||
//
|
|
||||||
// window.Echo = new Echo({
|
|
||||||
// broadcaster: 'pusher',
|
|
||||||
// key: 'your-pusher-key',
|
|
||||||
// cluster: 'mt1',
|
|
||||||
// encrypted: true
|
|
||||||
// });
|
|
||||||
|
|
||||||
/** Include font awesome */
|
|
||||||
|
|||||||
30
resources/assets/js/lang.js
vendored
30
resources/assets/js/lang.js
vendored
@@ -1,30 +0,0 @@
|
|||||||
/*
|
|
||||||
* lang.js
|
|
||||||
* Copyright (c) 2018 thegrumpydictator@gmail.com
|
|
||||||
*
|
|
||||||
* This file is part of Firefly III.
|
|
||||||
*
|
|
||||||
* Firefly III is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* Firefly III 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
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Inside my /resources/assets/js/lang.js
|
|
||||||
import lang from 'lang.js';
|
|
||||||
import messages from './messages';
|
|
||||||
|
|
||||||
const Lang = new lang({messages});
|
|
||||||
|
|
||||||
Lang.setLocale(window.language);
|
|
||||||
Lang.setFallback('en_US');
|
|
||||||
|
|
||||||
export default Lang;
|
|
||||||
Reference in New Issue
Block a user