GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — master ( da5f76...59bb8c )
by Keith
76:35
created

demo/v2/js/controller/29range-selection.js   A

Complexity

Total Complexity 10
Complexity/F 1.11

Size

Lines of Code 37
Function Count 9

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 25
dl 0
loc 37
rs 10
c 0
b 0
f 0
wmc 10
mnd 1
bc 1
fnc 9
bpm 0.1111
cpm 1.1111
noi 1

1 Function

Rating   Name   Duplication   Size   Complexity  
A 29range-selection.js ➔ Initialize 0 4 2
1
"use strict";
2
app.controller('rangeController', ['$scope', 'Security', function ($scope, Security, $rootScope) {
3
    $scope.directiveScopeDict = {};
4
    function Initialize(){
5
        $scope.deptRange = {};
6
        $scope.deptRange2 = {};
7
    }
8
    Initialize();
9
10
    $scope.EventListener = function(scope, iElement, iAttrs, controller){
11
        console.log("<"+iElement[0].tagName+">" +" Directive overried EventListener()");
0 ignored issues
show
Debugging Code introduced by
console.log looks like debug code. Are you sure you do not want to remove it?
Loading history...
12
        var prgmID = scope.programId;
13
		var tagName = iElement[0].tagName;
14
        if($scope.directiveScopeDict[prgmID] == null || typeof($scope.directiveScopeDict[prgmID]) == "undefined"){
15
          $scope.directiveScopeDict[prgmID] = scope;
16
        }
17
		
18
        iElement.ready(function() {
19
        })
20
    }
21
22
    $scope.SetDefaultValue = function(scope, iElement, iAttrs, controller){
23
    }
24
25
    $scope.StatusChange = function(fieldName, newValue, newObj, scope, iElement, iAttrs, controller){
26
    }
27
28
    $scope.ValidateBuffer = function(scope, iElement, iAttrs, controller){
29
        return true;
30
    }
31
32
    $scope.CustomSelectedToRecord = function(sRecord, rowScope, scope, iElement, controller){
33
    }
34
35
    $scope.CustomSubmitDataResult = function(responseObj, httpStatusCode, scope, element, attrs, ctrl){
36
    }
37
}]);