Issues (119)

assets/js/laravel-h5p-editor.js (1 issue)

Labels
Severity
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
The variable H5P seems to be never declared. If this is a global, consider adding a /** global: H5P */ comment.

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.

Loading history...
21