1 | /* |
||
2 | * |
||
3 | * @Project |
||
4 | * @Copyright Djoudi |
||
5 | * @Created 2018-02-20 |
||
6 | * @Filename laravel-h5p-editor.js |
||
7 | * @Description |
||
8 | * |
||
9 | */ |
||
10 | (function ($) { |
||
11 | |||
12 | // setting for inside editor |
||
13 | $.ajaxSetup({ |
||
14 | headers: { |
||
15 | 'X-CSRF-TOKEN': window.parent.Laravel.csrfToken |
||
16 | }, |
||
17 | dataType: 'json', |
||
18 | }); |
||
19 | |||
20 | })(H5P.jQuery); |
||
0 ignored issues
–
show
|
|||
21 |
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.