stubs/js/bootstrap.js   A
last analyzed

Complexity

Total Complexity 0
Complexity/F 0

Size

Lines of Code 30
Function Count 0

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
wmc 0
dl 0
loc 30
rs 10
c 0
b 0
f 0
cc 0
nc 1
mnd 0
bc 0
fnc 0
bpm 0
cpm 0
noi 0
1
2
window._ = require('lodash');
3
4
/**
5
 * We'll load jQuery and the Bootstrap jQuery plugin which provides support
6
 * for JavaScript based Bootstrap features such as modals and tabs. This
7
 * code may be modified to fit the specific needs of your application.
8
 */
9
10
window.$ = window.jQuery = require('jquery');
11
12
/**
13
 * Vue is a modern JavaScript library for building interactive web interfaces
14
 * using reactive data binding and reusable components. Vue's API is clean
15
 * and simple, leaving you to focus on building your next great project.
16
 */
17
18
window.Vue = require('vue');
19
20
/**
21
 * We'll load the axios HTTP library which allows us to easily issue requests
22
 * to our Laravel back-end. This library automatically handles sending the
23
 * CSRF token as a header based on the value of the "XSRF" token cookie.
24
 */
25
26
window.axios = require('axios');
27
28
window.axios.defaults.headers.common = {
29
    'X-CSRF-TOKEN': window.Laravel.csrfToken,
30
    'X-Requested-With': 'XMLHttpRequest'
31
};
32
33
/**
34
 * Echo exposes an expressive API for subscribing to channels and listening
35
 * for events that are broadcast by Laravel. Echo and event broadcasting
36
 * allows your team to easily build robust real-time web applications.
37
 */
38
39
// import Echo from "laravel-echo"
40
41
// window.Echo = new Echo({
42
//     broadcaster: 'pusher',
43
//     key: 'your-pusher-key'
44
// });
45