app/js/components/angular-idle.js
Function $get
has 139 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function($interval, $log, $rootScope, $document, Keepalive, LocalStorage, $window) {
var state = {
idle: null,
timeout: null,
idling: false,
File angular-idle.js
has 343 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*** Directives and services for responding to idle users in AngularJS
* @author Mike Grabski <me@mikegrabski.com>
* @version v1.1.0
* @link https://github.com/HackedByChinese/ng-idle.git
* @license MIT
Function $get
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function($rootScope, $log, $interval, $http) {
var state = {
ping: null
};
Function $get
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function($interval, $log, $rootScope, $document, Keepalive, LocalStorage, $window) {