Showing 51 of 177 total issues
Function Jcrop
has 1301 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.Jcrop = function (obj, opt) {
var options = $.extend({}, $.Jcrop.defaults),
docOffset,
_ua = navigator.userAgent.toLowerCase(),
is_msie = /msie/.test(_ua),
File Jcrop.js
has 2042 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*! Jcrop.js v2.0.4 - build: 20151117
* @copyright 2008-2015 Tapmodo Interactive LLC
* @license Free software under MIT License
* @website http://jcrop.org/
**/
File bootstrap-datetimepicker.js
has 1707 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/* =========================================================
* bootstrap-datetimepicker.js
* =========================================================
* Copyright 2012 Stefan Petre
*
File jquery.Jcrop.js
has 1386 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* jquery.Jcrop.js v0.9.12
* jQuery Image Cropping Plugin - released under MIT License
* Author: Kelly Hallman <khallman@gmail.com>
* http://github.com/tapmodo/Jcrop
File gmaps_google.js
has 793 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
(function() {
this.Gmaps = {
build: function(type, options) {
var model;
if (options == null) {
Function Coords
has 244 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var Coords = (function () {
var x1 = 0,
y1 = 0,
x2 = 0,
y2 = 0,
Function Modernizr
has 240 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var Modernizr = (function( window, document, undefined ) {
var version = '2.7.1',
Modernizr = {},
Function Selection
has 215 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var Selection = (function () {
var awake,
hdep = 370,
borders = {},
handle = {},
Function click
has 185 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
click: function (e) {
e.stopPropagation();
e.preventDefault();
var target = $(e.target).closest('span, td, th, legend');
if (target.is('.' + this.icontype)) {
Function Datetimepicker
has 168 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var Datetimepicker = function (element, options) {
var that = this;
this.element = $(element);
Function fill
has 165 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
fill: function () {
if (this.date == null || this.viewDate == null) {
return;
}
var d = new Date(this.viewDate),
Function Handler
has 161 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.Gmaps.Objects.Handler = (function() {
function Handler(type, options) {
this.type = type;
if (options == null) {
options = {};
Function parseDate
has 143 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
parseDate: function (date, format, language, type, timezone) {
if (date instanceof Date) {
var dateUTC = new Date(date.valueOf() - date.getTimezoneOffset() * 60000);
dateUTC.setMilliseconds(0);
return dateUTC;
Function keydown
has 123 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
keydown: function (e) {
if (this.picker.is(':not(:visible)')) {
if (e.keyCode == 27) // allow escape to hide and re-show picker
this.show();
return;
Function Shade
has 110 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var Shade = (function() {
var enabled = false,
holder = $('<div />').css({
position: 'absolute',
zIndex: 240,
Function Marker
has 104 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.Gmaps.Google.Builders.Marker = (function(_super) {
__extends(Marker, _super);
Marker.CURRENT_INFOWINDOW = void 0;
Function getFixed
has 84 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function getFixed() //{{{
{
if (!options.aspectRatio) {
return getRect();
}
Function formatDate
has 77 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
formatDate: function (date, format, language, type, timezone) {
if (date == null) {
return '';
}
var val;
Function Tracker
has 74 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var Tracker = (function () {
var onMove = function () {},
onDone = function () {},
trackDoc = options.trackDocument;
Function KeyManager
has 72 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var KeyManager = (function () {
var $keymgr = $('<input type="radio" />').css({
position: 'fixed',
left: '-120px',
width: '12px'