Showing 208 of 10,177 total issues
Function finish
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
finish: function( type ) {
if ( type !== false ) {
type = type || "fx";
}
return this.each( function() {
- Create a ticketCreate a ticket
Function parseHTML
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
jQuery.parseHTML = function( data, context, keepScripts ) {
if ( typeof data !== "string" ) {
return [];
}
if ( typeof context === "boolean" ) {
- Create a ticketCreate a ticket
Function off
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
off: function( types, selector, fn ) {
var handleObj, type;
if ( types && types.preventDefault && types.handleObj ) {
// ( event ) dispatched jQuery.Event
- Create a ticketCreate a ticket
Function checkPosition
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Affix.prototype.checkPosition = function () {
if (!this.$element.is(':visible')) return
var height = this.$element.height()
var offset = this.options.offset
- Create a ticketCreate a ticket
Function buildPathname
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var buildPathname = function(template, params) {
if ((/:([^\/\.-]+)(\.{3})?:/).test(template)) {
throw new SyntaxError("Template parameter names *must* be separated")
}
if (params == null) return template
- Create a ticketCreate a ticket
Function propFilter
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function propFilter( props, specialEasing ) {
var index, name, easing, value, hooks;
// camelCase, specialEasing and expand cssHook pass
for ( index in props ) {
- Create a ticketCreate a ticket
Function when
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
when: function( singleValue ) {
var
// count of uncompleted subordinates
remaining = arguments.length,
- Create a ticketCreate a ticket
Function clone
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
clone: function( elem, dataAndEvents, deepDataAndEvents ) {
var i, l, srcElements, destElements,
clone = elem.cloneNode( true ),
inPage = jQuery.contains( elem.ownerDocument, elem );
- Create a ticketCreate a ticket
Function addClass
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
addClass: function( value ) {
var classes, elem, cur, curValue, clazz, j, finalValue,
i = 0;
if ( jQuery.isFunction( value ) ) {
- Create a ticketCreate a ticket
Function refresh
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ScrollSpy.prototype.refresh = function () {
var that = this
var offsetMethod = 'offset'
var offsetBase = 0
- Create a ticketCreate a ticket
Function remove
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
remove: function( owner, key ) {
var i,
cache = owner[ this.expando ];
if ( cache === undefined ) {
- Create a ticketCreate a ticket
Function loadBranchesBase
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
loadBranchesBase(proj_id, page, all_branches) {
const params = {
page: page,
per_page: this.per_page
};
- Create a ticketCreate a ticket
Function oninit
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
oninit: function() {
const config = new Config(localStorage);
this.projects = config.projects;
this.new_milli_seconds = config.newMarkMinute * 60 * 1000;
- Create a ticketCreate a ticket
Function hide
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Collapse.prototype.hide = function () {
if (this.transitioning || !this.$element.hasClass('in')) return
var startEvent = $.Event('hide.bs.collapse')
this.$element.trigger(startEvent)
- Create a ticketCreate a ticket
Function augmentWidthOrHeight
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) {
var i,
val = 0;
// If we already have the right measurement, avoid augmentation
- Create a ticketCreate a ticket
Function next
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function next() {
$active
.removeClass('active')
.find('> .dropdown-menu > .active')
.removeClass('active')
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if ( support.matchesSelector && documentIsHTML &&
!compilerCache[ expr + " " ] &&
( !rbuggyMatches || !rbuggyMatches.test( expr ) ) &&
( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) {
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if (key === "key" || key === "is" || value == null || isLifecycleMethod(key) || (old === value && !isFormAttribute(vnode3, key)) && typeof value !== "object") return
- Create a ticketCreate a ticket
Function access
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
var access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
- Create a ticketCreate a ticket
Function createNodes
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function createNodes(parent, vnodes, start, end, hooks, nextSibling, ns) {
- Create a ticketCreate a ticket