Update JS

This commit is contained in:
James Cole
2018-08-24 21:14:04 +02:00
parent e775927f60
commit 20490fcd80
3 changed files with 1 additions and 49 deletions

2
public/js/app.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -37,21 +37,3 @@ 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
* 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 */

View File

@@ -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;