src/resources/assets/js/mixins/Ajax.js   A
last analyzed

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 12
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 0
nc 1
dl 0
loc 12
rs 10
c 0
b 0
f 0
wmc 1
mnd 0
bc 1
fnc 1
bpm 1
cpm 1
noi 1

1 Function

Rating   Name   Duplication   Size   Complexity  
A ???.data 0 8 1
1
Vue.use(require('vue-resource'));
1 ignored issue
show
Bug introduced by
The variable Vue seems to be never declared. If this is a global, consider adding a /** global: Vue */ 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...
2
3
export default {
4
    data: function () {
5
        return {
6
            /**
7
             * Current ajax implementation.
8
             */
9
            ajax: this.$http
10
        }
11
    },
12
}
13