public/assets/js/app.js   A
last analyzed

Complexity

Conditions 1
Paths 4

Size

Total Lines 9

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 4
nop 0
dl 0
loc 9
rs 9.6666
c 0
b 0
f 0

2 Functions

Rating   Name   Duplication   Size   Complexity  
A fs.on 0 3 1
A fs.trigger 0 3 1
1
var fs = window.fs||{};
2
3
(function(){
4
    fs.trigger=function(event, ele){
5
        $(ele||window).trigger(event);
6
    };
7
8
    fs.on=function(event, callback, ele){
9
        $(ele||window).on(event, callback);
10
    };
11
})();