Skip to content

Commit

Permalink
Adjust code style in JS files
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaszkadziela committed May 3, 2024
1 parent 8c85b14 commit 329c081
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions resources/js/app.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import './bootstrap';
import Alpine from 'alpinejs';
import './bootstrap'
import Alpine from 'alpinejs'
import.meta.glob([
'../images/**',
]);
])

window.Alpine = Alpine;
window.Alpine = Alpine

Alpine.start();
Alpine.start()
6 changes: 3 additions & 3 deletions resources/js/bootstrap.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import axios from 'axios';
window.axios = axios;
import axios from 'axios'
window.axios = axios

window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'

0 comments on commit 329c081

Please sign in to comment.