Showing 181 of 235 total issues
Function runInContext
has 3983 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function runInContext(context) {
// Avoid issues with some ES3 environments that attempt to use values, named
// after built-in constructors like `Object`, for the creation of literals.
// ES5 clears this up by stating that literals must use built-in constructors.
// See https://es5.github.io/#x11.1.5 for more details.
File lodash.js
has 4333 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* @license
* lodash 3.10.0 (Custom Build) <https://lodash.com/>
* Build: `lodash modern -o ./lodash.js`
* Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
File angular-animate.js
has 2040 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* @license AngularJS v1.4.3
* (c) 2010-2015 Google, Inc. http://angularjs.org
* License: MIT
*/
Function $translate
has 917 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function $translate($STORAGE_KEY, $windowProvider, $translateSanitizationProvider, pascalprechtTranslateOverrider) {
'use strict';
var $translationTable = {},
File angular-translate.js
has 1340 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* angular-translate - v2.7.2 - 2015-06-01
* http://github.com/angular-translate/angular-translate
* Copyright (c) 2015 ; Licensed MIT
*/
Function init
has 549 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Configurer.init = function(object, config) {
object.configuration = config;
/**
* Those are HTTP safe methods for which there is no need to pass any data with the request.
Function init
has 549 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Configurer.init = function(object, config) {
object.configuration = config;
/**
* Those are HTTP safe methods for which there is no need to pass any data with the request.
Function $get
has 545 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ($log, $injector, $rootScope, $q) {
var Storage,
defaultInterpolator = $injector.get($interpolationFactory || '$translateDefaultInterpolation'),
pendingLoader = false,
File restangular.js
has 1044 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
(function() {
var restangular = angular.module('restangular', []);
restangular.provider('Restangular', function() {
File restangular.js
has 1043 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* Restful Resources service for AngularJS apps
* @version v1.4.0 - 2015-04-03 * @link https://github.com/mgonto/restangular
* @author Martin Gontovnikas <martin@gon.to>
* @license MIT License, http://www.opensource.org/licenses/MIT
Function $get
has 483 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.$get = ['$http', '$q', function($http, $q) {
function createServiceForConfiguration(config) {
var service = {};
Function $get
has 483 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.$get = ['$http', '$q', function($http, $q) {
function createServiceForConfiguration(config) {
var service = {};
Function createServiceForConfiguration
has 480 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function createServiceForConfiguration(config) {
var service = {};
var urlHandler = new config.urlCreatorFactory[config.urlCreator]();
urlHandler.setConfig(config);
Function createServiceForConfiguration
has 480 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function createServiceForConfiguration(config) {
var service = {};
var urlHandler = new config.urlCreatorFactory[config.urlCreator]();
urlHandler.setConfig(config);
Function $$AnimateQueueProvider
has 411 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var $$AnimateQueueProvider = ['$animateProvider', function($animateProvider) {
var PRE_DIGEST_STATE = 1;
var RUNNING_STATE = 2;
var rules = this.rules = {
Function $AnimateCssProvider
has 398 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var $AnimateCssProvider = ['$animateProvider', function($animateProvider) {
var gcsLookup = createLocalCacheLookup();
var gcsStaggerLookup = createLocalCacheLookup();
this.$get = ['$window', '$$jqLite', '$$AnimateRunner', '$timeout',
Function $get
has 391 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function($window, $$jqLite, $$AnimateRunner, $timeout,
$document, $sniffer, $$rAFScheduler) {
var applyAnimationClasses = applyAnimationClassesFactory($$jqLite);
Function $get
has 365 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function($$rAF, $rootScope, $rootElement, $document, $$HashMap,
$$animation, $$AnimateRunner, $templateRequest, $$jqLite) {
var activeAnimationsLookup = new $$HashMap();
var disabledElementsLookup = new $$HashMap();
Function init
has 327 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function init(element, options) {
var node = getDomNode(element);
if (!node || !node.parentNode) {
return closeAndReturnNoopAnimator();
}
Function $$AnimationProvider
has 254 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var $$AnimationProvider = ['$animateProvider', function($animateProvider) {
var NG_ANIMATE_REF_ATTR = 'ng-animate-ref';
var drivers = this.drivers = [];