Showing 88 of 611 total issues
File datepicker.spec.js
has 1346 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
'use strict';
describe('datepicker', function() {
var bodyEl = $('body'), sandboxEl;
- Create a ticketCreate a ticket
File tooltip.spec.js
has 1190 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
'use strict';
/* global countScopes */
describe('tooltip', function() {
- Create a ticketCreate a ticket
File timepicker.spec.js
has 1065 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
'use strict';
describe('timepicker', function() {
var $compile, $templateCache, $animate, $timepicker, dateFilter, scope, sandboxEl, today, $timeout;
- Create a ticketCreate a ticket
Function $get
has 502 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.$get = function ($window, $rootScope, $bsCompiler, $q, $templateCache, $http, $animate, $sce, dimensions, $$rAF, $timeout) {
var isNative = /(ip[ao]d|iphone|android)/ig.test($window.navigator.userAgent);
var isTouch = ('createTouch' in $window.document) && isNative;
var $body = angular.element($window.document);
- Create a ticketCreate a ticket
Function TooltipFactory
has 490 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function TooltipFactory (element, config) {
var $tooltip = {};
// Common vars
- Create a ticketCreate a ticket
File modal.spec.js
has 775 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
'use strict';
describe('modal', function() {
var bodyEl = $('body'), sandboxEl;
- Create a ticketCreate a ticket
Function $get
has 319 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.$get = function ($window, $document, $rootScope, $sce, $dateFormatter, $tooltip, $timeout) {
var isNative = /(ip[ao]d|iphone|android)/ig.test($window.navigator.userAgent);
var isTouch = ('createTouch' in $window.document) && isNative;
if (!defaults.lang) {
- Create a ticketCreate a ticket
Function timepickerFactory
has 310 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function timepickerFactory (element, controller, config) {
var $timepicker = $tooltip(element, angular.extend({}, defaults, config));
var parentScope = config.scope;
var options = $timepicker.$options;
- Create a ticketCreate a ticket
Function $get
has 297 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.$get = function ($window, $rootScope, $bsCompiler, $animate, $timeout, $sce, dimensions) {
var forEach = angular.forEach;
var requestAnimationFrame = $window.requestAnimationFrame || $window.setTimeout;
var bodyElement = angular.element($window.document.body);
- Create a ticketCreate a ticket
File typeahead.spec.js
has 658 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
'use strict';
describe('typeahead', function () {
var $compile, $templateCache, $typeahead, scope, sandboxEl, $q, $animate, $timeout, $$rAF;
- Create a ticketCreate a ticket
File select.spec.js
has 656 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
'use strict';
describe('select', function () {
var $compile, $templateCache, $select, scope, sandboxEl, $timeout, $animate, $window;
- Create a ticketCreate a ticket
File tooltip.js
has 635 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
'use strict';
angular.module('mgcrea.ngStrap.tooltip', ['mgcrea.ngStrap.core', 'mgcrea.ngStrap.helpers.dimensions'])
.provider('$tooltip', function () {
- Create a ticketCreate a ticket
Function ModalFactory
has 278 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ModalFactory (config) {
var $modal = {};
// Common vars
- Create a ticketCreate a ticket
File popover.spec.js
has 580 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
'use strict';
describe('popover', function () {
var $compile, $templateCache, scope, sandboxEl, $window, $timeout, $popover, $animate;
- Create a ticketCreate a ticket
File datepicker.js
has 549 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
'use strict';
angular.module('mgcrea.ngStrap.datepicker', [
'mgcrea.ngStrap.helpers.dateParser',
'mgcrea.ngStrap.helpers.dateFormatter',
- Create a ticketCreate a ticket
Function $get
has 208 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.$get = function ($window, $document, $rootScope, $tooltip, $timeout) {
// var bodyEl = angular.element($window.document.body);
var isNative = /(ip[ao]d|iphone|android)/ig.test($window.navigator.userAgent);
var isTouch = ('createTouch' in $window.document) && isNative;
- Create a ticketCreate a ticket
Function SelectFactory
has 202 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function SelectFactory (element, controller, config) {
var $select = {};
// Common vars
- Create a ticketCreate a ticket
Function $get
has 201 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.$get = function ($locale, dateFilter) {
var DateParserFactory = function (config) {
var options = angular.extend({}, defaults, config);
- Create a ticketCreate a ticket
Function DateParserFactory
has 198 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var DateParserFactory = function (config) {
var options = angular.extend({}, defaults, config);
var $dateParser = {};
- Create a ticketCreate a ticket
File timepicker.js
has 481 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
'use strict';
angular.module('mgcrea.ngStrap.timepicker', ['mgcrea.ngStrap.helpers.dateParser', 'mgcrea.ngStrap.helpers.dateFormatter', 'mgcrea.ngStrap.tooltip'])
.provider('$timepicker', function () {
- Create a ticketCreate a ticket