Showing 483 of 2,557 total issues
Function $get
has 270 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.$get = ['$window', '$compile', '$timeout', '$document', '$position', '$interpolate', '$rootScope', '$parse', function($window, $compile, $timeout, $document, $position, $interpolate, $rootScope, $parse) {
return function $tooltip(type, prefix, defaultTriggerShow, options) {
options = angular.extend({}, defaultOptions, globalOptions, options);
/**
Function $tooltip
has 268 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
return function $tooltip(type, prefix, defaultTriggerShow, options) {
options = angular.extend({}, defaultOptions, globalOptions, options);
/**
* Returns an object of show and hide triggers.
Function $tooltip
has 268 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
return function $tooltip(type, prefix, defaultTriggerShow, options) {
options = angular.extend({}, defaultOptions, globalOptions, options);
/**
* Returns an object of show and hide triggers.
Function link
has 248 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
link: function(scope, element, attrs, ngModel) {
var dateFormat,
closeOnDateSelection = angular.isDefined(attrs.closeOnDateSelection) ? scope.$parent.$eval(attrs.closeOnDateSelection) : datepickerPopupConfig.closeOnDateSelection,
appendToBody = angular.isDefined(attrs.datepickerAppendToBody) ? scope.$parent.$eval(attrs.datepickerAppendToBody) : datepickerPopupConfig.appendToBody,
onOpenFocus = angular.isDefined(attrs.onOpenFocus) ? scope.$parent.$eval(attrs.onOpenFocus) : datepickerPopupConfig.onOpenFocus,
Function link
has 248 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
link: function(scope, element, attrs, ngModel) {
var dateFormat,
closeOnDateSelection = angular.isDefined(attrs.closeOnDateSelection) ? scope.$parent.$eval(attrs.closeOnDateSelection) : datepickerPopupConfig.closeOnDateSelection,
appendToBody = angular.isDefined(attrs.datepickerAppendToBody) ? scope.$parent.$eval(attrs.datepickerAppendToBody) : datepickerPopupConfig.appendToBody,
onOpenFocus = angular.isDefined(attrs.onOpenFocus) ? scope.$parent.$eval(attrs.onOpenFocus) : datepickerPopupConfig.onOpenFocus,
File libraryCtrl.js
has 577 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/* Copyright (C) Relevance Lab Private Limited- All Rights Reserved
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
* Written by Relevance UI Team,
* Feb 2017
Function init
has 242 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
disResrc.init=function () {
if(fltrObj && fltrObj.provider && fltrObj.provider.id) {
disResrc.getAllTagNames();
$scope.instLoader=true;
$timeout(function () {
Function compile
has 236 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
compile: function(tElem, tAttrs) {
var tooltipLinker = $compile( template );
return function link(scope, element, attrs, tooltipCtrl) {
var tooltip;
Function compile
has 236 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
compile: function(tElem, tAttrs) {
var tooltipLinker = $compile( template );
return function link(scope, element, attrs, tooltipCtrl) {
var tooltip;
Function link
has 233 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
return function link(scope, element, attrs, tooltipCtrl) {
var tooltip;
var tooltipLinkedScope;
var transitionTimeout;
var popupTimeout;
Function link
has 233 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
return function link(scope, element, attrs, tooltipCtrl) {
var tooltip;
var tooltipLinkedScope;
var transitionTimeout;
var popupTimeout;
File workzoneServices.js
has 542 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/* Copyright (C) Relevance Lab Private Limited- All Rights Reserved
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
* Written by Relevance UI Team,
* Aug 2015
Function toastr
has 221 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function toastr($animate, $injector, $document, $rootScope, $sce, toastrConfig, $q) {
var container;
var index = 0;
var toasts = [];
Function bindMouse
has 221 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Terminal.prototype.bindMouse = function() {
var el = this.element
, self = this
, pressed = 32;
Function init
has 217 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.init = function() {
localeId = $locale.id;
this.parsers = {};
this.formatters = {};
Function exports
has 212 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
bower: {
install: {}
File chefSelectorComponent.js
has 504 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/* Copyright (C) Relevance Lab Private Limited- All Rights Reserved
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
* Written by Relevance UI Team,
* Aug 2015
Function 5
has 199 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{}],5:[function(_dereq_,module,exports){
/**
* Module dependencies.
*/
Function 17
has 198 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"./polling":18,"component-inherit":21}],17:[function(_dereq_,module,exports){
(function (global){
/**
* Module requirements.
*/
Function keyDown
has 191 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Terminal.prototype.keyDown = function(ev) {
var self = this
, key;
switch (ev.keyCode) {